Skip to content

Commit

Permalink
Fix some typos (#2121)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ydah authored Mar 21, 2024
1 parent bdf7fc2 commit e8bfec3
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion _data/content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
8 changes: 4 additions & 4 deletions _sass/vendor/modularscale/_modularscale.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {

Expand Down Expand Up @@ -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');
Expand Down Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions _sass/vendor/sanitize.css/sanitize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/

*,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion fish-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!'
Expand Down
6 changes: 3 additions & 3 deletions goby.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions regexp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit e8bfec3

Please sign in to comment.