Skip to content

Instantly share code, notes, and snippets.

View cbrinker's full-sized avatar

Chris Brinker cbrinker

  • Google
  • Sunnyvale, CA
View GitHub Profile
@rubyworks
rubyworks / oneliner_fractaltree.rb
Created February 23, 2010 14:57
Oneliner - Fractal Tree
n=32;l="A";n.times{|y|print" "*(n-1-y),(0..y).map{|x|~y&x>0?" .":" #{l}"},$/}
@cbrinker
cbrinker / gist:1248714
Created September 28, 2011 18:09
.screenrc
# ------------------------------------------------------------------------------
# SCREEN BOOLEANS
# ------------------------------------------------------------------------------
startup_message off # Show copyright during strartup?
deflogin off # Is window Logged in?
autodetach on # Autodetach upon hangup
crlf off # Copying of text regions with cr or just lf
vbell off # Visual Bell off, (Using Audio Bell)
defutf8 on # Run everything in unicode, allowing display of i18n
#nethack on # More entertaining messaging
@darwin
darwin / gist:d74ddce510f4a0b40b29
Created May 27, 2014 15:56
How to fix TotalFinder / Finder ghost window icons on Desktop (when dragging/tearing Finder's tab off)
osascript -e "tell application \"Finder\" to quit" && defaults write com.apple.finder DisableAllAnimations -bool false && defaults write com.apple.finder AnimateWindowZoom -bool true && defaults write com.apple.finder TotalFinderDontFixInstallerDefaults -bool true