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

Keybase proof

I hereby claim:

  • I am ceejbot on github.
  • I am 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 / npm-client-log
Created Mar 25, 2014
typical publish failure
View npm-client-log
opsbot|master ⇒ npm publish
npm http PUT
npm http 400
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 / 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 "-" "PUT /more-fs" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1222-FRA"
2014-03-25T12:46:31Z "-" "PUT /more-fs" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1233-FRA"
2014-03-25T12:46:49Z "-" "PUT /xtpl" 503 "node/v0.10.21 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-ty67-TYO"
2014-03-25T12:46:54Z "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lcy1131-LCY"
2014-03-25T12:47:11Z "-" "PUT /stylus-test-runner" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lcy1122-LCY"
2014-03-25T12:47:21Z "-" "PUT /xtpl" 503 "node/v0.10.21 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-ty68-TYO"
2014-03-25T12:47:31Z "-" "PUT /image-set-polyfill" 503 "
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 "-" "PUT /mincer" 503 "node/v0.10.25 linux x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1233-FRA"
2014-03-25T12:10:03Z "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lo80-LHR"
2014-03-25T12:10:05Z "-" "PUT /grunt-user-story" 503 "node/v0.10.26 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-am72-AMS"
2014-03-25T12:10:08Z "-" "PUT /lake" 503 "node/v0.10.15 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1223-FRA"
2014-03-25T12:10:12Z "-" "PUT /mincer" 503 "node/v0.10.25 linux x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-fra1235-FRA"
2014-03-25T12:10:15Z "-" "PUT /stylus-test-runner" 503 "node/v0.10.20 darwin x64" "MISS" "74oXFmUymQt07TkgNctGkn--F_SkimDB" "cache-lo83-LHR"
2014-03-25T12:10:21Z "-" "PUT /staticcharge" 503 "node/v0.10
ceejbot / strace_example
Created Apr 2, 2014
output of `strace ls`
View strace_example
ubuntu@ip-172-31-40-117:~$ strace ls
execve("/bin/ls", ["ls"], [/* 19 vars */]) = 0
brk(0) = 0x67c000
access("/etc/", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f525ac75000
access("/etc/", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=22763, ...}) = 0
mmap(NULL, 22763, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f525ac6f000
close(3) = 0
ceejbot / gist:11231518
Last active Aug 29, 2015
installations of mime-1.2.11.tgz at 18:59
View gist:11231518
[root@npm-lylog-1 /var/svc/log]# grep mime site-npm-lylog\:default.log.1 | grep "1.2.11" | grep 18:59
2014-04-23T18:59:00Z "-" "GET /npm/public/registry/mime/_attachments/mime-1.2.11.tgz" 200 "node/v0.10.26 darwin x64" "HIT" "aws_" "cache-v42-ASH"
2014-04-23T18:59:00Z "-" "GET /mime/1.2.11" 304 "node/v0.10.26 win32 x64" "HIT" "shield__cache_c31_CHI__chi_il_us" "cache-c31-CHI"
2014-04-23T18:59:00Z "-" "GET /mime/1.2.11" 304 "node/v0.10.26 win32 x64" "HIT" "shield__cache_v36_ASH__ashburn_va_us" "cache-v36-ASH"
2014-04-23T18:59:00Z "-" "GET /mime/1.2.11" 304 "node/v0.10.26 sunos x64" "HIT" "shield__cache_lax1430_LAX__lax_ca_us" "cache-lax1430-LAX"
2014-04-23T18:59:00Z "-" "GET /mime/1.2.11" 304 "node/v0.10.26 sunos x64" "HIT" "shield__cache_v41_ASH__ashburn_va_us" "cache-v41-ASH"
2014-04-23T18:59:03Z "-" "GET /npm/public/registry/mime/_attachments/mime-1.2.11.tgz" 200 "node/v0.10.26 win32 ia32" "HIT" "aws_" "cache-hk93-HKG"

uselessd :: information system Edit RecentChanges Preferences Discussion logo

uselessd -- what it says on the tin, plus a complementary kitchen sink and flat tire

So, what is it?

uselessd (the useless daemon, or the daemon that uses less... depending on your viewpoint) is a project which aims to reduce systemd to a base initd, process supervisor and transactional dependency system, while minimizing intrusiveness and isolationism. Basically, it’s systemd with the superfluous stuff cut out, a (relatively) coherent idea of what it wants to be, support for non-glibc platforms and an approach that aims to minimize complicated design.

ceejbot / beam.js
Created Feb 23, 2012
ICanHaz rewritten to use mote.js & ender/jquery/zepto.
View beam.js
var beam = ((typeof module !== 'undefined') && module.exports) || {};
function trim(input)
if (''.trim) return input.trim();
else return input.replace(/^\s+/, '').replace(/\s+$/, '');
beam = {
ceejbot / majordomo.js
Created Jun 9, 2012
ZeroMQ router/dealer example for node.js
View majordomo.js
var zmq = require('zmq');
function Majordomo(options)
this.requests = zmq.socket('router');
this.requests.identity = 'majordomo:incoming:' +;
this.responders = zmq.socket('dealer');
this.responders.identity = 'majordomo:outgoing:' +;
if (options)
ceejbot / responder.js
Created Jun 9, 2012
ZeroMQ rep socket example for node.js
View responder.js
var zmq = require('zmq');
var responder = zmq.socket('rep');
responder.on('message', function(payload)
var data = JSON.parse(payload);
var response = {};
var keys = Object.keys(data);
for (var i = 0; i < keys.length; i++)
You can’t perform that action at this time.