I hereby claim:
- I am ef4 on github.
- I am ef4 (https://keybase.io/ef4) on keybase.
- I have a public key whose fingerprint is A5EA B010 448C D0B9 FD2A 287C 9E15 33D7 5A7D 3120
To claim this, I am signing this object:
me@redacted:~$ python | |
Python 2.7.3 (default, Mar 14 2014, 11:57:14) | |
[GCC 4.7.2] on linux2 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import ssl | |
>>> | |
[1]+ Stopped python | |
me@redacted:~$ ps | |
PID TTY TIME CMD | |
24815 pts/1 00:00:00 bash |
(function(){ | |
function useManifest(content){ | |
var tag; | |
var stylesheets = content.match(/\/css\/.*\.css/g); | |
for (var i=0; i<stylesheets.length; i++){ | |
tag = document.createElement('link'); | |
tag.href = stylesheets[i]; | |
tag.rel = "stylesheet"; | |
document.getElementsByTagName('head')[0].appendChild(tag); |
<iframe src="data:text/html;charset=utf-8,%3Cbody%3E%3Cscript%20src%3D%22https%3A%2F%2Fgist.github.com%2Fef4%2Ffe2e8e5b6e75266e3c2d.js%22%3E%3C%2Fscript%3E%3C%2Fbody%3E"> |
init(); | |
animate(); | |
function init() { | |
var output = document.createElement( 'div' ); | |
output.style.cssText = 'position: absolute; left: 50px; top: 300px; font-size: 100px'; | |
document.body.appendChild( output ); | |
var tween = new TWEEN.Tween( { x: 50, y: 0 } ) | |
.to( { x: 400 }, 2000 ) |
// "route" and "resource" are almost interchangeable. Both of these work fine: | |
this.route('people', function(){ | |
this.route('person', {path: '/:person_id'}) | |
}) | |
this.route('people', function(){ | |
this.resource('person', {path: '/:person_id'}) | |
}) |
this.route('flowers', function() { | |
this.route('index'); | |
this.route('error') | |
this.route('new'); | |
this.route('flower', { path: "/:flower_id" }); | |
}); |
export default Ember.Component.extend({ | |
didInsertElement: function() { | |
this.canvas = new fabric.Canvas(this.get('element')); | |
this.drawSomeStuffUsingCanvas(); | |
}, | |
updateSomething: Ember.observer('someField', function(){ | |
// Change canvas to reflect 'this.someField' | |
}) | |
}) |
I hereby claim:
To claim this, I am signing this object:
;; Flycheck JSCS | |
(flycheck-def-config-file-var flycheck-jscs javascript-jscs ".jscs.json" | |
:safe #'stringp) | |
(flycheck-define-checker javascript-jscs | |
"A JavaScript code style checker. | |
See URL `https://github.com/mdevils/node-jscs'." | |
:command ("jscs" "--reporter" "checkstyle" | |
(config-file "--config" flycheck-jscs) | |
source) | |
:error-parser flycheck-parse-checkstyle |