Skip to content

Instantly share code, notes, and snippets.

View debianmaster's full-sized avatar
🏠
Hyderabad

chakra j debianmaster

🏠
Hyderabad
View GitHub Profile
@debianmaster
debianmaster / Phonegap - nodejs
Last active August 29, 2015 14:08
Phonegap - nodejs setup
## 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)
@debianmaster
debianmaster / movies.json
Last active August 29, 2015 14:09
movies
[
{
"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",
@debianmaster
debianmaster / docker commands
Last active August 29, 2015 14:10
Docker Utility commands
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
@debianmaster
debianmaster / workflows.js
Last active August 29, 2015 14:10
workflows.json
{
example:
{
name: 'example workflow',
chain: [
{
name: 'Print foo + bar',
timeout: 1,
retry: 1,
body: function (job, cb) {
@debianmaster
debianmaster / linux-commands
Created December 8, 2014 17:42
Linux Commands
To find all files greater than 50MB
`find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'`
@debianmaster
debianmaster / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@debianmaster
debianmaster / javascript_resources.md
Last active August 29, 2015 14:11 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • 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
@debianmaster
debianmaster / nodejs build fromsource
Created December 14, 2014 07:51
nodejs build from source
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
@debianmaster
debianmaster / ideas-node-modules
Created December 14, 2014 20:50
node-module-ideas
Create a text to mp3 converter
@debianmaster
debianmaster / important gists
Created December 15, 2014 02:39
Important Gists
AngularJs -- music player example
https://gist.github.com/anonymous/93b3f4669c78e6f6c698/