Skip to content

Instantly share code, notes, and snippets.

Jade Meskill iamruinous

Block or report user

Report or block iamruinous

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
View keybase.md

Keybase proof

I hereby claim:

  • I am iamruinous on github.
  • I am jademeskill (https://keybase.io/jademeskill) on keybase.
  • I have a public key whose fingerprint is 2193 FEE4 5B4D B6E5 4C3F 4FA4 7348 357F E221 D551

To claim this, I am signing this object:

@iamruinous
iamruinous / mongodb-core-max-call-stack.js
Last active Dec 9, 2015
mongodb-core RangeError: Maximum call stack size exceeded
View mongodb-core-max-call-stack.js
var async, col, conn, max, mongojs;
async = require('async');
mongojs = require('mongojs');
max = 1000;
conn = mongojs("localhost/testmeout");
@iamruinous
iamruinous / gist:766bc1a9c00497b77a40
Created Sep 17, 2015
journalctl -b -u docker --no-pager
View gist:766bc1a9c00497b77a40
This file has been truncated, but you can view the full file.
-- Logs begin at Thu 2015-09-17 15:41:34 UTC, end at Thu 2015-09-17 20:19:43 UTC. --
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal systemd[1]: Started Docker Application Container Engine.
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal systemd[1]: Starting Docker Application Container Engine...
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal dockerd[786]: time="2015-09-17T17:13:26.822078733Z" level=info msg="Loading containers: start."
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal dockerd[786]: time="2015-09-17T17:13:26.822332995Z" level=info msg="Loading containers: done."
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal dockerd[786]: time="2015-09-17T17:13:26.822348369Z" level=info msg="Daemon has completed initialization"
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal dockerd[786]: time="2015-09-17T17:13:26.822366474Z" level=info msg="Docker daemon" commit=df2f73d-dirty execdriver=native-0.2 graphdriver=overlay version=1.7.1
@iamruinous
iamruinous / gist:2d95ee70983ede94db45
Created Sep 17, 2015
journalctl -b -t docker --no-pager
View gist:2d95ee70983ede94db45
This file has been truncated, but you can view the full file.
-- Logs begin at Thu 2015-09-17 15:41:34 UTC, end at Thu 2015-09-17 20:20:10 UTC. --
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[776]: Error response from daemon: no such id: docker-logentries
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[776]: Error: failed to kill containers: [docker-logentries]
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[792]: Error response from daemon: no such id: vulcand
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[792]: Error: failed to kill containers: [vulcand]
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[848]: Error response from daemon: no such id: journal-2-logentries
Sep 17 17:13:26 ip-172-31-23-161.us-west-2.compute.internal docker[848]: Error: failed to kill containers: [journal-2-logentries]
Sep 17 17:13:27 ip-172-31-23-161.us-west-2.compute.internal docker[878]: Error response from daemon: no such id: docker-logentries
View gist:51a657793a7726a94b2e
This file has been truncated, but you can view the full file.
-- Logs begin at Thu 2015-09-17 15:41:34 UTC, end at Thu 2015-09-17 20:21:02 UTC. --
Sep 17 17:13:11 localhost systemd-journal[104]: Runtime journal is using 8.0M (max allowed 752.1M, trying to leave 1.1G free of 7.3G available → current limit 752.1M).
Sep 17 17:13:11 localhost systemd-journal[104]: Runtime journal is using 8.0M (max allowed 752.1M, trying to leave 1.1G free of 7.3G available → current limit 752.1M).
Sep 17 17:13:11 localhost kernel: Initializing cgroup subsys cpuset
Sep 17 17:13:11 localhost kernel: Initializing cgroup subsys cpu
Sep 17 17:13:11 localhost kernel: Initializing cgroup subsys cpuacct
Sep 17 17:13:11 localhost kernel: Linux version 4.1.7-coreos (buildbot@ip-10-204-3-57) (gcc version 4.8.4 (Gentoo Hardened 4.8.4 p1.5, pie-0.6.1) ) #2 SMP Wed Sep 16 22:54:37 UTC 2015
View gist:a784cb4389954860252d
-- Logs begin at Thu 2015-08-27 21:46:14 , end at Sat 2015-08-29 01:03:22 . --
Aug 29 01:02:31 ip-172-31-21-157.us-west-2.compute.internal fleetd[24029]: DEBUG client.go:374: etcd: recv response from GET http://localhost:4001/v2/keys/_coreos.com/fleet/unit/eefa3340a628d1cf9177dbdd5c93568c0c2de85c?consistent=true&recursive=true&sorted=false: 200 OK
Aug 29 01:02:31 ip-172-31-21-157.us-west-2.compute.internal fleetd[24029]: DEBUG client.go:367: etcd: sending HTTP request GET http://localhost:4001/v2/keys/_coreos.com/fleet/unit/6b08e78ea4d89e6a7e550e918cb5b5b128fae9c3?consistent=true&recursive=true&sorted=false
Aug 29 01:02:31 ip-172-31-21-157.us-west-2.compute.internal fleetd[24029]: DEBUG client.go:374: etcd: recv response from GET http://localhost:4001/v2/keys/_coreos.com/fleet/unit/6b08e78ea4d89e6a7e550e918cb5b5b128fae9c3?consistent=true&recursive=true&sorted=false: 200 OK
Aug 29 01:02:31 ip-172-31-21-157.us-west-2.compute.internal fleetd[24029]: DEBUG client.go:367: etcd: sending HTTP request GET http://loca
View gist:4b5a6f839d433fbd8f2b
2015/08/29 00:36:00 DEBUG http.go:28: HTTP GET http://domain-sock/fleet/v1/units?alt=json
2015/08/29 00:36:09 DEBUG http.go:31: HTTP GET http://domain-sock/fleet/v1/units?alt=json 200 OK
2015/08/29 00:36:09 DEBUG http.go:28: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAACAA%3D%3D
2015/08/29 00:36:16 DEBUG http.go:31: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAACAA%3D%3D 200 OK
2015/08/29 00:36:16 DEBUG http.go:28: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAADAA%3D%3D
2015/08/29 00:36:21 DEBUG http.go:31: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAADAA%3D%3D 200 OK
2015/08/29 00:36:21 DEBUG http.go:28: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAAEAA%3D%3D
2015/08/29 00:36:30 DEBUG http.go:31: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAAEAA%3D%3D 200 OK
2015/08/29 00:36:30 DEBUG http.go:28: HTTP GET http://domain-sock/fleet/v1/units?alt=json&nextPageToken=ZAAFAA%3D%
View gist:35438554b3cd1ab387b5
2015/08/29 00:05:44 DEBUG fleetctl.go:273: Defaulting to --driver=etcd as --endpoint appears to be etcd
2015/08/29 00:05:44 DEBUG client.go:367: etcd: sending HTTP request GET http://172.17.42.1:2379/v2/keys/_coreos.com/fleet/machines?consistent=true&recursive=true&sorted=true
2015/08/29 00:05:44 DEBUG client.go:374: etcd: recv response from GET http://172.17.42.1:2379/v2/keys/_coreos.com/fleet/machines?consistent=true&recursive=true&sorted=true: 200 OK
2015/08/29 00:05:44 DEBUG client.go:367: etcd: sending HTTP request GET http://172.17.42.1:2379/v2/keys/_coreos.com/fleet/job/octoblu-tentacle-server-blue@2.service?consistent=true&recursive=true&sorted=false
2015/08/29 00:05:44 DEBUG client.go:374: etcd: recv response from GET http://172.17.42.1:2379/v2/keys/_coreos.com/fleet/job/octoblu-tentacle-server-blue@2.service?consistent=true&recursive=true&sorted=false: 200 OK
2015/08/29 00:05:44 DEBUG client.go:367: etcd: sending HTTP request GET http://172.17.42.1:2379/v2/keys/_coreos.com/fleet/unit/02d10e9b21c04b3
View octoblu-tentacle@.service
[Unit]
Description=octoblu-tentacle-server-green
Wants=vulcand.service
After=vulcand.service
[Service]
TimeoutStartSec=300
Restart=always
ExecStartPre=/usr/bin/etcdctl get /octoblu/tentacle-server/green/port || /usr/bin/echo "etcd did not contain /octoblu/tentacle-server/green/port" && exit 1
ExecStartPre=/usr/bin/etcdctl get /octoblu/tentacle-server/green/docker_url || /usr/bin/echo "etcd did not contain /octoblu/tentacle-server/green/docker_url" && exit 1
@iamruinous
iamruinous / gist:0b6ab3f8e74c6c0ebc29
Created May 25, 2015
Python Meshblu Pure Websocket Client
View gist:0b6ab3f8e74c6c0ebc29
import tornado.httpserver
import tornado.websocket
import tornado.ioloop
import tornado.web
import tornado.options
import sockjs.tornado
###
# Tornado Websocket Client Class
You can’t perform that action at this time.