I hereby claim:
- I am injune1123 on github.
- I am injune1123 (https://keybase.io/injune1123) on keybase.
- I have a public key ASDTnw94BeOrfECmNpM7dSdWhJnx78S7pT5fJfmeb_I5GAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| //check the version of JAVA | |
| java -version | |
| // Switch to JAVA 8 on macOS High Sierra and Mojave | |
| $export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/ |
| Learning resources: | |
| https://learngitbranching.js.org/ | |
| I stashed twice, what shall I do????!!!! | |
| https://www.atlassian.com/git/tutorials/saving-changes/git-stash | |
| $git stash list | |
| $git stash apply stash@{n} | |
| Switching remote URLs |
| sudo su - postgres | |
| create database #{DATABASE_NAME}; | |
| psql -U postgres | |
| //list all dbs | |
| postgres-# \l |
| //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 |
| mysql -u root | |
| show databases; | |
| // the default databases | |
| +--------------------+ | |
| | Database | | |
| +--------------------+ | |
| | information_schema | | |
| | mysql | | |
| | performance_schema | |
| // |
| rvm use | |
| bundle install | |
| bundle exec rake db:migrate | |
| bundle exec rake jobs:work | |
| ? after a funcion mean it returns a boolean |
| use Ctl+Alt+Up (sublime vertical select ) |
| //============ | |
| //iterm | |
| //============ | |
| download iterm | |
| cmd+D splits the window horizontally | |
| cmd+shift+D splits the window vertically | |
| //Open Toolbelt | |
| Profiles, Command History, Notes |