This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
def self.create_from_hash(registration_hash) | |
unless registration_hash || resigration_hash.empty? | |
return nil | |
end | |
provider = registration_hash[:provider] | |
info = registration_hash[:info] | |
user = User.new |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
{ | |
"name": "Github", | |
"description": "Github", | |
"version": "1.0", | |
"icons": { | |
"128": "128.png" | |
}, | |
"app": { | |
"urls": [ | |
"https://github.com/" |