Skip to content

Instantly share code, notes, and snippets.

View bolandrm's full-sized avatar

Ryan Boland bolandrm

View GitHub Profile
@kenjij
kenjij / Firebase.md
Last active November 2, 2022 20:41
Firebase REST authentication
View Firebase.md
View documents.rb
# config/routes.rb
resources :documents do
scope module: 'documents' do
resources :versions do
post :restore, on: :member
end
resource :lock
end
end
@rjz
rjz / cs-jq-plugin-template.coffee
Created September 3, 2012 17:01
Coffeescript jQuery Plugin Class Template
View cs-jq-plugin-template.coffee
# A class-based template for jQuery plugins in Coffeescript
#
# $('.target').myPlugin({ paramA: 'not-foo' });
# $('.target').myPlugin('myMethod', 'Hello, world');
#
# Check out Alan Hogan's original jQuery plugin template:
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template
#
(($, window) ->