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
| <script type="text/javascript"> | |
| Event.observe(document,'dom:loaded',function(){ | |
| var flashvars = {}; | |
| flashvars.appname = '<%= SITE_NAME %>'; | |
| flashvars.appurl = '<%= site_with_protocol %>/desktop/Yammer.air'; | |
| flashvars.airversion = '1.5.3'; | |
| flashvars.imageurl = "/images/desktop_badge.png"; | |
| flashvars.jsonclickcallback = function(){ window.location = '<%= site_with_protocol %>#/Threads/index?type=following' }; | |
| var params = {}; | |
| params.bgcolor = "#FFFFFF"; |
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
| joel@macbuntu:~/src/npm$ sudo make uninstall | |
| node cli.js cache clean | |
| npm info it worked if it ends with ok | |
| npm info using npm@0.2.18 | |
| npm info using node@v0.4.2-pre | |
| npm ERR! sudon't! | |
| npm ERR! sudon't! Running npm as root is not recommended! | |
| npm ERR! sudon't! Seriously, don't do this! | |
| npm ERR! sudon't! | |
| npm ok |
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 http = require('http') | |
| ; | |
| http.createServer( function (req, res) { | |
| var client | |
| , proxy_request | |
| ; | |
| console.log('connection made - + ='); |
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
| node.js:116 | |
| throw e; // process.nextTick error, or 'error' event | |
| ^ | |
| Error: unterminated string literal: | |
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
| { | |
| "yamjs": { | |
| "yamjs-public.js": [ | |
| "lib/future/core.js" | |
| , "lib/future/adapters/jquery_adapter.js" | |
| , "lib/future/util.js" | |
| , "lib/libraries/swfobject.js" | |
| , "lib/constants.js" | |
| , "lib/global/plugin_initializers.js" |
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
| jklabo@WIN-7GVBD8GH9JQ ~/src/node | |
| $ ./configure | |
| Checking for program g++ or c++ : /usr/bin/g++ | |
| Checking for program cpp : /usr/bin/cpp | |
| Checking for program ar : /usr/bin/ar | |
| Checking for program ranlib : /usr/bin/ranlib | |
| Checking for g++ : ok | |
| Checking for program gcc or cc : /usr/bin/gcc | |
| Checking for gcc : ok | |
| Checking for library dl : yes |
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 DISPLAY=:0.0 | |
| export PATH=$PATH:/opt/local/bin:/opt/local/sbin | |
| export MANPATH=$MANPATH:/opt/local/man | |
| export PATH=/opt/ruby-enterprise-current/bin:$PATH | |
| export PATH=/opt/local/lib/postgresql84/bin:$PATH | |
| # For JSYammerDesktop | |
| export ADL_PATH=/users/jklabo/AdobeAIRSDK/bin/adl | |
| export ACOMPC_BIN=/users/jklabo/AdobeFlexSDK/bin/acompc | |
| export YAMJS_HOME=/Users/jklabo/src/yamjs |
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
| Jklabo:node master$ sudo ./configure | |
| Checking for program g++ or c++ : /usr/bin/g++ | |
| Checking for program cpp : /usr/bin/cpp | |
| Checking for program ar : /usr/bin/ar | |
| Checking for program ranlib : /usr/bin/ranlib | |
| Checking for g++ : ok | |
| Checking for program gcc or cc : /usr/bin/gcc | |
| Checking for program ar : /usr/bin/ar | |
| Checking for program ranlib : /usr/bin/ranlib | |
| Checking for gcc : ok |
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
| Object.prototype.later = function (time, methodName) { | |
| var args = Array.prototype.slice.apply(arguments, [2]) | |
| , func = this[ methodName ] | |
| ; | |
| setTimeout(function() { | |
| func.apply(self, args); | |
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
| function findBeer(words) { | |
| var search_terms = []; | |
| var rows = []; | |
| // | |
| // I want to assign a variable from the 'getResults' callback | |
| // to this: | |
| // | |