Skip to content

Instantly share code, notes, and snippets.

View rbriank's full-sized avatar

Brian Kierstead rbriank

  • Kierstead Consulting, Inc.
  • Hamilton, ON
View GitHub Profile
Gem::Specification.new do |s|
s.name = 'bang'
s.version = '0.1.0'
s.platform = Gem::Platform::RUBY
s.author = 'Jeff Kreeftmeijer'
s.email = '[email protected]'
s.summary = 'Bang!'
s.description = 'Bangs existing model methods'
s.files = ['bang.rb']
@mandrasch
mandrasch / directive.js
Created April 26, 2012 10:55
JqueryFileUpload Directive (Beware quick & dirty!)
/* jqueryFileUpload-Plugin
https://github.com/blueimp/jQuery-File-Upload */
MYANGULARAPP.directive('myJqueryfileupload', function(){
return{
restrict:'E',
compile:function(el,attrs){
var compiler = this;
var elem = el;
// 2DO: serialize it from json?