Skip to content

Instantly share code, notes, and snippets.

View jimmystridh's full-sized avatar
👾

Jimmy Stridh jimmystridh

👾
View GitHub Profile

Checkout a new working branch

 git checkout -b <branchname>

Make Changes

 git add
 git commit -m "description of changes"

Sync with remote

@jimmystridh
jimmystridh / hipchat_bot.js
Created October 27, 2011 23:11 — forked from powdahound/hipchat_bot.js
Basic XMPP bot example for HipChat using node.js
// Basic XMPP bot example for HipChat using node.js
// To use:
// 1. Set config variables
// 2. Run `node hipchat_bot.js`
// 3. Send a message like "!weather 94085" in the room with the bot
var request = require('request'); // github.com/mikeal/request
var sys = require('sys');
var util = require('util');