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 / Postgresql Cheat Sheet
Last active June 10, 2019 14:49
Frequently used Postgresql commands
sudo su - postgres
create database #{DATABASE_NAME};
psql -U postgres
//list all dbs
postgres-# \l
@injune1123
injune1123 / Git Command Cheat Sheet
Last active April 3, 2019 15:50
My Frequently used GitHub commands
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
@injune1123
injune1123 / Java Cheat Sheet
Last active January 15, 2019 16:00
Frequently Used Commands
//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/
@injune1123
injune1123 / keybase.md
Created October 2, 2018 23:15
link Github with Keybase

Keybase proof

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: