Skip to content

Instantly share code, notes, and snippets.

View gregawoods's full-sized avatar

Greg Woods gregawoods

  • Mozilla
  • Indianapolis, IN
View GitHub Profile
@phoet
phoet / char_converter.rb
Last active September 27, 2015 21:48
converting characters that blow up our app
# config/initializers/char_converter.rb
require 'uri'
module Support
class CharConverter
def initialize(app)
@app = app
end
@LeverOne
LeverOne / LICENSE.txt
Created October 24, 2011 04:17 — forked from jed/LICENSE.txt
generate random v4 UUIDs (107 bytes)
DO WTF YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Alexey Silin <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WTF YOU WANT TO PUBLIC LICENSE
@ddeyoung
ddeyoung / 1. Install Bash Completion
Created October 18, 2011 01:12
Set git autocompletion and PS1 integration
# Install bash completion
$ brew install bash-completion
# Install Homebrew's own completion script:
$ ln -s "/usr/local/Library/Contributions/brew_bash_completion.sh" "/usr/local/etc/bash_completion.d"