Skip to content

Instantly share code, notes, and snippets.

View runvnc's full-sized avatar

Jason Livesay runvnc

View GitHub Profile
Tue Feb 11 17:48:40.095 [initandlisten] MongoDB starting : pid=8 port=27017 dbpath=/data/db/ 64-bit host=b6b59019575c
Tue Feb 11 17:48:40.095 [initandlisten] db version v2.4.9
Tue Feb 11 17:48:40.095 [initandlisten] git version: 52fe0d21959e32a5bdbecdc62057db386e4e029c
Tue Feb 11 17:48:40.095 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49
Tue Feb 11 17:48:40.095 [initandlisten] allocator: tcmalloc
Tue Feb 11 17:48:40.095 [initandlisten] options: { smallfiles: true }
Tue Feb 11 17:48:40.114 [initandlisten] journal dir=/data/db/journal
Tue Feb 11 17:48:40.114 [initandlisten] recover : no journal files present, no recovery needed
Tue Feb 11 17:48:40.402 [initandlisten] preallocateIsFaster=true 2.24
Tue Feb 11 17:48:40.720 [initandlisten] preallocateIsFaster=true 2.68
Tue Feb 11 17:48:40.095 [initandlisten] MongoDB starting : pid=8 port=27017 dbpath=/data/db/ 64-bit host=b6b59019575c
Tue Feb 11 17:48:40.095 [initandlisten] db version v2.4.9
Tue Feb 11 17:48:40.095 [initandlisten] git version: 52fe0d21959e32a5bdbecdc62057db386e4e029c
Tue Feb 11 17:48:40.095 [initandlisten] build info: Linux ip-10-2-29-40 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_49
Tue Feb 11 17:48:40.095 [initandlisten] allocator: tcmalloc
Tue Feb 11 17:48:40.095 [initandlisten] options: { smallfiles: true }
Tue Feb 11 17:48:40.114 [initandlisten] journal dir=/data/db/journal
Tue Feb 11 17:48:40.114 [initandlisten] recover : no journal files present, no recovery needed
Tue Feb 11 17:48:40.402 [initandlisten] preallocateIsFaster=true 2.24
Tue Feb 11 17:48:40.720 [initandlisten] preallocateIsFaster=true 2.68
@runvnc
runvnc / dinner
Created February 19, 2014 00:27
dinner
WELCOME TO THE REPORT. GOOD TO HAVE YOU WITH US.
NATION, I AM BOILING WITH RAGE. BECAUSE TODAY
[TAKE: OTS: OBAMA SIGNING EXEC ORDER]
PRESIDENT O-HANDOUT SIGNED AN EXECUTIVE ORDER RAISING THE MINIMUM WAGE FOR GOVERNMENT EMPLOYEES TO TEN DOLLARS AND TEN CENTS AN HOUR. THAT'S AN OUTRAGEOUS WASTE OF MY TAX DOLLARS. PLUS, THE ONLY THING I LIKE ABOUT GOING TO THE D-M-V IS KNOWING THAT THE WORKERS ARE AS MISERABLE AS I LOOK IN MY
[TAKE: OTS: HORRIBLE LICENSE PHOTO OF STEPHEN]
DRIVERS LICENSE PHOTO.
FOLKS, THIS IS JUST MORE PROOF THAT
[TAKE: OTS: OBAMA]
@runvnc
runvnc / gist:9362338
Created March 5, 2014 06:44
when it was a ttable[string, tsocket] didnt seem to find my ids
import httpserver, asyncio, sockets, strutils, tables, oids, cgi, msgqredis, marshal, hashes
var myrespq = ""
type TQueuedRequest = object
responseQueue*:string
requestId*:string
path*: string
query*: string
@runvnc
runvnc / gist:9423819
Created March 8, 2014 01:38
Not catching sigsegv
import msgqredis, marshal, cgi, auth, strutils, osproc, streams
var request: TQueuedRequest
var requestStr: string
var c: int = 1
when isMainModule:
echo("------------- NEW NEW procreq starting up. -------------")
while true:
@runvnc
runvnc / gist:9578737
Created March 16, 2014 04:53
Using ttyl and finished
import jester, strtabs, htmlgen, sockets, strutils, tables, oids, cgi, msgqredis, marshal, hashes, os, oicconf, oicutils
var myrespq = ""
type
TResponseObjects = TTable[string, PResponse]
var responseObjects: TResponseObjects = initTable[string, PResponse]()
proc uniqidstr():string =
#
#
# Nimrod's Runtime Library
# (c) Copyright 2012 Dominik Picheta
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
#
## This module implements a redis client. It allows you to connect to a
root@9d42833eff83:/# cat /var/log/mysql/error.log
140407 17:17:49 [Note] Plugin 'FEDERATED' is disabled.
140407 17:17:49 InnoDB: The InnoDB memory heap is disabled
140407 17:17:49 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140407 17:17:49 InnoDB: Compressed tables use zlib 1.2.7
140407 17:17:49 InnoDB: Using Linux native AIO
140407 17:17:49 InnoDB: Initializing buffer pool, size = 128.0M
140407 17:17:49 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
root@eac99c385c89:~# cat /var/log/mysql/error.log
140325 21:59:55 [Note] Plugin 'FEDERATED' is disabled.
140325 21:59:55 InnoDB: The InnoDB memory heap is disabled
140325 21:59:55 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140325 21:59:55 InnoDB: Compressed tables use zlib 1.2.7
140325 21:59:55 InnoDB: Using Linux native AIO
140325 21:59:55 InnoDB: Initializing buffer pool, size = 128.0M
140325 21:59:55 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
Verifying that +jasonlivesay is my openname (Bitcoin username). https://onename.io/jasonlivesay