Skip to content

Instantly share code, notes, and snippets.

📈
bigger on the inside

C J Silverio ceejbot

📈
bigger on the inside
Block or report user

Report or block ceejbot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ceejbot
ceejbot / npm-client-log
Created Mar 25, 2014
typical publish failure
View npm-client-log
opsbot|master ⇒ npm publish
npm http PUT https://registry.npmjs.org/opsbot
npm http 400 https://registry.npmjs.org/opsbot
npm ERR! publish Failed PUT 400
npm ERR! Error: illegal_database_name Name: 'error.html'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.: opsbot
npm ERR! at RegClient.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:237:14)
npm ERR! at Request.self.callback (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.EventEmitter.emit (events.js:98:17)
npm ERR! at Request.<anonymous> (/usr/local/Cellar/node/0.10.26/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.EventEmitter.emit (events.js:117:20)
@ceejbot
ceejbot / put-lylog.log
Last active Aug 29, 2015
all puts from lylog 3/26/2013
View put-lylog.log
[root@npm-lylog-1 ~]# cat `svcs -L npm-lylog` | grep PUT2014-03-25T12:10:01Z 188.134.78.99 "-" "PUT /mincer" 503 "node/v0.10.25 linux x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1233-FRA"
2014-03-25T12:10:03Z 101.119.17.213 "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lo80-LHR"
2014-03-25T12:10:05Z 95.31.23.72 "-" "PUT /grunt-user-story" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-am72-AMS"
2014-03-25T12:10:08Z 77.12.36.81 "-" "PUT /lake" 503 "node/v0.10.15 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1223-FRA"
2014-03-25T12:10:12Z 188.134.78.99 "-" "PUT /mincer" 503 "node/v0.10.25 linux x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1235-FRA"
2014-03-25T12:10:15Z 101.119.17.213 "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lo83-LHR"
2014-03-25T12:10:21Z 212.88.6.196 "-" "PUT /staticcharge" 503 "node/v0.10
@ceejbot
ceejbot / 503-lylog.log
Created Mar 25, 2014
503 log segment, 5:51am PDT 3/25/2014
View 503-lylog.log
[root@npm-lylog-1 ~]# tail -f `svcs -L npm-lylog` | grep 5032014-03-25T12:46:21Z 62.168.11.51 "-" "PUT /more-fs" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1222-FRA"
2014-03-25T12:46:31Z 62.168.11.51 "-" "PUT /more-fs" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1233-FRA"
2014-03-25T12:46:49Z 42.120.74.198 "-" "PUT /xtpl" 503 "node/v0.10.21 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-ty67-TYO"
2014-03-25T12:46:54Z 101.119.17.213 "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lcy1131-LCY"
2014-03-25T12:47:11Z 101.119.17.213 "-" "PUT /stylus-test-runner" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lcy1122-LCY"
2014-03-25T12:47:21Z 106.187.97.235 "-" "PUT /xtpl" 503 "node/v0.10.21 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-ty68-TYO"
2014-03-25T12:47:31Z 195.162.89.170 "-" "PUT /image-set-polyfill" 503 "
View keybase.md

Keybase proof

I hereby claim:

  • I am ceejbot on github.
  • I am ceej (https://keybase.io/ceej) on keybase.
  • I have a public key whose fingerprint is E89C 39C9 4390 77BF 93CA 0B83 C50C CAB0 EC67 50DF

To claim this, I am signing this object:

@ceejbot
ceejbot / nodebots_todo.md
Last active Dec 23, 2015
Things to do for nodebots day
View nodebots_todo.md
  1. Party rentals from here: ASERentals. Arrange on Monday if possible.
  2. Bottled water in quantity.
  3. Canned soda in quantity.
  4. Large plastic buckets for drinks.
  5. DAY BEFORE: Mail to all attendees with directions from 101 & suggestions for what to bring.
  6. DAY OF: Ice in bags. Maybe beer.
  7. DAY OF: Bring all your toys.
  8. DAY OF: Taco order mid-morning.
@ceejbot
ceejbot / stashwoes.md
Last active Mar 14, 2019
A summary of things I miss about Github when I use Stash.
View stashwoes.md

What I miss about github

See this Cloudup stream for visual references.

The short answer is that I miss everything. There is no comparing the two projects. Stash's feature set is a shadow of Github's.

What a project looks like on Github:

What a project looks like on Github

View gist:5678796
team-cave-newt:master* λ node camera.js
640
368
7.982560051722453e+83
640
368
2.516806656184071e+253
640
368
2.529804685642898e+79
@ceejbot
ceejbot / secure-client.js
Last active Dec 10, 2015
A node https server/client pair that uses client certs to authorize clients.
View secure-client.js
#!/usr/bin/env node
var fs = require('fs'),
https = require('https');
// We pass our client key & cert to the http agent,
// which we then use to make the request.
var agentOptions = {
key: fs.readFileSync('client.key'),
cert: fs.readFileSync('client.crt'),
@ceejbot
ceejbot / 1_problem.js
Created Aug 24, 2012
An error-handling pattern for node.js
View 1_problem.js
function functionThatMightThrow(input)
{
return JSON.parse(input);
}
function putTogetherSomeData(input, callback)
{
var result = {};
redis.get(input, function(err, reply)
@ceejbot
ceejbot / requester.js
Created Jun 9, 2012
ZeroMQ req socket example for node.js
View requester.js
var zmq = require('zmq');
var requester = zmq.socket('req');
requester.on('message', function(data)
{
console.log('got messsage: ' + data.toString('utf8'));
});
var endpoint = 'tcp://127.0.0.1:3009';
You can’t perform that action at this time.