Skip to content

Instantly share code, notes, and snippets.

View ctide's full-sized avatar

Chris Burkhart ctide

View GitHub Profile
imap@0.2.4 ./node_modules/imap
graceful-fs@1.0.1 ./node_modules/graceful-fs
flickr-js@0.0.1 ./node_modules/flickr-js
gdata-js@0.1.1 ./node_modules/gdata-js
mime@1.2.3 ./node_modules/mime
colors@0.5.0 ./node_modules/colors
underscore@1.1.7 ./node_modules/underscore
async@0.1.9 ./node_modules/async
eyes@0.1.6 ./node_modules/eyes
api-easy@0.2.3 ./node_modules/api-easy
curl -H "content-type: application/json" -d '{"data": [ { "obj" : {"id" : 500, "someData":"BAM"}, "type" : "new", "timestamp" : 1312325283581 }]}' http://localhost:8042/push/test
curl http://localhost:8042/push/test/getCurrent
curl http://localhost:8042/push/test/500
function parse_git_branch_and_add_brackets {
/usr/bin/git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/'
}
NM="\[\033[0;38m\]" #means no background and white lines
HI="\[\033[0;37m\]" #change this for letter colors
HII="\[\033[0;31m\]" #change this for letter colors
HIB="\[\033[0;32m\]" #change this for bg colors
SI="\[\033[0;33m\]" #this is for the current directory
IN="\[\033[0m\]"
[ctide@Chris-Burkharts-MacBook-Pro-2 /development/Locker/APps] [master]:~$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: MergedContacts (new commits)
[ctide@Chris-Burkharts-MacBook-Pro-2 /development/integral/site] [master]:~$ npm install -g forever
> daemon@0.3.2 preinstall /Users/ctide/.nvm/v0.4.11/lib/node_modules/forever/node_modules/daemon
> node-waf configure build
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
locker@0.0.0 /development/Locker
├── api-easy@0.2.3
├── async@0.1.9
├── clucene@0.1.2
├─┬ connect@1.1.4
│ ├── mime@1.2.2
│ └── qs@0.3.1
├── dropbox@0.3.1
├─┬ express@2.1.0
│ ├── mime@1.2.2
1 Sep 19:33:46 - info: [Links] a({"link":"http://www.facebook.com/photo.php?v=2392164203831"}) b({"link":"http://www.facebook.com/photo.php?v=2392164203831"})
1 Sep 19:33:46 - info: [Links] a({"link":"http://www.facebook.com/photo.php?v=2392164203831"}) b({})
1 Sep 19:33:46 - info: [Links] Going to add http://www.facebook.com/photo.php?v=2392164203831
1 Sep 19:33:46 - info: [Links] Added http://www.facebook.com/photo.php?v=2392164203831
1 Sep 19:33:46 - error: [Links] QUEUE SIZE: 3
var app = require('express').createServer();
var processInfo;
app.get('/', function(req, res) {
res.writeHead(200, {'content-type':'application/json'});
res.end(JSON.stringify(processInfo));
});
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk) {
render: function(config){
// default to empty
config = config || {};
var filteredCollection,
contactsEl, contactTemplate, contactsHTML,
searchFilter, addContactToHTML;
var that = this;
filteredCollection = this.collection;
15 Aug 17:46:51 - info: [Search] proxying GET /Me/search/query?q=ctide to http://localhost:18044//query?q=ctide
15 Aug 17:46:51 - error: [Locker Search]
15 Aug 17:46:51 - error: [Locker Search] undefined:1
15 Aug 17:46:51 - error: [Locker Search] pment/Locker/Me/
15 Aug 17:46:51 - error: [Locker Search] ^^
15 Aug 17:46:51 - error: [Locker Search] SyntaxError: Unexpected token ILLEGAL