I hereby claim:
- I am djtal on github.
- I am djtal (https://keybase.io/djtal) on keybase.
- I have a public key whose fingerprint is 4E98 ECA9 0B05 79C2 AE2B E3DC 2925 78A2 F141 D572
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
A Pen by Javan Makhmali on CodePen.
Mediator= | |
suscribers : {} | |
publish : (event, args...) -> | |
callback.call(args...) for callback in @suscribers[event] if @suscribers[event]? | |
suscribe : (event, callback) -> | |
@suscribers[event] = [] unless @suscribers[event]? | |
@suscribers[event].push(callback) |
# Rails 3 application template | |
# | |
# Inlcude : | |
# * haml form templating | |
# * twitter-bootrap for layout | |
# * underscore.js | |
# | |
# * simple_form | |
# | |
# Files for |
require 'rubygems' | |
require 'faraday' | |
require 'faraday_middleware' | |
@conn = Faraday.new(:url => 'http://www.boardgamegeek.com/xmlapi2/') do |faraday| | |
faraday.request :url_encoded # form-encode POST params | |
faraday.adapter Faraday.default_adapter # make requests with Net::HTTP | |
faraday.response :logger # log requests to STDOUT | |
faraday.response :xml, :content_type => /\bxml$/ | |
end |
Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.
Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.
To name a gist, touch its name in the toolbar.
You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.