This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"foo": 42 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set rtp+=/usr/local/go/misc/vim | |
filetype plugin indent on | |
""" Turn off vi-compat mode | |
set nocompatible | |
""" Turn on coloring | |
syntax on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import novaclient.auth_plugin | |
from novaclient.v1_1 import client | |
novaclient.auth_plugin.discover_auth_systems() | |
auth_plugin = novaclient.auth_plugin.load_plugin(AUTH_SYSTEM) | |
c = client.Client(USER, | |
PASS, | |
TENANT, | |
AUTH_URL, | |
auth_plugin=auth_plugin, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup File "/opt/rackstack/822.0/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 1101, in init_host | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup self._init_instance(context, instance) | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup File "/opt/rackstack/822.0/nova/lib/python2.7/site-packages/nova/compute/manager.py", line 1006, in _init_instance | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup context, instance, net_info, block_device_info) | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup File "/opt/rackstack/822.0/nova/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2158, in resume_state_on_host_boot | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup self._hard_reboot(context, instance, network_info, block_device_info) | |
2014-07-07 21:18:54.984 30210 TRACE nova.openstack.common.threadgroup Fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am rconradharris on github. | |
* I am rconradharris (https://keybase.io/rconradharris) on keybase. | |
* I have a public key whose fingerprint is EA6B F9C5 D0C2 C9C9 929C C92F 319D 54D4 6170 8C68 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
ls = ! git for-each-ref --sort='-committerdate' --format='%(refname:short)' refs/heads | xargs -n1 -I{} git log -n1 --pretty=format:'%Cblue%cr%Creset%x09{}' {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day job: Developer on OpenStack | |
Favorite Python project: Other than OpenStack...PyParsing. Something I've wanted to do with it, but haven't had time, is use it to build a SQL beautifier similar to SQLinForm. | |
Favorite Conference: PyCon | |
Python Experience Level: Beginner Intermediate [ Advanced ] Dutch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Background] | |
Type=0 | |
Color=#191919 | |
ImageFile= | |
[Foreground] | |
Color=#191919 | |
Opacity=100 | |
Width=700 | |
Rounding=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(mptest)rconradharris@Richards-MacBook-Air:~/Documents/code/sandbox/multiprocessingtest$ uname -a | |
Darwin Richards-MacBook-Air.local 11.0.1 Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64 x86_64 | |
(mptest)rconradharris@Richards-MacBook-Air:~/Documents/code/sandbox/multiprocessingtest$ cat test_nose_multiprocessing_with_eventlet.py | |
import eventlet | |
eventlet.patcher.monkey_patch(socket=True) | |
(mptest)rconradharris@Richards-MacBook-Air:~/Documents/code/sandbox/multiprocessingtest$ nosetests --processes=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test gist |
NewerOlder