This CREATIVE AND TECHNICAL SERVICES AGREEMENT (“Agreement”) is an agreement between Zander Hill, (“Developer”) and the party set forth in the Project Estimate (“Customer” or “you” or “your”) incorporated herein by this reference and applies to the purchase of all services ordered by Customer (collectively, the “Services”). The parties understand, acknowledge and agree that this is an online agreement which is being entered into in conjunction with the Services.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -z edit-command-line | |
zle -N edit-command-line | |
bindkey "^X^E" edit-command-line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
..='cd ..' | |
...='cd ../..' | |
....='cd ../../..' | |
.....='cd ../../../..' | |
......='cd ../../../../..' | |
a='fasd -a' | |
ack='noglob ack -i --nogroup' | |
ai='$(fasd -sia)' | |
autojump='nocorrect autojump' | |
b=bg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias rsync='rsync -v --progress --partial' | |
alias dstamp='date +%Y-%m-%d' | |
alias ack='noglob ack -i --nogroup' | |
alias less="less -R" | |
alias qlf='qlmanage -p "$@" >& /dev/null' | |
alias q='exit' | |
# alias mkdir='mkdir -p' # Make mkdir recursive | |
alias cdd='cd - ' # goto last dir cd'ed from | |
alias cd-='cd - ' | |
alias df='df -kH' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# resolve symlinks | |
# | |
PRG=$0 | |
while [ -h "$PRG" ]; do | |
ls=`ls -ld "$PRG"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fu! PryToggle() | |
let @a = "require 'pry'; binding.pry" | |
let wordsFromLine = getline('.') | |
if @a ==? wordsFromLine | |
:normal dd | |
else | |
:normal "ap | |
endif | |
endfu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Run current file in ruby | |
imap <Leader>rr <ESC>:!ruby %<CR> | |
nmap <Leader>rr :!ruby %<CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Open Marked.app | |
" only works on OSX with Marked.app installed | |
imap <Leader>m <ESC>:!open -a Marked.app "%"<CR><CR> | |
nmap <Leader>m :!open -a Marked.app "%"<CR><CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Open Marked.app | |
" only works on OSX with Marked.app installed | |
imap <Leader>m <ESC>:!open -a Marked.app "%"<CR><CR> | |
nmap <Leader>m :!open -a Marked.app "%"<CR><CR> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'gmail' | |
input = "#{ARGV.join(" ")}" | |
USER, PASSWORD = File.read(File.expand_path( "~/.gmailrc" )).split("\n") | |
Gmail.new(USER, PASSWORD) do |gmail| | |
gmail.deliver do | |
to USER |