Fix typos

This commit is contained in:
HairyFotr 2017-10-22 13:08:21 +02:00
parent b1a2733ed1
commit 8b68c424df
No known key found for this signature in database
GPG Key ID: E6EC696442BA5B10
22 changed files with 34 additions and 34 deletions

View File

@ -91,7 +91,7 @@ category: Ansible
vars:
local_home: "{{ lookup('env','HOME') }}"
## Refereneces
## References
* [Intro](http://www.ansibleworks.com/docs/intro_configuration.html)
* [Modules](http://www.ansibleworks.com/docs/modules.html)

View File

@ -103,7 +103,7 @@ var View = Backbone.View.extend({
render: function() { ··· }
})
```
### Instanciating
### Instantiating
```js
view = new View()
@ -141,7 +141,7 @@ var Model = Backbone.Model.extend({
})
```
### Instanciating
### Instantiating
```js
var obj = new Model({ title: 'Lolita', author: 'Nabokov' })

View File

@ -457,8 +457,8 @@ History
### Operations
| `!!:s/<FROM>/<TO>/` | Replace first occurence of `<FROM>` to `<TO>` in most recent command |
| `!!:gs/<FROM>/<TO>/` | Replace all occurences of `<FROM>` to `<TO>` in most recent command |
| `!!:s/<FROM>/<TO>/` | Replace first occurrence of `<FROM>` to `<TO>` in most recent command |
| `!!:gs/<FROM>/<TO>/` | Replace all occurrences of `<FROM>` to `<TO>` in most recent command |
| `!$:t` | Expand only basename from last parameter of most recent command |
| `!$:h` | Expand only directory from last parameter of most recent command |

View File

@ -26,7 +26,7 @@ This uses whatever system font is available. See: [System shock - Designing Medi
| `Roboto` | Android 4.0+ |
| `Oxygen` | Linux, KDE |
| `Ubuntu` | Linux, Ubuntu |
| `Cantarell` | Linux, Gnome |
| `Cantarell` | Linux, GNOME |
| `Fira Sans` | Firefox OS |
| `Droid Sans` | Android (until 3.2) |
| `Helvetica Neue` | OS X (10.9) |

View File

@ -228,11 +228,11 @@ Field Quick Reference:
| 1 | Record type |
| 2 | Validity |
| 3 | Key length in bits |
| 4 | Public key algoritm |
| 4 | Public key algorithm |
| 5 | Key ID |
| 6 | Creation date |
| 7 | Expiry date |
| 8 | Certifcate S/N, UID hash, trust signature info |
| 8 | Certificate S/N, UID hash, trust signature info |
| 9 | Ownertrust |
| 10 | User ID |
| 11 | Signature class |

2
go.md
View File

@ -176,7 +176,7 @@ if _, err := getResult(); err != nil {
```
{: data-line="1"}
A condition in an `if` statement can be preceeded with a statement before a `;`.
A condition in an `if` statement can be preceded with a statement before a `;`.
See: [If with a short statement](https://tour.golang.org/flowcontrol/6)

View File

@ -71,7 +71,7 @@ gremlins.createHorde()
```
{: data-line="2,6"}
### Asyncronous
### Asynchronous
```js
gremlins.createHorde()

View File

@ -100,7 +100,7 @@ Only do this if you're not placing the site in the root!
</div>
<![endif]-->
### HTML Compatiblity inspector
### HTML Compatibility inspector
<script src="http://ie.microsoft.com/testdrive/HTML5/CompatInspector/inspector.js"></script>

View File

@ -13,7 +13,7 @@ Not for checkboxes, radios, multi-select lists. Use the `click` handler instead.
* [(1)](http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/LabelForWithImage.html)
### IE8: an element's 'opacity' value isn't propogated to its positioned descendants
### IE8: an element's 'opacity' value isn't propagated to its positioned descendants
* [test case](http://jhop.me/tests/bugs/ie8/opacity_positioned.html)

View File

@ -42,7 +42,7 @@ npm install --save parsleyjs
$('#form').parsley(/* options */)
```
It's preferrable to explictly call `$.fn.parsley()`.
It's preferable to explicitly call `$.fn.parsley()`.
### API

View File

@ -1,5 +1,5 @@
---
title: Postgresql JSON
title: PostgreSQL JSON
layout: 2017/sheet
prism_languages: [sql]
updated: 2017-09-22

View File

@ -1,5 +1,5 @@
---
title: Postgresql
title: PostgreSQL
---
### Console

View File

@ -13,7 +13,7 @@ vim: ft=javascript
template: '...', // required
// callbacks
init: function() {}, // on instanciate
init: function() {}, // on instantiate
complete: function() {}, // on finish animations
// objs

View File

@ -204,7 +204,7 @@ this.state
this.props
```
These methods and properies are available for `Component` instances.
These methods and properties are available for `Component` instances.
See: [Component API](http://facebook.github.io/react/docs/component-api.html)
@ -290,7 +290,7 @@ See: [Events](https://reactjs.org/docs/events.html)
## Other features
### Transfering props
### Transferring props
```html
<VideoPlayer src="video.mp4" />

View File

@ -6,7 +6,7 @@ title: RESTful API
* `200 OK` - successful get, patch (return a JSON object)
* `201 Created` - successful post (return a JSON object)
* `202 Accepted` - sucessful post, delete, path - async
* `202 Accepted` - successful post, delete, path - async
* `204 No content` - successful delete
* `206 Partial content` - successful get - async

View File

@ -18,7 +18,7 @@ category: Ruby
```rb
# spec/models/*.rb
decribe MyModel do
describe MyModel do
end
```

View File

@ -324,7 +324,7 @@ Provided by many_to_many
deal = Deal[1]
deal.changed_columns
deal.destory # Calls hooks
deal.destroy # Calls hooks
deal.delete # No hooks
deal.exists?
deal.new?

View File

@ -118,7 +118,7 @@ vim: ft=python
.on 'create'
.on 'update'
.on 'destory'
.on 'destroy'
.on 'save' # create / update
.on 'change' # create / update / destroy

View File

@ -43,7 +43,7 @@ title: tmux
### Detach/attach
C-b d # detatch
C-b d # Detach
C-b ( ) # Switch through sessions
$ tmux attach

View File

@ -40,7 +40,7 @@ category: Vim
ar " a[lrc] - align
" align left/right/center
dr " d[lrc] - delimiter_align
" alignment of the delimeter itself
" alignment of the delimiter itself
```
### Spaces are optional
@ -66,9 +66,9 @@ category: Vim
### `:EasyAlign *|` (markdown tables)
```nohighlight
| `<Enter>` | right align |
| `1` | on 1st occurence |
| `2` | on 2nd occurence (and so on) |
| `<Enter>` | right align |
| `1` | on 1st occurrence |
| `2` | on 2nd occurrence (and so on) |
```
Interactive mode
@ -83,7 +83,7 @@ Then press options (if available), then a delimiter.
### Interactive mode options
| `⏎` | Set `alignment` |
| `<ctrl-l>` `4 ⏎` | Set `left_margin` (to the left of the delimeter) |
| `<ctrl-l>` `4 ⏎` | Set `left_margin` (to the left of the delimiter) |
| `<ctrl-r>` `4 ⏎` | Set `right_margin` |
| `↓` | no margin |
{:.greycode}

View File

@ -13,7 +13,7 @@ let colors = {
}
echo colors["a"]
echo get(colors, "apple") " supress error
echo get(colors, "apple") " suppress error
remove(colors, "apple")
@ -48,7 +48,7 @@ let mylist = [1, two, 3, "four"]
let first = mylist[0]
let last = mylist[-1]
" Supresses errors
" Suppresses errors
let second = get(mylist, 1)
let second = get(mylist, 1, "NONE")
```
@ -66,7 +66,7 @@ Functions
getline(1) " get line 1
getline(1, 5) " get lines 1-5
search('^$') " next blank line, returns line number
search('^$','n') " but dont move cursor
search('^$','n') " but don't move cursor
getcurpos() " [bufnum, lnum, col, off, curswant]
getpos('.') " [bufnum, lnum, col, off]

View File

@ -347,7 +347,7 @@ let mylist = [1, two, 3, "four"]
let first = mylist[0]
let last = mylist[-1]
" Supresses errors
" Suppresses errors
let second = get(mylist, 1)
let second = get(mylist, 1, "NONE")
```
@ -406,7 +406,7 @@ let colors = {
}
echo colors["a"]
echo get(colors, "apple") " supress error
echo get(colors, "apple") " suppress error
```
See `:help dict`
@ -559,7 +559,7 @@ See `:help expand`
silent g/Aap/p
```
Supresses output. See `:help silent`
Suppresses output. See `:help silent`
### Echo