I hereby claim:
- I am brunsgaard on github.
 - I am brunsgaard (https://keybase.io/brunsgaard) on keybase.
 - I have a public key whose fingerprint is 233E 6E07 ABBF 691B 1FCD 6E91 726E 9CA9 BB93 EF6B
 
To claim this, I am signing this object:
| import timeit | |
| def test(setup, build, serialize, deserialize, number, entries, name): | |
| print('Testing {}: '.format(name)) | |
| build = build.format(n=entries) | |
| build_times = timeit.repeat(repeat=1, number=number, stmt=build, setup=setup) | |
| print('{:<20} {:>6} ms'.format('build datastructure:', int(min(build_times) * 1000))) | |
| setup = setup + build | |
| serialize_times = timeit.repeat(repeat=1, number=number, stmt=serialize, setup=setup) | |
| print('{:<20} {:>6} ms'.format('serialize:', int(min(serialize_times) * 1000))) | 
| import timeit | |
| def test(setup, build, serialize, deserialize, number, entries, name): | |
| build = build.format(n=entries) | |
| build_times = timeit.repeat(repeat=1, number=number, stmt=build, setup=setup) | |
| print('{:<20} {:>5} ms'.format('build datastructure:', int(min(build_times) * 1000))) | |
| setup = setup + build | |
| serialize_times = timeit.repeat(repeat=1, number=number, stmt=serialize, setup=setup) | |
| print('{:<20} {:>5} ms'.format('serialize:', int(min(serialize_times) * 1000))) | |
| setup = setup + serialize | 
| <?php | |
| require_once 'abstract.php'; | |
| class Mage_Shell_Clerk extends Mage_Shell_Abstract { | |
| public function run() { | |
| set_time_limit(0); | |
| $clerk_feed = Mage::getModel('clerk/feed'); | |
| $clerk_feed->buildFeeds(); | 
| #!/bin/bash | |
| FILES=" | |
| ./app/code/local/Clerk/SearchAndRecommendations | |
| ./app/design/frontend/base/default/template/clerk | |
| ./app/design/frontend/base/default/layout/clerk.xml | |
| ./app/etc/modules/Clerk_SearchAndRecommendations.xml | |
| ./app/locale/da_DK/Clerk_SearchAndRecommendations.csv | |
| ./app/locale/en_US/Clerk_SearchAndRecommendations.csv | |
| ./skin/frontend/base/default/clerk/styles.css | 
| from __future__ import division | |
| from itertools import product, combinations | |
| from random import Random, shuffle, uniform, random | |
| import math | |
| d = lambda (x1,y1), (x2,y2): math.sqrt((x2-x1)** 2 + (y2-y1) ** 2) | |
| graynode = r'\filldraw[fill={}, draw=black] ({},{}) circle [radius=1.50mm];' | |
| #grid = [(uniform(0, 10), uniform(0, 5)) for _ in range(100)] | |
| cpoint = [(3,2.5, 'v'), (7,2.5, 'u')] | 
| <link rel="import" href="../cool-clock/cool-clock.html"> | |
| <link rel="import" href="../paper-input/paper-input.html"> | |
| <link rel="import" href="../paper-checkbox/paper-checkbox.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../core-icons/av-icons.html"> | |
| <link rel="import" href="../paper-fab/paper-fab.html"> | |
| <polymer-element name="my-element"> | |
| <template> | 
| (ocmg)brunsgaard@archbook ~/o/httppost> py.test --cov-report term-missing --cov ocmg_httppost tests | |
| =========================================== test session starts =========================================== | |
| platform darwin -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3 | |
| plugins: cov, flask | |
| collected 37 items | |
| tests/test_app.py ... | |
| tests/test_schema.py ................. | |
| tests/test_utils.py ............. | |
| tests/api/test_factory.py ... | 
I hereby claim:
To claim this, I am signing this object:
| py.test --cov-report term-missing --cov httppost tests | |
| ================================= test session starts ================================== | |
| platform darwin -- Python 2.7.6 -- py-1.4.23 -- pytest-2.6.0 | |
| plugins: cov | |
| collected 12 items | |
| tests/test_utils.py ............ | |
| ------------------- coverage: platform darwin, python 2.7.6-final-0 -------------------- | |
| Name Stmts Miss Cover Missing | |
| ----------------------------------------------------------- | 
| #!/bin/bash | |
| hosts=( | |
| ftp.dk.debian.org | |
| ftp.cn.debian.org | |
| ) | |
| for host in ${hosts[@]}; do | |
| IP=`nslookup $host | sed 's/Address: //' | tail -n 2 | head -n 1` | |
| echo ==== TESTING $IP \($host\) ==== | |
| echo Ping: `ping -c 64 $IP | grep rtt` |