This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"extends": "airbnb", | |
"env": { | |
"browser": true, | |
"jasmine": true | |
}, | |
"rules": { | |
"react/jsx-filename-extension": [1, {"extensions": [".js"]}] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "airbnb", | |
"rules": { | |
"react/jsx-filename-extension": [1, {"extensions": [".js"]}] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://www.makeuseof.com/tag/edit-thousands-wordpress-posts-sql-command/ | |
UPDATE wp_posts | |
SET post_content = REPLACE( | |
post_content, | |
substr( | |
post_content, | |
locate('<script type=', post_content), | |
( | |
(locate('<script type=', post_content) + 82) - locate('<script type=', post_content) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"id": "111", "name": "john"}, | |
{"id": "222", "name": "mary"}, | |
{"id": "333", "name": "dave"}, | |
{"id": "444", "name": "joan"}, | |
{"id": "555", "name": "jake"}, | |
{"id": "666", "name": "gary"}, | |
{"id": "777", "name": "tina"} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"contestants": [ | |
{ "id": "111", "name": "john" }, | |
{ "id": "222", "name": "mary" }, | |
{ "id": "333", "name": "dave" } | |
], | |
"winner": {}, | |
"winners": [ | |
{ "id": "444", "name": "joan" }, | |
{ "id": "555", "name": "jake" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## bins | |
[chaining](https://jsbin.com/nirikoqapi/1/edit?html,js,console) | |
[chaining, iife, clojure, module](https://jsbin.com/mayijamebo/56/edit?js,console) | |
[getting started w redux, react, expect](https://jsbin.com/wamakuh/2/edit?html,js,output) | |
[promises](https://jsbin.com/zanemed/1/edit?js,console) | |
## coersion & comparison stuff | |
[double equal coersion graphic](https://i.stack.imgur.com/Ccyb8.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# COLORS | |
export TERM=xterm-color | |
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
export HOMEBREW_CASK_OPTS="--appdir=/Applications" | |
# PATHS | |
export DEVELOPMENT_DIRECTORY="$HOME/development" | |
export DOTFILES_DIRECTORY="$HOME/dotfiles" |
Percent_of_Adult_Current_Smokers_by_Sex_and_Race_Ethnicity__1995-2010
SAMHSA_Synar_Reports__Youth_Tobacco_Sales
Smoking_Prevalence_in_Adults__1984-2013
The_Tax_Burden_on_Tobacco_Volume_49__1970-2014
Tobacco_Sold_to_Minors__California__1997-2014
Youth_Tobacco_Survey__YTS__Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D|--------------------------|------------------------|------------------------| | |
B|-----0-----0-----0-----0--|----0-----0-------------|0--------0--------------| | |
G|--------------------------|------------------------|------------------------| | |
D|--------------0-----2-----|----------------2s5-----|-----5------------------| | |
G|0-------2-----------------|0-------2---------------|------------------------| |