This file contains 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
/* lined paper example */ | |
line-height: 1.2; | |
background-image: linear-gradient(rgba(0,0,0,.3) 1px, transparent 1px); | |
background-size: 100% 1.2em; | |
background-position: 0 .8em; | |
background-origin: content-box; | |
padding: 1em; | |
/* code editor example */ | |
line-height: 1.5; |
This file contains 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
.lightbox { transition: 1s width, 1s 1s height; } | |
.lightbox.current { transition: 1s height, 1s 1s width; } |
This file contains 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
.section { | |
width: 700px; | |
padding: 1em calc(50% - 350px); | |
} |
This file contains 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
/* top and bottom */ | |
background: | |
linear-gradient(hsla(0,0%,100%,0) 15px, white 40px), | |
linear-gradient(to top, hsla(0,0%,100%,0) 15px, white 40px) bottom; | |
radial-gradient(at 50% 0, rgba(0,0,0,.2), transparent 70%), | |
radial-gradient(at 50% 100%, rgba(0,0,0,.2), transparent 70%) bottom; | |
background-repeat: no-repeat; | |
background-size: 100% 50%, 100% 50%, 100% 14px, 100% 14px; | |
background-attachment: local, local, scroll, scroll; |
This file contains 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
Tweetbot for Mac Super Secret Settings | |
You will need to use the Terminal app to change these settings: | |
# these all affect the text in a DM or new tweet - the default is yes for all of them | |
defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO | |
defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO | |
defaults write com.tapbots.TweetbotMac TextContinuousSpellChecking -bool NO | |
defaults write com.tapbots.TweetbotMac TextAutomaticTextReplacement -bool NO |
This file contains 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/bash | |
XIBS="*.xib | |
app/*.xib | |
interfaces/*.xib | |
resources/*.xib" | |
for i in $XIBS | |
do | |
echo "Compiling `basename $i`..." | |
ibtool --compile resources/`basename -s .xib $i`.nib $i |
This file contains 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
# ALIASES | |
alias gitl="git log --oneline --decorate" | |
alias gits="git status -sb" | |
alias gu="git-up" | |
alias flushdns="dscacheutil -flushcache" | |
alias removesvn="find . -name .svn -print0 | xargs -0 rm -rf" | |
alias restartfinder="killall Finder && open /System/Library/CoreServices/Finder.app" | |
alias rrr="QUEUE=report_queue bundle exec rake environment resque:work" | |
alias ll="ls -alG" | |
alias show_library="chflags nohidden ~/Library/" |
This file contains 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
Tomorrow-Night | |
bufkill.vim | |
tabular | |
vim-less | |
vim-pasta | |
vim-ragtag | |
vim-rvm | |
vim-rake | |
vim-bundler | |
vim-ruby-debugger |
This file contains 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
" Remove the scrollbars on MacVim | |
set guioptions=aAce | |
" set the default font | |
set guifont=DejaVu_Sans_Mono:h12 | |
" Turn off balloons. They drive me nuts on Ruby files | |
set noballooneval | |
" Command-T OS-X Menu mapping turned back on. I like it better this way. |
This file contains 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
" bind control-l to hashrocket | |
imap <C-l> <Space>=><Space> | |
" convert word into Ruby symbol | |
imap <C-k> <C-o>b:<Esc>Ea | |
nmap <C-k> lbi:<Esc>E | |
" folding settings | |
set foldmethod=indent "fold based on indent | |
set foldnestmax=10 "deepest fold is 10 levels |