Skip to content

Instantly share code, notes, and snippets.

View alexfrieden's full-sized avatar

Alexander Frieden alexfrieden

  • Inari Agriculture
  • Somerville, MA
View GitHub Profile
@alexfrieden
alexfrieden / gist:7c9d2d1fb071687585ed
Last active August 29, 2015 14:19
graphgist example

A simple GraphGist

You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page.

Click on the Page Source button in the menu to see the source for this GraphGist!

Include a query console

mylist = []
mylist.append("alex")
mylist.append("adam")
mylist
#['alex', 'adam']
mylist.remove('alex')
mylist
#['adam']
@alexfrieden
alexfrieden / mongostatRedHat
Created July 29, 2014 14:44
mongostat on red hat
connected to: 127.0.0.1
insert query update delete getmore command flushes mapped vsize res faults locked db idx miss % qr|qw ar|aw netIn netOut conn time
*0 *0 *0 *0 0 1|0 0 224g 448g 22.9g 0 vcf:190.6% 0 0|0 0|1 62b 2k 2 10:21:20
*0 *0 *0 *0 0 1|0 0 224g 448g 22.9g 0 vcf:194.7% 0 0|0 0|1 62b 2k 2 10:21:21
*0 *0 *0 *0 0 1|0 0 224g 448g 22.9g 0 vcf:208.1% 0 0|0 0|1 62b 2k 2 10:21:22
*0 *0 *0 *0 0 1|0 0 224g 448g 22.9g 0 vcf:142.5% 0 0|0 0|1 62b 2k 2 10:21:23
*0 *0 *0 *0 0 1|0 1 224g 448g 22.9g 0 vcf:202.2% 0 0|0 0|1 62b 2k 2 10:21:24
*0 *0 *0 *0 0 1|0 0 224g 448g 22.9g 0 vcf:193.