This file contains hidden or 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
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
This file contains hidden or 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
| /** | |
| * SocketManager - Singleton to manage multi-channel socket 'routing', need a way to merge with socket.io so client sessions aren't stored twice in memory, | |
| * | |
| * Requires Socket.IO-node and Socket.IO client libraries. | |
| * | |
| * Usage: | |
| * in your main app.js file (or whereever you create the server) | |
| * | |
| * var io = require('socket.io'), | |
| * sm = require('socketmanager'); |
This file contains hidden or 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
| ;; | |
| ;; Emacs smart tabs functionality | |
| ;; Intelligently indent with tabs, align with spaces! | |
| ;; | |
| ;; Note: Indenting only uses tabs when indent-tabs-mode is non-nil, | |
| ;; otherwise it uses spaces as usual. | |
| ;; | |
| ;; To use: save as smarttabs.el in your .emacs.d directory, and add | |
| ;; "(require 'smarttabs)" to your .emacs file. | |
| ;; |
NewerOlder