Fix some typos (#2121)
* mispelling ==> misspelling * boundry ==> boundary * Subsituted ==> Substituted * expresion ==> expression * bandwith ==> bandwidth * Contstructor ==> Constructor * chaning ==> changing * retrive ==> retrieve * mached ==> matched * devlopment ==> development * inheritence ==> inheritance * browers ==> browsers * avalible ==> available * funciton ==> function * calulate ==> calculate
This commit is contained in:
parent
bdf7fc2505
commit
e8bfec363f
|
@ -48,4 +48,4 @@ announcement:
|
|||
body: |
|
||||
Follow [@devhints](https://twitter.com/devhints) on X/Twitter for daily "today I learned" snippets.
|
||||
|
||||
Also: I've started a new blog with some insights on web devlopment. Have a look! [**ricostacruz.com/posts**](https://ricostacruz.com/posts?utm_source=devhints)
|
||||
Also: I've started a new blog with some insights on web development. Have a look! [**ricostacruz.com/posts**](https://ricostacruz.com/posts?utm_source=devhints)
|
||||
|
|
|
@ -62,7 +62,7 @@ $modularscale : () !default;// Parse settings starting with defaults.
|
|||
@return $base $ratio;
|
||||
}// Sass does not have native pow() support so this needs to be added.
|
||||
// Compass and other libs implement this more extensively.
|
||||
// In order to keep this simple, use those when they are avalible.
|
||||
// In order to keep this simple, use those when they are available.
|
||||
// Issue for pow() support in Sass: https://github.com/sass/sass/issues/684
|
||||
|
||||
@function ms-pow($b,$e) {
|
||||
|
@ -113,7 +113,7 @@ $modularscale : () !default;// Parse settings starting with defaults.
|
|||
@return ($val / ($val - $val + 1));
|
||||
}// Basic list sorting
|
||||
// Would like to replace with http://sassmeister.com/gist/30e4863bd03ce0e1617c
|
||||
// Unfortunately libsass has a bug with passing arguments into the min() funciton.
|
||||
// Unfortunately libsass has a bug with passing arguments into the min() function.
|
||||
|
||||
@function ms-sort($l) {
|
||||
|
||||
|
@ -188,7 +188,7 @@ $modularscale : () !default;// Parse settings starting with defaults.
|
|||
@function ms-target($t,$b) {
|
||||
// Convert to string
|
||||
$t: $t + '';
|
||||
// Remove base units to calulate ratio
|
||||
// Remove base units to calculate ratio
|
||||
$b: ms-unitless(nth($b,1));
|
||||
// Find where 'at' is in the string
|
||||
$at: str-index($t,'at');
|
||||
|
@ -304,7 +304,7 @@ $modularscale : () !default;// Parse settings starting with defaults.
|
|||
}
|
||||
}
|
||||
}// To attempt to avoid conflicts with other libraries
|
||||
// all funcitons are namespaced with `ms-`.
|
||||
// all functions are namespaced with `ms-`.
|
||||
// However, to increase usability, a shorthand function is included here.
|
||||
|
||||
@function ms($v: 0, $base: false, $ratio: false, $thread: false, $settings: $modularscale) {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
/**
|
||||
* 1. Remove repeating backgrounds in all browsers (opinionated).
|
||||
* 2. Add box sizing inheritence in all browsers (opinionated).
|
||||
* 2. Add box sizing inheritance in all browsers (opinionated).
|
||||
*/
|
||||
|
||||
*,
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* 1. Add text decoration inheritance in all browsers (opinionated).
|
||||
* 2. Add vertical alignment inheritence in all browsers (opinionated).
|
||||
* 2. Add vertical alignment inheritance in all browsers (opinionated).
|
||||
*/
|
||||
|
||||
::before,
|
||||
|
@ -246,7 +246,7 @@ sup {
|
|||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Change the alignment on media elements in all browers (opinionated).
|
||||
* Change the alignment on media elements in all browsers (opinionated).
|
||||
*/
|
||||
|
||||
audio,
|
||||
|
|
|
@ -112,7 +112,7 @@ echo (math 1 + 2)
|
|||
|
||||
### Matching
|
||||
|
||||
Match the string against a regular expresion:
|
||||
Match the string against a regular expression:
|
||||
|
||||
```fish
|
||||
string match --regex --entire 'Fish' 'Hello from Fish!'
|
||||
|
|
6
goby.md
6
goby.md
|
@ -539,7 +539,7 @@ Any objects except `nil` and `false` will be treated as `true` on conditionals.
|
|||
### Other operators
|
||||
|
||||
```ruby
|
||||
() # chaning priority of interpretation
|
||||
() # changing priority of interpretation
|
||||
[] # array literal
|
||||
* # multiple assignment
|
||||
.. # range
|
||||
|
@ -750,7 +750,7 @@ foo do
|
|||
end
|
||||
```
|
||||
|
||||
`get_block` is not a method but a **keyword** to retrive a given block argument as a block object. By this, you can pass around or `call` the given block arguments as block objects.
|
||||
`get_block` is not a method but a **keyword** to retrieve a given block argument as a block object. By this, you can pass around or `call` the given block arguments as block objects.
|
||||
|
||||
### Closure
|
||||
|
||||
|
@ -955,7 +955,7 @@ Using `/ /` is to be implemented.
|
|||
#» { 0: "abc", first: "b", second: "c" }
|
||||
```
|
||||
|
||||
The number keys in the captures are actually `String` class.The key `0` is the mached string.
|
||||
The number keys in the captures are actually `String` class.The key `0` is the matched string.
|
||||
|
||||
* **`MatchData.methods`**: the same as `Class.methods`
|
||||
* **`'abcd'.match(Regexp.new('(b.)')).methods`**: `captures`, `length`, `new`, `to_a`, `to_h`
|
||||
|
|
|
@ -29,7 +29,7 @@ new Promise((resolve, reject) => {
|
|||
})
|
||||
```
|
||||
|
||||
Use [new Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Contstructor) to create new promises.
|
||||
Use [new Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Constructor) to create new promises.
|
||||
|
||||
### Consuming promises
|
||||
|
||||
|
|
16
regexp.md
16
regexp.md
|
@ -43,8 +43,8 @@ description: |
|
|||
| `\A` | Start of string |
|
||||
| `\Z` | End of string |
|
||||
| `\z` | Absolute end of string |
|
||||
| `\b` | A word boundry |
|
||||
| `\B` | Non-word boundry |
|
||||
| `\b` | A word boundary |
|
||||
| `\B` | Non-word boundary |
|
||||
| `^abc` | Start with `abc` |
|
||||
| `abc$` | End with `abc` |
|
||||
|
||||
|
@ -61,12 +61,12 @@ For multiline patterns (`m` flag), `^` and `$` will act as start and end of line
|
|||
|
||||
### Groups
|
||||
|
||||
| Pattern | Description |
|
||||
| --------- | ------------------------------------------------------- |
|
||||
| `(abc)` | Capture group |
|
||||
| `(a|b)` | Match `a` or `b` |
|
||||
| `(?:abc)` | Match `abc`, but don't capture |
|
||||
| `\1` | Subsituted with text matched of the 1st capturing group |
|
||||
| Pattern | Description |
|
||||
| --------- | -------------------------------------------------------- |
|
||||
| `(abc)` | Capture group |
|
||||
| `(a|b)` | Match `a` or `b` |
|
||||
| `(?:abc)` | Match `abc`, but don't capture |
|
||||
| `\1` | Substituted with text matched of the 1st capturing group |
|
||||
|
||||
|
||||
### Quantifiers
|
||||
|
|
2
scp.md
2
scp.md
|
@ -20,7 +20,7 @@ scp <options> source_path destination_path
|
|||
-r # transfer directory
|
||||
-v # see the transfer details
|
||||
-C # copy files with compression
|
||||
-l 800 # limit bandwith with 800
|
||||
-l 800 # limit bandwidth with 800
|
||||
-p # preserving the original attributes of the copied files
|
||||
-P # connection port
|
||||
-q # hidden the output
|
||||
|
|
2
vim.md
2
vim.md
|
@ -451,7 +451,7 @@ Works like `:qa`, but throws an error. Great for aborting Git commands.
|
|||
| `[s` | Move to previous misspelled word before the cursor |
|
||||
| `z=` | Suggest spellings for the word under/after the cursor |
|
||||
| `zg` | Add word to spell list |
|
||||
| `zw` | Mark word as bad/mispelling |
|
||||
| `zw` | Mark word as bad/misspelling |
|
||||
| `zu` / `C-X (Insert Mode)` | Suggest words for bad word under cursor from spellfile |
|
||||
{: .-shortcuts}
|
||||
|
||||
|
|
Loading…
Reference in New Issue