Clean up from PRs
This commit is contained in:
parent
c46315ff3e
commit
bb00a53532
|
@ -17,6 +17,7 @@ names:
|
|||
- Markup
|
||||
- macOS
|
||||
- Node.js
|
||||
- PHP
|
||||
- Rails
|
||||
- React
|
||||
- Ruby
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="container">
|
||||
<p class='blurb'>
|
||||
<strong><a href="{{ base }}">{{ site.title }}</a></strong> is a collection of cheatsheets I've written over the years.
|
||||
Suggestions and corrections? <a href='https://github.com/rstacruz/cheatsheets/issues'>Send them in</a>.
|
||||
Suggestions and corrections? <a href='https://github.com/rstacruz/cheatsheets/issues/907'>Send them in</a>.
|
||||
<i class='fleuron'></i>
|
||||
I'm <a href="http://ricostacruz.com">Rico Sta. Cruz</a>.
|
||||
Check out my <a href="http://ricostacruz.com/til">Today I learned blog</a> for more.
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
bash.md
3
bash.md
|
@ -3,7 +3,7 @@ title: Bash scripting
|
|||
category: CLI
|
||||
layout: 2017/sheet
|
||||
tags: [Featured]
|
||||
updated: 2017-08-26
|
||||
updated: 2018-11-19
|
||||
keywords:
|
||||
- Variables
|
||||
- Functions
|
||||
|
@ -333,7 +333,6 @@ Conditionals
|
|||
| `[ NUM -gt NUM ]` | Greater than |
|
||||
| `[ NUM -ge NUM ]` | Greater than or equal |
|
||||
| --- | --- |
|
||||
| `[[ STRING == STRING ]]` | Equal |
|
||||
| `[[ STRING =~ STRING ]]` | Regexp |
|
||||
| --- | --- |
|
||||
| `(( NUM < NUM ))` | Numeric conditions |
|
||||
|
|
9
bulma.md
9
bulma.md
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
title: Bulma
|
||||
category: CSS
|
||||
layout: 2017/sheet
|
||||
prism_languages: [css, html]
|
||||
weight: -1
|
||||
updated: 2018-03-06
|
||||
updated: 2018-11-19
|
||||
authors:
|
||||
- github: benolot
|
||||
description: |
|
||||
|
@ -94,10 +95,9 @@ The following classes **transform** the text
|
|||
|
||||
### WYSIWYG Content
|
||||
|
||||
To provide default stylings for commonly generated WYSIWYG contents, use the
|
||||
`.content` class.
|
||||
```html
|
||||
<div class="content">
|
||||
<!-- start WYSIWYG contents -->
|
||||
<h1>Heading</h1>
|
||||
<p>Paragraph</p>
|
||||
|
||||
|
@ -105,5 +105,8 @@ To provide default stylings for commonly generated WYSIWYG contents, use the
|
|||
<li>Item 1</li>
|
||||
<li>Item 2</li>
|
||||
</ul>
|
||||
<!-- end WYSIWYG contents -->
|
||||
</div>
|
||||
```
|
||||
|
||||
To provide default stylings for commonly generated WYSIWYG contents, use the `.content` class.
|
||||
|
|
2
es6.md
2
es6.md
|
@ -298,7 +298,7 @@ const { id, ...detail } = song;
|
|||
```
|
||||
{: data-line="1"}
|
||||
|
||||
Extract some individually and others objects in the group using "rest (...) operator"
|
||||
Extract some keys individually and remaining keys in the object using rest (...) operator
|
||||
|
||||
|
||||
Spread
|
||||
|
|
|
@ -85,7 +85,6 @@ end
|
|||
|
||||
|
||||
```elixir
|
||||
|
||||
defp my_hook(_context) do
|
||||
# Invoked in every block in "a block"
|
||||
{:ok, name: "John", age: 54}
|
||||
|
@ -99,12 +98,10 @@ describe "a block" do
|
|||
assert context[:age] == 54
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Also see
|
||||
{: .-one-column}
|
||||
|
||||
- <http://devdocs.io/elixir/ex_unit/exunit#configure/1>
|
||||
* [ExUnit Docs](http://devdocs.io/elixir/ex_unit/exunit#configure/1)
|
||||
|
|
2
mysql.md
2
mysql.md
|
@ -155,7 +155,7 @@ category: Databases
|
|||
ENUM ('value1', 'value2', ...) -- (default NULL, or '' if NOT NULL)
|
||||
|
||||
### Reset Root Password
|
||||
<code>$ /etc/init.d/mysql stop
|
||||
$ /etc/init.d/mysql stop
|
||||
$ mysqld_safe --skip-grant-tables
|
||||
$ mysql # on another terminal
|
||||
mysql> UPDATE mysql.user SET password=PASSWORD('new_pass') WHERE user='root';
|
||||
|
|
2
rsync.md
2
rsync.md
|
@ -66,7 +66,7 @@ rsync -avz ./src/ /dest
|
|||
```bash
|
||||
--exclude-from=FILE
|
||||
--include-from=FILE
|
||||
--files-from=FILE # read list of filenames from FILe
|
||||
--files-from=FILE # read list of filenames from FILE
|
||||
```
|
||||
|
||||
### Archive options
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: PHP
|
||||
category: Other
|
||||
category: PHP
|
||||
layout: 2017/sheet
|
||||
prism_languages: [php]
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue