This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Whiteboard cleaner: http://ipestov.com/one-cool-gist-whiteboardcleaner/ | |
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CanJS jQuery.fn.control | |
// | |
// http://canjs.com/docs/jQuery.fn.control.html | |
// | |
// The jQuery.fn.control method do not appear to work with string parameter | |
// | |
// | |
// Define Plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HTML | |
// | |
<html> | |
<head></head> | |
<body class="loading"></body> | |
</html> | |
// | |
// Template (layout.hbr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// doesn't work | |
App.ApplicationView = Ember.View.extend({ | |
didInsertElement: function() { | |
$(document).foundation(); | |
} | |
}); | |
// works | |
App.ApplicationView = Ember.View.extend({ | |
didInsertElement: function() { |
NewerOlder