I hereby claim:
- I am jeshuaborges on github.
- I am jesh (https://keybase.io/jesh) on keybase.
- I have a public key whose fingerprint is 9C68 F163 CFEF 9DB5 C620 B50D 46DF A649 ABC8 8CD2
To claim this, I am signing this object:
http://img.youtube.com/vi/mVAxUMuhz98/0.jpg | |
https://www.youtube.com/watch?v=mVAxUMuhz98 | |
"use strict" | |
# # Globbing | |
# for performance reasons we're only matching one level down: | |
# 'test/spec/{,*/}*.js' | |
# use this if you want to recursively match all subfolders: | |
# 'test/spec/**/*.js' | |
module.exports = (grunt) -> | |
# Load grunt tasks automatically when they are required |
I hereby claim:
To claim this, I am signing this object:
"use strict" | |
# # Globbing | |
# for performance reasons we're only matching one level down: | |
# 'test/spec/{,*/}*.js' | |
# use this if you want to recursively match all subfolders: | |
# 'test/spec/**/*.js' | |
module.exports = (grunt) -> | |
# Load grunt tasks automatically |
service = new google.maps.places.AutocompleteService(); | |
service.getPlacePredictions({input: 'foo'}, function(predictions) { | |
console.warn(predictions); | |
}); |
class SessionsController < ApplicationController | |
rescue_from Mutations::ValidationException, with: :validation_handler | |
def create | |
with_param :session do |params| | |
session[:user_id] = SessionCreator.run! params | |
end | |
render_success | |
end |
$(function() { | |
$('#file').on('change', function(evt) { | |
var file = this.files[0], | |
store; | |
if( !file ) { | |
return; | |
} | |
store = new UploadStore(); |
require 'securerandom' | |
require 'active_support/json' | |
require 'active_support/core_ext/numeric/time' | |
require 'active_support/core_ext/numeric/bytes' | |
require 'active_support/core_ext/object/to_json' | |
class AWSPolicy | |
attr_reader :expiration, :path | |
class << self |
require 'tempfile' | |
class UploadStore | |
class File | |
attr_reader :file | |
# Public: | |
# | |
# file - Fog file. | |
def initialize(file) |
(function() { | |
var meta, store; | |
// Base | |
Ember.UploadStoreMixin = Ember.Mixin.create({ | |
url: '/uploads', | |
success: W.noop, | |
progress: W.noop, |