- AWS Simple Storage Service, e.g. S3, is a “highly durable and available store” and can be used to reliably store application content such as media files, static assets and user uploads. It allows you to offload your entire storage infrastructure and offers better scalability, reliability, and speed than just storing files on the filesystem.
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
/** | |
* Class | |
*/ | |
var AsyncLoop = function(list,fn,customDelay){ | |
var listLength = list.length; | |
var i = 0; | |
var currentListItem = null; | |
var asyncDelay = customDelay || 0; |
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
(function (root, factory) { | |
if ( typeof define === 'function' && define.amd ) { | |
define([], factory(root)); | |
} else if ( typeof exports === 'object' ) { | |
module.exports = factory(root); | |
} else { | |
root.myPlugin = factory(root); | |
} | |
})(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |
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
/** | |
* Helper Utilities | |
*/ | |
//single element DOM utils | |
var DOM_UTILS = { | |
hasClass : function(element,className){ | |
if(this.isElementObj(element)) return !!element.className.match(new RegExp('(\\s|^)'+className+'(\\s|$)')); | |
}, | |
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
/** | |
* Object Extending Functionality | |
*/ | |
var extend = function(out) { | |
out = out || {}; | |
for (var i = 1; i < arguments.length; i++) { | |
if (!arguments[i]) | |
continue; | |
for (var key in arguments[i]) { |
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
connect: { | |
options: { | |
port: 9007, | |
// Change this to '0.0.0.0' to access the server from outside. | |
hostname: 'localhost', | |
livereload: 35729, | |
keepalive:true, | |
base: '.' | |
}, | |
livereload: { |
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
(function(){ | |
'use strict'; | |
angular | |
.module('app') | |
.directive('equals',valueEquals); | |
function valueEquals(){ | |
return { |
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
What do i want in a editor? | |
1.) Emmet for html and sass | |
2.) Proper Documentation extension | |
3.) Solarized theme ( theme support ) | |
4.) Javascript autocompletion | |
5.) Angular auto completion | |
6.) Snippets - html, sass, angular etc etc | |
7.) Git Integation ( Not necessary though ) | |
8.) Alignment |
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
// Implementation | |
// run key up event handler as debounced key down handlers | |
var | |
_debounceTimeout; // key debouncer required params | |
// Usage | |
debounceStart(function(){ | |
// Function which is to be debounced | |
}); |
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
1.) We can't access private members in methods that are added to the object at a later point. | |
2.) Writing Unit Tests for Private Functions |
OlderNewer