socket.emit('message', "this is a test");
io.emit('message', "this is a test");
| #!/bin/bash | |
| NAME="hello_app" # Name of the application | |
| DJANGODIR=/webapps/hello_django/hello # Django project directory | |
| SOCKFILE=/webapps/hello_django/run/gunicorn.sock # we will communicte using this unix socket | |
| USER=hello # the user to run as | |
| GROUP=webapps # the group to run as | |
| NUM_WORKERS=3 # how many worker processes should Gunicorn spawn | |
| DJANGO_SETTINGS_MODULE=hello.settings # which settings file should Django use | |
| DJANGO_WSGI_MODULE=hello.wsgi # WSGI module name |
| #!/bin/bash | |
| # run it as sudo yes | sh ubuntu_software_installer.sh | |
| # CURL | |
| sudo apt-get install curl | |
| # CHROME | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' |
| Sublime text 3 (Build 3100 to 3114) - license key [ tested on Mac OS ] | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
| B085E65E 2F5F5360 8489D422 FB8FC1AA |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| <?php | |
| /** | |
| * August 1, 2012 | |
| * | |
| * Jeff Bickart | |
| * Twitter: @bickart | |
| * Blog: http://sugarcrm-dev.blogspot.com/ | |
| * | |
| * The following is a example of usage of the tincheck.com web-service to test the ValidateTinName |
| I use the first | |
| —– BEGIN LICENSE —– | |
| Michael Barnes | |
| Single User License | |
| EA7E-821385 | |
| 8A353C41 872A0D5C DF9B2950 AFF6F667 | |
| C458EA6D 8EA3C286 98D1D650 131A97AB | |
| AA919AEC EF20E143 B361B1E7 4C8B7F04 |
| ============================= | |
| **http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
| **http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
| **http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
| **http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
| **http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
| *http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
| *http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |