Skip to content

Instantly share code, notes, and snippets.

View blakmatrix's full-sized avatar
🧿
You may be gone tomorrow, but that doesn't mean that you weren't here today.

❤️ Farrin Reid blakmatrix

🧿
You may be gone tomorrow, but that doesn't mean that you weren't here today.
View GitHub Profile

This is a follow-up to your previous request #12049 "[Public Cloud] Mr"

Farrin,

I have done some more digging on this, tried once more, and attached the error.

I work for BigCommerce Pty Ltd, and have had - both here and in the course of my career - extensive experience working with and developing software for ecommerce and for credit card payment systems, so please do not blow me

var redis = require('redis');
var client = redis.createClient(6479, 'nodejitsudb625902.redis.irstack.com');
client.auth('nodejitsudb625902.redis.irstack.com:f327cfe980c9b8e975fbebb4', function (err) {
if (err) { throw err; }
// You are now connected to your redis.
});
//client An existing redis client object you normally get from redis.createClient()
@blakmatrix
blakmatrix / gist:4287680
Created December 14, 2012 18:57
Using unix socket to test cert, key, and ca for validity/cert was issued by ca, and domain on per certificate matches given domain name
var path = require('path'),
fs = require('fs'),
net = require('net'),
crypto = require('crypto'),
tls = require('tls'),
util = require('util');
function checkCertDomain(certPem, keyPem, caPem, domain, cb) {
var sockPath = 'tls.sock',
var myPath = path.join(__dirname,'public');
fs.exists(mypath, function (exists) {
return exists ? null : mkdirp(myPath);
});
app.js
======
var routes = require('./routes')
, app = express()
, server = http.createServer(app)
, io = socketio.listen(server);
app.get('/events/:shortname', routes.event);
$ jitsu apps destroy blakmatrix/websockify --debug [17:42:07]
info: Welcome to Nodejitsu blakmatrix
info: jitsu v0.11.3, node v0.8.12
info: It worked if it ends with Nodejitsu ok
info: Executing command apps destroy blakmatrix/websockify
info: Destroying app blakmatrix/websockify
debug: { method: 'DELETE',
debug: uri: 'http://api.jitsu.com/apps/blakmatrix/websockify',
debug: headers:
debug: { Authorization: 'Basic Y0urMAma54ysH3LL0',
{
"name": "node-canvas-test",
"subdomain": "blakmatrix.node-canvas-test",
"scripts": {
"start": "index.js"
},
"version": "0.0.1-2",
"engines": {
"node": "0.8.x"
},
blakmatrix@redmorpheus: ~/projects/flatiron master
$ npm test [10:53:43]
> flatiron@0.2.8 test /Users/blakmatrix/projects/flatiron
> vows --spec
♢ flatiron
When using flatiron flatiron.plugins
# description identified
1 client times out yes
2 the server runs out of memory on a npm install (sometimes) no
3 The haibu on the drone is not running no
4 If there are zombies on the drone that need to be cleaned up no
5 If during the deploy the drone (related to client timeing out) takes to long to do the npm install (doesn't ENOMEM but just stalls) maybe
6 if the haibu is in a crash loop on the drone no
@blakmatrix
blakmatrix / gist:3758429
Created September 20, 2012 21:21
Nodejitsu package.json
{
"name": "distilledchaos",
"subdomain": "distilledchaos",
"domains": [
"distilledchaos.net",
"www.distilledchaos.net"
],
"version": "0.3.2-6",
"private": true,
"scripts": {