brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
export PATH="$HOME/.rbenv/shims:$PATH" | |
export ANDROID_HOME="/Users/roy/Library/Android/sdk" | |
export PATH="$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools" | |
export COREPACK_ENABLE_AUTO_PIN=0 | |
# General aliases. | |
alias edit_aliases="fleet /Users/roysegall/.oh-my-zsh/custom/aliases.zsh" | |
alias reload_aliases="source ~/.zshrc" | |
alias video_to_gif="function video_to_gif(){ ffmpeg -i $1 $2 && gifsicle -O3 $2 -o $2 && say "Video is ready!"};video_to_gif" | |
alias www="cd /Users/roysegall/projects" |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Electron</title> | |
</head> | |
<body> | |
<script> | |
var ipc = require('ipc'); | |
source ~/.profile | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
fi | |
export PATH="$HOME/.composer/vendor/bin:$PATH" | |
export PATH="$PATH:/Applications/MAMP/Library/bin" | |
export SIMPLETEST_DB=mysql://root:root@localhost/drupal8; | |
export SIMPLETEST_BASE_URL=http://localhost/drupal8 | |
export XDEBUG_CONFIG="idekey=PHPSTORM" |
r.table("test").filter( function(doc) { | |
return doc("adresses").contains(function(adress) { | |
return adress("city").eq("Paris") | |
}) | |
}) | |
/* | |
{ |
package cp | |
import ( | |
"io" | |
"os" | |
) | |
func cp(dst, src string) error { | |
s, err := os.Open(src) | |
if err != nil { |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"