Skip to content

Instantly share code, notes, and snippets.

Embracing whatever gift life sends me

Jun Yin injune1123

Embracing whatever gift life sends me
View GitHub Profile
View JIRA filter
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
injune1123 / slack Cheatsheet
Last active May 20, 2019
slack Cheatsheet
View slack Cheatsheet
/giphy #caption "your gif caption here" some search text
/genie whoisoncall
injune1123 / My vscode Cheat sheet
Last active Feb 6, 2019
My vscode Cheat sheet
View My vscode Cheat sheet
//My vscode extensions
live server
//key board short cuts
command + p
option click
View JS cheat sheet
//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
View My terminal tricks
download iterm
cmd+D splits the window horizontally
cmd+shift+D splits the window vertically
//Open Toolbelt
Profiles, Command History, Notes
View My shortcut Cheatsheet
use Ctl+Alt+Up (sublime vertical select )
injune1123 / Rails Cheatsheet
Last active May 20, 2019
Rails Cheatsheet
View Rails Cheatsheet
rvm use
bundle install
bundle exec rake db:migrate
bundle exec rake jobs:work
? after a funcion mean it returns a boolean
View My mysql Cheat Sheet
mysql -u root
show databases;
// the default databases
| Database |
| information_schema |
| mysql |
| performance_schema |
injune1123 / NPM Cheat Sheet
Last active Nov 27, 2018
my npm cheatsheet
View NPM Cheat Sheet
//fix ${NPM_TOKEN} error
get a new token from
add `export NPM_TOKEN="{token}` to `~/.bash_profile`
//test a single file using Jest and npm?
npm test -- SomeTestFileToRun
You can’t perform that action at this time.