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
project in (PRJ1, PRJ1) AND status in (Closed, Deployed, Done) AND created >= 2019-09-01 AND created <= 2019-12-31 AND assignee in (your user name) ORDER BY created DESC |
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
/giphy #caption "your gif caption here" some search text | |
/genie whoisoncall |
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
//My vscode extensions | |
live server | |
//key board short cuts | |
command + p | |
option click |
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
//JS classes | |
classes are syntax sugars | |
classes get passed down | |
classes are not hoisted | |
two ways to define classes: class declarations and experssions | |
//straight functions vs classes | |
functions: hoisted, can be overwritten | |
classes: not hoisted, can be extended but not overwritten | |
classes are more like blueprints, which can have methods |
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
//============ | |
//iterm | |
//============ | |
download iterm | |
cmd+D splits the window horizontally | |
cmd+shift+D splits the window vertically | |
//Open Toolbelt | |
Profiles, Command History, Notes |
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
use Ctl+Alt+Up (sublime vertical select ) |
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
rvm use | |
bundle install | |
bundle exec rake db:migrate | |
bundle exec rake jobs:work | |
? after a funcion mean it returns a boolean |
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
// |
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
mysql -u root | |
show databases; | |
// the default databases | |
+--------------------+ | |
| Database | | |
+--------------------+ | |
| information_schema | | |
| mysql | | |
| performance_schema | |
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
//fix ${NPM_TOKEN} error | |
get a new token from npm.org | |
add `export NPM_TOKEN="{token}` to `~/.bash_profile` | |
//test a single file using Jest and npm? | |
npm test -- SomeTestFileToRun |
NewerOlder