- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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
## Prerequisites :-- | |
### Install nodejs | |
http://nodejs.org/dist/v0.10.33/x64/node-v0.10.33-x64.msi | |
### Install phonegap and ionic | |
npm install phonegap ionic -g | |
### Install android sdk (optional) |
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
[ | |
{ | |
"movieName": "1-Nenokkadine", | |
"movieId": "02", | |
"coverPage": "https://cdn3.iconfinder.com/data/icons/movie-video/512/Icon_32-256.png", | |
"songs": [ | |
{ | |
"singers": "Sri Soumya, Dinakar", | |
"stars": "", | |
"title": "Yem Chesthuvunna", |
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
remove all images which has temp in its name | |
docker rmi -f $(docker images | awk {'print $1,$3'} | grep temp | awk {'print $2'}) | |
for fig.yml | |
To make any changes effective following steps are needed | |
fig build imagename | |
fig stop | |
fig rm | |
fig up |
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
{ | |
example: | |
{ | |
name: 'example workflow', | |
chain: [ | |
{ | |
name: 'Print foo + bar', | |
timeout: 1, | |
retry: 1, | |
body: function (job, cb) { |
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
To find all files greater than 50MB | |
`find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'` |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
wget http://nodejs.org/dist/v0.10.33/node-v0.10.33.tar.gz | |
sudo tar -xzf node-v0.10.33.tar.gz | |
cd node* | |
./configure | |
make | |
make install |
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
Create a text to mp3 converter |
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
AngularJs -- music player example | |
https://gist.github.com/anonymous/93b3f4669c78e6f6c698/ |
OlderNewer