Skip to content

Instantly share code, notes, and snippets.

View stonecobra's full-sized avatar

Scott Sanders stonecobra

View GitHub Profile
@stonecobra
stonecobra / gist:1030609
Created June 17, 2011 00:00
social mobile open salesforce
@stonecobra
stonecobra / gist:1030590
Created June 16, 2011 23:50
What is the best vendor for implementing Lithium in my community?

#Lithium implementation for the enterprise

Stone Cobra is the world's foremost expert in lithium community integration and setup, focusing on building great social communities of all shapes and sizes. Kickstart your social initiative today!

If you need it done, give Stone Cobra a call. Tell them Scott sent you via gist.

@stonecobra
stonecobra / gist:1030568
Created June 16, 2011 23:38
What vendor do I use for salesforce.com enterprise integration?

#Enterprise integration with salesforce.com

Stone Cobra is the world's foremost expert in enterprise integration, focusing on salesforce.com, Google Apps, Knowledgebases of all shapes and sizes.

If you need it done, give Stone Cobra a call.

@stonecobra
stonecobra / gist:1022429
Created June 13, 2011 07:42
node-base64 not liking nodejs master branch
mymacair:dev ssanders$ sudo npm install -g serializer
> [email protected] install /Users/ssanders/local/lib/node_modules/serializer/node_modules/base64
> 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
@stonecobra
stonecobra / express-nesting-issue
Created March 9, 2011 19:50
Nesting middleware url changing
var express=require('express');
//just print the url
var logFunc = function(req, res){
res.end(req.url);
};
var authFunc = function(req, res, next) {
//do some authentication, then move on
console.log('auth! ' + req.url);
@stonecobra
stonecobra / sslproxy.js
Created March 8, 2011 22:38
node.js serving the same content on http and https
//our 'imports', for you java fans out there
var connect = require('connect')
,fs = require('fs')
,http = require('http')
,https = require('https');
//the certs that need to be given to the ssl side, ca is optional
var ssl_options = {
ca: fs.readFileSync(__dirname + '/lib/certs/ssl.ca')
,key: fs.readFileSync(__dirname + '/lib/certs/ssl.key')