Skip to content

Instantly share code, notes, and snippets.

View kurtiss's full-sized avatar

Kurtiss Hare kurtiss

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kurtiss on github.
  • I am kurtiss (https://keybase.io/kurtiss) on keybase.
  • I have a public key whose fingerprint is CBAB 0444 EE67 DA17 3126 98E9 FFFF D156 C351 4006

To claim this, I am signing this object:

#!/usr/bin/env python
import glob
import time
files = set()
positions = dict()
def _add_new_files(read = True):
global files
#!/usr/bin/env python
animals = ['Aardvark', 'Alligator', 'Ant', 'Anteater', 'Antelope', 'Ape', 'Armadillo', 'Donkey', 'Baboon', 'Badger', 'Barracuda', 'Bat', 'Bear', 'Beaver', 'Bee', 'Bison', 'Boar', 'Butterfly', 'Camel', 'Cat', 'Cattle', 'Cheetah', 'Chicken', 'Chimpanzee', 'Cobra', 'Cockroach', 'Cormorant', 'Cougar', 'Coyote', 'Crab', 'Crane', 'Crocodile', 'Crow', 'Deer', 'Dog', 'Dolphin', 'Donkey', 'Dove', 'Dragonfly', 'Duck', 'Eagle', 'Eel', 'Elephant', 'Elk', 'Falcon', 'Ferret', 'Finch', 'Fly', 'Fox', 'Frog', 'Gazelle', 'Gerbil', 'Panda', 'Giraffe', 'Goat', 'Goose', 'Gorilla', 'GuineaPig', 'Gull', 'Hamster', 'Hare', 'Hawk', 'Hedgehog', 'Heron', 'Hippo', 'Hornet', 'Horse', 'Human', 'Hyena', 'Iguana', 'Jackal', 'Jaguar', 'Jellyfish', 'Kangaroo', 'Komodo', 'Lark', 'Lemur', 'Leopard', 'Lion', 'Llama', 'Lobster', 'Loris', 'Louse', 'Magpie', 'Mallard', 'Manatee', 'Meerkat', 'Mink', 'Mole', 'Monkey', 'Moose', 'Mosquito', 'Mouse', 'Mule', 'Ostrich', 'Otter', 'Owl', 'Ox', 'Oyster', 'Panther', 'Partridge', 'Pelic
(playhaven-ops)[ kurtiss kurtiss-hares-macbook-pro ~/workspace/playhaven-ops ] pip install -r etc/pip/requirements.txt
Downloading/unpacking git+git://github.com/kurtiss/fablib.git#egg=fablib (from -r etc/pip/requirements.txt (line 3))
Cloning Git repository git://github.com/kurtiss/fablib.git to /var/folders/m-/m-+yxmXpE5CeH4bjY2wROU+++TI/-Tmp-/pip-_r6tWF-build
Running setup.py egg_info for package from git+git://github.com/kurtiss/fablib.git#egg=fablib
error: error in 'egg_base' option: 'pip-egg-info' does not exist or is not a directory
Complete output from command python setup.py egg_info:
running egg_info
error: error in 'egg_base' option: 'pip-egg-info' does not exist or is not a directory
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped vsize res faults/s locked % idx miss % q t|r|w conn time
35 35 20 0 0 1 0 188565 189361 25744 14 8 0 0|0|0 37 01:43:39
35 33 26 0 0 9 0 188565 189361 25744 19 31.1 0 0|0|0 37 01:43:40
29 27 29 0 0 7 0 188565 189361 25744 14 10.4 0 0|0|0 37 01:43:41
31 32 24 0 0 1 0 188565 189361 25745 19 13.1 0 0|0|0 37 01:43:42
44 43 34 0 0 1 0 188565 189361 25745 20 35.5 0 0|0|0 37 01:43:43
32 31 23 0 0 5 0 188565 189361 25745 11 14.8 0 0|0|0 37 01:43:44
29 31
02:13:31 AM proc/s
02:13:36 AM 89.58
02:13:31 AM cswch/s
02:13:36 AM 1021.64
02:13:31 AM CPU %user %nice %system %iowait %steal %idle
02:13:36 AM all 0.14 0.00 0.18 7.78 0.00 91.91
02:13:36 AM 0 0.40 0.00 0.80 34.27 0.00 64.53
02:13:36 AM 1 0.00 0.00 0.00 0.00 0.00 100.00
total used free shared buffers cached
Mem: 35007 34970 36 0 1 33867
Low: 35007 34970 36
High: 0 0 0
-/+ buffers/cache: 1101 33905
Swap: 0 0 0
Total: 35007 34970 36
This will take about 30 seconds...please be patient
===================================================
using port: 27017
fetching serverStatus #1
fetching db and collection stats
running iostat -x 2
running mongostat --host localhost:27017
running free -m
#### 'mongostat --host localhost:27017' failed to execute properly. check output for details
avg-cpu: %user %nice %system %iowait %steal %idle
1.41 0.00 0.32 3.25 0.05 94.97
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sda1 1.66 6.23 24.65 307601 1216692
sdb 0.00 0.01 0.00 577 168
sdo1 100.76 1823.29 1306.57 89987773 64485431
sdo2 100.91 1823.19 1307.68 89983016 64540285
sdo3 100.87 1823.19 1306.94 89982960 64503669
sdo4 100.81 1823.27 1306.62 89986844 64487894
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 2 0 32848 3120 34810540 0 0 1595 1331 169 118 1 0 95 3
0 2 0 35664 3120 34808112 0 0 67056 1311 4421 964 0 0 65 35
1 2 0 30680 3120 34813312 0 0 76291 1847 4993 1165 0 0 61 39
0 1 0 38620 3120 34798380 0 0 71059 855 4816 962 0 0 83 16
0 1 0 39168 3128 34804616 0 0 65787 19 3931 524 0 0 79 20
0 1 0 40096 3128 34802476 0 0 68538 24 4189 712 0 0 82 18
0 1 0 34504 3128 34803920 0 0 75829 29 4492 555 0 0 79 20
1 0 0 39920 3128 34804144 0 0 75342 18 4163 445 0 0 86 13