Skip to content

Instantly share code, notes, and snippets.

View injune1123's full-sized avatar
🎁
Embracing whatever gift life sends me

Jun Yin injune1123

🎁
Embracing whatever gift life sends me
View GitHub Profile
@injune1123
injune1123 / JIRA filter
Created December 18, 2019 18:34
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
injune1123 / slack Cheatsheet
Last active May 20, 2019 21:25
slack Cheatsheet
/giphy #caption "your gif caption here" some search text
/genie whoisoncall
@injune1123
injune1123 / My vscode Cheat sheet
Last active February 6, 2019 04:44
My vscode Cheat sheet
//My vscode extensions
live server
//key board short cuts
command + p
option click
@injune1123
injune1123 / JS cheat sheet
Last active February 6, 2019 04:39
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
@injune1123
injune1123 / My terminal tricks
Created January 4, 2019 19:29
iterm, bash, etc.
//============
//iterm
//============
download iterm
cmd+D splits the window horizontally
cmd+shift+D splits the window vertically
//Open Toolbelt
Profiles, Command History, Notes
@injune1123
injune1123 / My shortcut Cheatsheet
Created December 17, 2018 20:29
My shortcut Cheatsheet
use Ctl+Alt+Up (sublime vertical select )
@injune1123
injune1123 / Rails Cheatsheet
Last active May 20, 2019 21:22
Rails Cheatsheet
rvm use
bundle install
bundle exec rake db:migrate
bundle exec rake jobs:work
? after a funcion mean it returns a boolean
@injune1123
injune1123 / Apache Cheat Sheet
Created November 27, 2018 16:09
My apache Cheat Sheet
//
@injune1123
injune1123 / My mysql Cheat Sheet
Last active December 12, 2018 19:30
Mysql Cheatsheet
mysql -u root
show databases;
// the default databases
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
@injune1123
injune1123 / NPM Cheat Sheet
Last active November 27, 2018 16:07
my npm cheatsheet
//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