Clean up from PRs

This commit is contained in:
chad d 2018-11-19 23:18:50 -07:00
parent c46315ff3e
commit bb00a53532
11 changed files with 16 additions and 16 deletions

View File

@ -17,6 +17,7 @@ names:
- Markup - Markup
- macOS - macOS
- Node.js - Node.js
- PHP
- Rails - Rails
- React - React
- Ruby - Ruby

View File

@ -2,7 +2,7 @@
<div class="container"> <div class="container">
<p class='blurb'> <p class='blurb'>
<strong><a href="{{ base }}">{{ site.title }}</a></strong> is a collection of cheatsheets I've written over the years. <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 class='fleuron'></i>
I'm <a href="http://ricostacruz.com">Rico Sta. Cruz</a>. 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. 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

View File

@ -3,7 +3,7 @@ title: Bash scripting
category: CLI category: CLI
layout: 2017/sheet layout: 2017/sheet
tags: [Featured] tags: [Featured]
updated: 2017-08-26 updated: 2018-11-19
keywords: keywords:
- Variables - Variables
- Functions - Functions
@ -333,7 +333,6 @@ Conditionals
| `[ NUM -gt NUM ]` | Greater than | | `[ NUM -gt NUM ]` | Greater than |
| `[ NUM -ge NUM ]` | Greater than or equal | | `[ NUM -ge NUM ]` | Greater than or equal |
| --- | --- | | --- | --- |
| `[[ STRING == STRING ]]` | Equal |
| `[[ STRING =~ STRING ]]` | Regexp | | `[[ STRING =~ STRING ]]` | Regexp |
| --- | --- | | --- | --- |
| `(( NUM < NUM ))` | Numeric conditions | | `(( NUM < NUM ))` | Numeric conditions |

View File

@ -1,9 +1,10 @@
--- ---
title: Bulma title: Bulma
category: CSS
layout: 2017/sheet layout: 2017/sheet
prism_languages: [css, html] prism_languages: [css, html]
weight: -1 weight: -1
updated: 2018-03-06 updated: 2018-11-19
authors: authors:
- github: benolot - github: benolot
description: | description: |
@ -94,10 +95,9 @@ The following classes **transform** the text
### WYSIWYG Content ### WYSIWYG Content
To provide default stylings for commonly generated WYSIWYG contents, use the
`.content` class.
```html ```html
<div class="content"> <div class="content">
<!-- start WYSIWYG contents -->
<h1>Heading</h1> <h1>Heading</h1>
<p>Paragraph</p> <p>Paragraph</p>
@ -105,5 +105,8 @@ To provide default stylings for commonly generated WYSIWYG contents, use the
<li>Item 1</li> <li>Item 1</li>
<li>Item 2</li> <li>Item 2</li>
</ul> </ul>
<!-- end WYSIWYG contents -->
</div> </div>
``` ```
To provide default stylings for commonly generated WYSIWYG contents, use the `.content` class.

2
es6.md
View File

@ -298,7 +298,7 @@ const { id, ...detail } = song;
``` ```
{: data-line="1"} {: 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 Spread

View File

@ -85,7 +85,6 @@ end
```elixir ```elixir
defp my_hook(_context) do defp my_hook(_context) do
# Invoked in every block in "a block" # Invoked in every block in "a block"
{:ok, name: "John", age: 54} {:ok, name: "John", age: 54}
@ -99,12 +98,10 @@ describe "a block" do
assert context[:age] == 54 assert context[:age] == 54
end end
end end
``` ```
## Also see ## Also see
{: .-one-column} {: .-one-column}
- <http://devdocs.io/elixir/ex_unit/exunit#configure/1> * [ExUnit Docs](http://devdocs.io/elixir/ex_unit/exunit#configure/1)

View File

@ -155,7 +155,7 @@ category: Databases
ENUM ('value1', 'value2', ...) -- (default NULL, or '' if NOT NULL) ENUM ('value1', 'value2', ...) -- (default NULL, or '' if NOT NULL)
### Reset Root Password ### Reset Root Password
<code>$ /etc/init.d/mysql stop $ /etc/init.d/mysql stop
$ mysqld_safe --skip-grant-tables $ mysqld_safe --skip-grant-tables
$ mysql # on another terminal $ mysql # on another terminal
mysql> UPDATE mysql.user SET password=PASSWORD('new_pass') WHERE user='root'; mysql> UPDATE mysql.user SET password=PASSWORD('new_pass') WHERE user='root';

View File

@ -66,7 +66,7 @@ rsync -avz ./src/ /dest
```bash ```bash
--exclude-from=FILE --exclude-from=FILE
--include-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 ### Archive options

View File

@ -1,6 +1,6 @@
--- ---
title: PHP title: PHP
category: Other category: PHP
layout: 2017/sheet layout: 2017/sheet
prism_languages: [php] prism_languages: [php]
--- ---