Skip to content

Commit bba9f7d

Browse files
Fixes typos in many different English articles
Signed-off-by: Marcel Ribeiro-Dantas <[email protected]>
1 parent 354fe6f commit bba9f7d

37 files changed

+88
-88
lines changed

ansible.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ for, which provides an excellent UI.
4444
#### Cons
4545

4646
* It is an agent-less tool - every agent consumes up to 16MB ram - in some
47-
environments, it may be noticable amount.
47+
environments, it may be noticeable amount.
4848
* It is agent-less - you have to verify your environment consistency
4949
'on-demand' - there is no built-in mechanism that would warn you about some
5050
change automatically (this can be achieved with reasonable effort)
@@ -691,7 +691,7 @@ to specify the username.
691691

692692
Note: You may like to execute Ansible with `--ask-sudo-pass` or add the user to
693693
sudoers file in order to allow non-supervised execution if you require 'admin'
694-
privilages.
694+
privileges.
695695

696696
[Read more](http://docs.ansible.com/ansible/latest/become.html)
697697

c.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ int main (int argc, char** argv)
256256

257257
// Floating-point numbers are defined by IEEE 754, thus cannot store perfectly
258258
// exact values. For instance, the following does not produce expected results
259-
// because 0.1 might actually be 0.099999999999 insided the computer, and 0.3
259+
// because 0.1 might actually be 0.099999999999 inside the computer, and 0.3
260260
// might be stored as 0.300000000001.
261261
(0.1 + 0.1 + 0.1) != 0.3; // => 1 (true)
262262
// and it is NOT associative due to reasons mentioned above.

citron.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ False not. # True
6868
###########################################
6969

7070
# You may assign values to the current scope:
71-
var name is value. # assignes `value` into `name`
71+
var name is value. # assigns `value` into `name`
7272

7373
# You may also assign values into the current object's namespace
7474
my name is value. # assigns `value` into the current object's `name` property
@@ -146,7 +146,7 @@ add(3, 5). # 8
146146

147147
3 `add` 5. # 8
148148
# This call binds as such: add[(3), 5]
149-
# because the default fixity is left, and the default precedance is 1
149+
# because the default fixity is left, and the default precedence is 1
150150

151151
# You may change the precedence/fixity of this operator with a pragma
152152
#:declare infixr 1 add

directx9.html.markdown

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, Di
1212
Direct3D (the 3D graphics API within DirectX) is widely used in the development of video games for Microsoft
1313
Windows and the Xbox line of consoles.<sup>[1]</sup>
1414

15-
In this tutorial we will be focusing on DirectX 9, which is not as low-level as it's sucessors, which are aimed at programmers very familiar with how graphics hardware works. It makes a great starting point for learning Direct3D. In this tutorial I will be using the Win32-API for window handling and the DirectX 2010 SDK.
15+
In this tutorial we will be focusing on DirectX 9, which is not as low-level as it's successors, which are aimed at programmers very familiar with how graphics hardware works. It makes a great starting point for learning Direct3D. In this tutorial I will be using the Win32-API for window handling and the DirectX 2010 SDK.
1616

1717
## Window creation
1818

@@ -125,7 +125,7 @@ bool InitD3D(HWND hWnd) {
125125
pp.hDeviceWindow = hWnd; // associated window handle
126126
pp.Windowed = true; // display in window mode
127127
pp.Flags = 0; // no special flags
128-
// Variable to store results of methods to check if everything succeded.
128+
// Variable to store results of methods to check if everything succeeded.
129129
HRESULT result{ };
130130
result = _d3d->CreateDevice(D3DADAPTER_DEFAULT, // use default graphics card
131131
D3DDEVTYPE_HAL, // use hardware acceleration
@@ -144,7 +144,7 @@ bool InitD3D(HWND hWnd) {
144144
viewport.Y = 0; // ..
145145
viewport.Width = clientRect.right; // use the entire window
146146
viewport.Height = clientRect.bottom; // ..
147-
viewport.MinZ = 0.0f; // minimun view distance
147+
viewport.MinZ = 0.0f; // minimum view distance
148148
viewport.MaxZ = 100.0f; // maximum view distance
149149
// Apply the created viewport.
150150
result = _device->SetViewport(&viewport);
@@ -157,7 +157,7 @@ bool InitD3D(HWND hWnd) {
157157
// ...
158158
// Back in our WinMain function we call our initialization function.
159159
// ...
160-
// Check if Direct3D initialization succeded, else exit the application.
160+
// Check if Direct3D initialization succeeded, else exit the application.
161161
if (!InitD3D(hWnd))
162162
return -1;
163163

@@ -197,7 +197,7 @@ Let's create a vertex buffer to store the vertices for our triangle
197197
#include <vector>
198198
// First we declare a new ComPtr holding a vertex buffer.
199199
ComPtr<IDirect3DVertexBuffer9> _vertexBuffer{ };
200-
// Lets define a funtion to calculate the byte size of a std::vector
200+
// Lets define a function to calculate the byte size of a std::vector
201201
template <typename T>
202202
unsigned int GetByteSize(const std::vector<T>& vec) {
203203
return sizeof(vec[0]) * vec.size();
@@ -253,7 +253,7 @@ if (!InitD3D(hWnd))
253253
return -1;
254254
// Define the vertices we need to draw a triangle.
255255
// Values are declared in a clockwise direction else Direct3D would cull them.
256-
// If you want to diable culling just call:
256+
// If you want to disable culling just call:
257257
// _device->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE);
258258
std::vector<VStruct> vertices {
259259
// Bottom left
@@ -274,7 +274,7 @@ if (!(_vertexBuffer = CreateBuffer(vertices)))
274274
Before we can use the vertex buffer to draw our primitives, we first need to set up the matrices.
275275

276276
```cpp
277-
// Lets create a new funtions for the matrix transformations.
277+
// Lets create a new functions for the matrix transformations.
278278
bool SetupTransform() {
279279
// Create a view matrix that transforms world space to
280280
// view space.
@@ -338,7 +338,7 @@ if (FAILED(result))
338338
// Create a world transformation matrix and set it to an identity matrix.
339339
D3DXMATRIX world{ };
340340
D3DXMatrixIdentity(&world);
341-
// Create a scalation matrix scaling our primitve by 10 in the x,
341+
// Create a scalation matrix scaling our primitive by 10 in the x,
342342
// 10 in the y and keeping the z direction.
343343
D3DXMATRIX scaling{ };
344344
D3DXMatrixScaling(&scaling, // matrix to scale
@@ -499,7 +499,7 @@ std::vector<D3DVERTEXELEMENT9> vertexDeclDesc {
499499
0, // byte offset from the struct beginning
500500
D3DDECLTYPE_FLOAT3, // data type (3d float vector)
501501
D3DDECLMETHOD_DEFAULT, // tessellator operation
502-
D3DDECLUSAGE_POSTION, // usage of the data
502+
D3DDECLUSAGE_POSITION, // usage of the data
503503
0 }, // index (multiples usage of the same type)
504504
{ 0,
505505
12, // byte offset (3 * sizeof(float) bytes)

docker.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ $docker build <path-to-dockerfile>
254254
```
255255

256256
## Push your image to DockerHub
257-
If you want your application's Docker image to be made publically available for
257+
If you want your application's Docker image to be made publicly available for
258258
any Docker user, you might wanna push it to the [Docker Hub](https://hub.docker.com/) which is a
259259
registry of Docker images. Make sure you have an account with a username and
260260
password on Docker Hub.

hdl.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It is used by circuit designers to simulate circuits and logic prior to wiring a
1212
HDL allows circuit designers to simulate circuits at a high level without being connected to specific components.
1313

1414
## Basic building blocks & introduction to the language---
15-
This programming language is built by simulating hardware chips and wiring. Normal programming functions are replaced with specialized chips that are added to the current wiring desing. Every base chip must be written as it's own file and imported to be used in the current chip, though they may be reused as often as desired.
15+
This programming language is built by simulating hardware chips and wiring. Normal programming functions are replaced with specialized chips that are added to the current wiring design. Every base chip must be written as it's own file and imported to be used in the current chip, though they may be reused as often as desired.
1616

1717
```verilog
1818
// Single line comments start with two forward slashes.
@@ -79,7 +79,7 @@ foo(in=a[0..7], out=c); // C is now a 2 bit internal bus
7979
8080
8181
// Note that internally defined busses cannot be subbussed!
82-
// To access these elements, output or input them seperately:
82+
// To access these elements, output or input them separately:
8383
foo(in[0]=false, in[1..7]=a[0..6], out[0]=out1, out[1]=out2);
8484
// out1 and out2 can then be passed into other circuits within the design.
8585

hjson.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Let's take a look at examples to see the key syntax differences!
5555
Oh wait.. there is! It's called Hjson.
5656
'''
5757
58-
# Backslashes are interpretted as an escape character ONLY in quoted strings
58+
# Backslashes are interpreted as an escape character ONLY in quoted strings
5959
slash: This will not have a new line\n
6060
slash-quoted: "This will definitely have a new line\n"
6161

javascript.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ function isEven(number) {
620620
};
621621

622622
// I put the word "equivalent" in double quotes because a function defined
623-
// using the lambda syntax cannnot be called before the definition.
623+
// using the lambda syntax cannot be called before the definition.
624624
// The following is an example of invalid usage:
625625

626626
add(1, 8);

jsonnet.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ assert obj5 == {};
131131
```
132132

133133
## Further Reading
134-
There are a few but important concepts that are not touched in this exmaple, including:
134+
There are a few but important concepts that are not touched in this example, including:
135135

136136
- Passing variables from command line: [Parameterize Entire Config](https://jsonnet.org/learning/tutorial.html#parameterize-entire-config)
137137
- Import other jsonnet libraries/files: [Imports](https://jsonnet.org/learning/tutorial.html#imports)

kdb+.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ select avg height by sex from t
560560
/ => f | 160
561561
/ => m | 177.5
562562
563-
/ If no aggreation function is specified, last is assumed
563+
/ If no aggregation function is specified, last is assumed
564564
select by sex from t
565565
/ => sex| name age height
566566
/ => ---| -----------------

0 commit comments

Comments
 (0)