Deploying HTML5 apps on CloudFront with efficient invalidation requests
So you decided to build your next web app/site using nothing but HTML5 and Javascript. No server side processing for…
So you decided to build your next web app/site using nothing but HTML5 and Javascript. No server side processing for…
Say you have some environment variables that you’d love to use as arguments of an executable in your project. 1.…
[javascript] Array.prototype.swap=function(a, b) { var tmp=this[a]; this[a]=this[b]; this[b]=tmp; } function quickSort(array,comparator) { qsort(array,0,array.length,comparator); } /** * NOTE: the comparator is…
[javascript] /** * Returns number starting from offset up to n-1 */ function getRandomWithOffset(n,offset) { return Math.floor(Math.random()*n+offset); } /** *…
It was about 15 years ago when I first created my first class. I went from thinking of Object Oriented…