https://github.com/Quasimondo/QuasimondoJS/tree/master/blur
http://stackoverflow.com/questions/19687846/using-a-div-to-blur-an-image-behind-it/19688466#19688466
http://abduzeedo.com/ios7-frosted-glass-effect-html-5-and-javascript
https://github.com/abduzeedo/ios7-blur-html5
http://html2canvas.hertzen.com/examples.html
http://codepen.io/Matori/pen/JFzok
http://fsasso.com/labs/blur/
https://css-tricks.com/frosting-glass-css-filters/
http://www.webdirections.org/blog/creating-ios-7-effects-with-css3-translucency-and-transparency/
http://abduzeedo.com/ios7-frosted-glass-effect-html-5-and-javascript
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
// This function returns an ObjectId embedded with a given datetime | |
// Accepts both Date object and string input | |
function objectIdWithTimestamp(timestamp) | |
{ | |
// Convert string date to Date object (otherwise assume timestamp is a date) | |
if (typeof(timestamp) == 'string') { | |
timestamp = new Date(timestamp); | |
} |
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
command-shift-P > Package > Package Generator: Generate Syntax Theme > mypackage | |
cd ~/.atom/packages/mypackage | |
apm login | |
apm develop mypackage | |
cd ~/github/mypackage | |
sudo chown -R username:wheel . | |
git commit -a -m 'checking everything in' | |
apm publish --tag v2.5.0 minor |
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
// the following will return an array of elements with ids set | |
$('[id]') | |
// so one would need something like this.... | |
var elements = $('[id]'); | |
var idsArray = []; | |
elements.forEach(function(element){ | |
idsArray.push(element.id); | |
}); |
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
@-webkit-keyframes spin { | |
0% { .transform(rotate(0deg)); } | |
100% { .transform(rotate(359deg)); } | |
} | |
@keyframes spin { | |
0% { .transform(rotate(0deg)); } | |
100% { .transform(rotate(359deg)); } | |
} | |
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
// Disables scroll except for allowed elements that prevent touchmove event propagation | |
$(document).on('touchmove', function(event){ | |
event.preventDefault(); | |
}); | |
// Elements which are allowed touchmove event (by stopping event propagation to document) | |
$('body').on('touchmove','.scrollable, nav', function(event) { | |
event.stopPropagation(); | |
}); | |
// Prevents scrollable elements from ever reaching the end of scroll, and thus prevents scroll overflow on ipad | |
$('body').on('touchstart','.scrollable', function(event) { |
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
https://carldanley.com/javascript-design-patterns/ | |
https://carldanley.com/js-factory-pattern/ | |
https://www.airpair.com/node.js/posts/top-10-mistakes-node-developers-make |
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
https://projects.tessel.io/projects/enviroreport-web-dashboard-for-climate-module | |
https://github.com/chaivrep/EnviroReport | |
http://blog.mongodb.org/post/65517193370/schema-design-for-time-series-data-in-mongodb |
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
First you'll need an NPM package. | |
http://www.bennadel.com/blog/2329-building-executable-scripts-for-the-mac-osx-command-line-with-node-js.htm | |
Then you'll need to publish it. | |
https://gist.github.com/coolaj86/1318304 | |
Then you'll need to add it to an atomsphere package. | |
https://github.com/awatson1978/meteor-cookbook/blob/master/cookbook/packages.md | |
````sh |
OlderNewer