I hereby claim:
- I am mrloop on github.
- I am mrloop (https://keybase.io/mrloop) on keybase.
- I have a public key whose fingerprint is 5941 DB3C 71BE E64A 7B58 1C63 B48C DA17 BABB C60A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| env = require('./config/environment.js') | |
| var args = process.argv.slice(2); | |
| var contentSecurityPolicy = env(args[0]).contentSecurityPolicy; | |
| cspStr = ''; | |
| for (var key in contentSecurityPolicy ){ | |
| cspStr = cspStr + key + " " + contentSecurityPolicy[key] + "; "; | |
| } | |
| console.log(cspStr); |
| ... | |
| Ember.run(function() { | |
| application = Application.create(attributes); | |
| application.register('adapter:application', Adapter); | |
| var store = DS.Store.extend({adapter: Adapter}); | |
| application.register('store:main', store); | |
| application.setupForTesting(); | |
| application.injectTestHelpers(); | |
| }); |
| Em.Handlebars.helper 'readable-date', (date, options)-> | |
| defaultFormat = "DD MMM YYYY h:mma" | |
| str = moment(date).format(defaultFormat) | |
| new Ember.Handlebars.SafeString(str) |
| #INSTALL node on your system | |
| sudo npm install -g ember-cli | |
| sudo npm install -g bower | |
| ember new my-project | |
| cd my-project | |
| bower install | |
| bower ember-cli-shims#0.0.3 not-cached git://github.com/stefanpenner/ember-cli-shims.git#0.0.3 | |
| bower ember-cli-shims#0.0.3 resolve git://github.com/stefanpenner/ember-cli-shims.git#0.0.3 |
| dragStart: (ev)-> | |
| myPromise.then (data)=> | |
| ev.dataTransfer.setData('application/json', data) |
| /*! Video.js v4.3.0 Copyright 2014 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */ | |
| (function() {var b=void 0,f=!0,h=null,l=!1;function m(){return function(){}}function p(a){return function(){return this[a]}}function r(a){return function(){return a}}var t;document.createElement("video");document.createElement("audio");document.createElement("track");function u(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(u.va[a])return u.va[a];a=u.u(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new u.Player(a,c,d)} | |
| var videojs=u;window.Wd=window.Xd=u;u.Qb="4.3";u.Dc="https:"==document.location.protocol?"https://":"http://";u.options={techOrder:["html5","flash"],html5:{},flash:{},width:300,height:150,defaultVolume:0,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}},notSupportedMessage:'Sorry, no compatible source and playback technology were found for |
| render "flash" |
| source 'https://rubygems.org' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.0.0' | |
| # Use sqlite3 as the database for Active Record | |
| gem 'sqlite3' | |
| # Use SCSS for stylesheets | |
| gem 'sass-rails', '~> 4.0.0' |
| { | |
| "basePath": "http://api-sentiment.3scale.net", | |
| "apiVersion": "v1", | |
| "apis": [ | |
| { | |
| "path": "/v1/word/{word}.json", | |
| "operations": [ | |
| { | |
| "httpMethod": "GET", | |
| "summary": "Returns the sentiment value of a given word", |