Skip to content
View cbartlett's full-sized avatar

Sponsoring

@tpope

Highlights

  • Pro

Organizations

@StatusGator @vim-awesome @nimbleind @trackssl

Block or report cbartlett

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
cbartlett/README.md

Yo! 🤘 I'm Colin and I build stuff.

Pinned Loading

  1. colinabartlett.com colinabartlett.com Public

    Personal homepage and resume of Colin Bartlett

    CSS 2

  2. dotfiles_old dotfiles_old Public

    1

  3. Print Ruby Exception Hierarchy Print Ruby Exception Hierarchy
    1
    exceptions = []
    2
    tree = {}
    3
    ObjectSpace.each_object(Class) do |cls|
    4
      next unless cls.ancestors.include? Exception
    5
      next if exceptions.include? cls
  4. Kill whitespace! Kill whitespace!
    1
    find . -not \( -name .svn -prune -o -name .git -prune \) -type f -print0 | xargs -0 sed -i '' -E "s/[[:space:]]*$//"
  5. Remove unused local git branches Remove unused local git branches
    1
    git branch --merged master | grep -v ^\* | xargs git branch -d
  6. Convert Ruby hash syntax Convert Ruby hash syntax
    1
    find . -name \*.rb -exec perl -p -i -e 's/([^:]):(\w+)\s*=>/\1\2:/g' {} \;