- Phil Collins - In the Air Tonight
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
| λ ~work/photopipe/ master* jitsu deploy | |
| info: Welcome to Nodejitsu joemccann | |
| info: It worked if it ends with Nodejitsu ok | |
| info: Executing command deploy | |
| info: Analyzing your application dependencies in node app.js | |
| warn: Local version appears to be old | |
| warn: Your package.json version will be incremented for you automatically | |
| warn: About to write /Users/joemccann/Documents/workspace/photopipe/package.json | |
| warn: Using '*' as version for dependencies may eventually cause issues. | |
| warn: Please use specific versions for dependencies to avoid future problems. |
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
| info: Creating snapshot 0.0.1-11 | |
| info: Updating app photopipe | |
| info: Activating snapshot 0.0.1-11 for photopipe | |
| info: Starting app photopipe | |
| error: Error running command deploy | |
| error: Nodejitsu Error (500): Internal Server Error | |
| error: There was an error while attempting to deploy your application. | |
| error: | |
| error: NPM Install failed | |
| error: NPM failed to install dependencies |
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
| attwifinder:~# gdb node core.31195 | |
| GNU gdb (GDB) 7.4.1-debian | |
| Copyright (C) 2012 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
| and "show warranty" for details. | |
| This GDB was configured as "x86_64-linux-gnu". | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>... |
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
| export LANGUAGE=en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| export LC_ALL=en_US.UTF-8 | |
| locale-gen en_US.UTF-8 | |
| apt-get install locales | |
| dpkg-reconfigure locales |
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
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height:100%; |
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
| # You probably shouldn't use this | |
| rm -f `which redis-server` | |
| wget http://redis.googlecode.com/files/redis-2.4.10.tar.gz | |
| tar -xf redis-2.4.10.tar.gz | |
| cd redis-2.4.10 | |
| make && make install |
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
| # Redis configuration file example | |
| # Note on units: when memory size is needed, it is possible to specifiy | |
| # it in the usual form of 1k 5GB 4M and so forth: | |
| # | |
| # 1k => 1000 bytes | |
| # 1kb => 1024 bytes | |
| # 1m => 1000000 bytes | |
| # 1mb => 1024*1024 bytes | |
| # 1g => 1000000000 bytes |
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
| var clickType | |
| function normalizeClick(){ | |
| try { | |
| d.createEvent("TouchEvent") | |
| clickType = 'touchend' | |
| return true | |
| }catch (e){ | |
| clickType = 'click' | |
| return false |
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
| check process node with pidfile /etc/init.d/bouncy.node.pid | |
| start "/etc/init.d/yourApp start" | |
| stop "/etc/init.d/yourApp stop" | |
| if failed host 127.0.0.1 port 80 | |
| then restart |