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
07:39:25 PM proc/s
07:39:26 PM 111.88
07:39:25 PM cswch/s
07:39:26 PM 898.02
07:39:25 PM CPU %user %nice %system %iowait %steal %idle
07:39:26 PM all 0.00 0.00 0.20 24.65 0.00 75.15
07:39:26 PM 0 0.00 0.00 0.00 42.57 0.99 56.44
07:39:26 PM 1 0.00 0.00 0.00 81.63 0.00 18.37
insert/s query/s update/s delete/s getmore/s command/s flushes/s mapped vsize res faults/s % locked % idx miss conn time
30 21 26 0 0 22 0 122981 124299 1898 17 0.971 0 98 19:18:02
30 23 18 0 0 24 0 122981 124339 1899 19 0.606 0 101 19:18:03
27 23 28 0 0 20 0 122981 124339 1899 10 0.749 0 100 19:18:04
17 9 24 0 0 8 0 122981 124279 1899 8 0.692 0 95 19:18:06
32 18 17 0 0 21 0 122981 124299 1900 9 0.66 0 98 19:18:07
29 16 19 0 0 20 0 122981 124329 1900 4 1.38 0 101 19:18:08
27 23 18 0 0 21 0 122981 124459 1901 6 0.534