Skip to content

Instantly share code, notes, and snippets.

View jasoet's full-sized avatar
🎯
Focusing

Deny Prasetyo jasoet

🎯
Focusing
View GitHub Profile
@jasoet
jasoet / gist:7693148
Created November 28, 2013 14:54
Add Color Terminal on MacOSX
$touch ~/.bash_profile
$ echo "export CLICOLOR=1" >> ~/.bash_profile
$ echo "export LSCOLORS=GxFxCxDxBxegedabagaced" >> ~/.bash_profile
$ cat ~/.bash_profile
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
@jasoet
jasoet / JAVA_HOME on MAC
Created November 30, 2013 04:42
Set JAVA_HOME on MAC
$ vim .bash_profile
export JAVA_HOME=$(/usr/libexec/java_home)
$ source .bash_profile
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
@jasoet
jasoet / Hacking Rules
Created January 7, 2014 04:43
Hacking Rules
= General rules =
* Always ask if you have any questions or doubts on anything
* Try to consult first when you need to make big changes
* Always document your changes in the code
* Always provide a unit test when you make changes covering: good cases, error cases, cases with bad inputs
= Repositories =
Rules:
@jasoet
jasoet / gist:8294733
Created January 7, 2014 04:44
Fork Rules

FORKIN' A RAP OH!

FORK A REPO

Go to bitbucket (or github) press fork button, yeah!

e.g. https://bitbucket.org/rockybars/delicious

CLONE MY REPO (FORK)

Clone my own fork of an upstream repo

# Aliases for git shorty
alias gco="git checkout"
alias gaa="git add -A ."
alias gcm="git commit -m"
alias gst="git status"
alias glo="git log --graph"
alias gpl="git pull"
alias gps="git push"
alias gbr="git branch"
alias gft="git fetch"
@jasoet
jasoet / zsh.md
Last active August 29, 2015 14:11 — forked from tsabat/zsh.md
package slicks.docs.dao
import scala.slick.driver.PostgresDriver.simple._
import scala.slick.driver._
trait Profile {
val profile: JdbcProfile
}
@jasoet
jasoet / zsh.md
Last active August 29, 2015 14:20 — forked from tsabat/zsh.md
@jasoet
jasoet / zsh.md
Last active August 29, 2015 14:20 — forked from tsabat/zsh.md
@jasoet
jasoet / .gitignore
Created September 20, 2015 08:57
.gitignore
build
deploy
.idea
.gradle
*.iml
logs
*.log