brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
# General aliases. | |
alias edit_aliases='code /Users/roy/.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/roy/projects' | |
# the fuck - https://github.com/nvbn/thefuck#installation | |
eval $(thefuck --alias) |
<!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 "you@example.com"