Skip to content

Instantly share code, notes, and snippets.

No longer a maintainer on Velero.

Nolan Brubaker nrb

No longer a maintainer on Velero.
View GitHub Profile
nrb / gist:1189694
Created Sep 2, 2011 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
View gist:1189694
Day job: Research programmer, will be freelancing full time come 9/12/2011
Favorite Python project: SQLAlchemy or NLTK
Favorite Conference: PyCon
Python Experience Level: Intermediate
View gist:1625379
Inspecting the available layers in GeoServer ...
Traceback (most recent call last):
File "/Users/nrb/dev/geonode/bin/", line 5, in <module>
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/", line 429, in execute_from_command_line
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/", line 379, in execute
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
nrb / gist:3747300
Created Sep 19, 2012
"Hacerfest" notes for reference
View gist:3747300


The goal of HacerFest is to set aside 48 hours (or really, however much you want), to not think about your day to day tasks, and focus on some creative project you've wanted to make or do.

What's it mean?

'Hacer' in the Spanish verb for 'to make' or 'to do'. It's a fantastic verb for creative work, which is often making or doing something.

nrb / gist:7999216
Last active Dec 31, 2015
My PyCon 2014 talk proposal, for sharing.
View gist:7999216

*** what about long term vs short term use? ***** Perceived Differences Between Devs and Designers

  • Developers don't have to worry about design
    • Or, only 'hybrids' have to.
  • Design is only the front-end part of the application
    • Maaaaybe architecture design ("Big Design Up Front"/BDUF)

Both of These are Wrong

nrb / hide_ads.css
Last active Aug 29, 2015
View hide_ads.css
/* Safari: Preferences > Advanced > User Stylesheet
Firefox: Insert into ~/Library/Application\ Support/Firefox/Profiles/<profile_id>/chrome/userContent.css
For myself, I keep the file in Dropbox, and I symlinked it into the FF location.
/* Hides Facebook ad divs, and the like button */
.ego_section { display: none; }
div#pagesNav { display: none; }
div#appsNav { display: none; }
nrb /
Created Sep 12, 2014
Reproduce Horizon bug #1345955
while [ $COUNTER -lt 10000 ]; do
curl http://localhost:8081 & curl http://localhost:8081
View horizon
iff --git a/lib/horizon b/lib/horizon
index 614a0c8..802b80a 100644
--- a/lib/horizon
+++ b/lib/horizon
@@ -92,6 +92,8 @@ function init_horizon {
local local_settings=$HORIZON_DIR/openstack_dashboard/local/
cp $HORIZON_SETTINGS $local_settings
+ _horizon_config_set $local_settings "" COMPRESS_OFFLINE True
View gist:0932f25f6ff42ebe53a6
py26 inst-nodeps: /Users/nola7999/projects/oslo.config/.tox/dist/
py26 runtests: PYTHONHASHSEED='3510259001'
py26 runtests: commands[0] | python testr --slowest --testr-args=
running testr
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m discover -t ./ . --list
db type could not be determined
error: testr failed (3)
ERROR: InvocationError: '/Users/nola7999/projects/oslo.config/.tox/py26/bin/python testr --slowest --testr-args='
nrb /
Created Jan 20, 2015
A nightfall/heroic strike information scraper
from functools import partial
import requests
import bs4
template = "%(strike)s. Modifiers: %(mods)s"
event_url = ''
def get_mods(soup, index):
mod_list ='ul')[index]
View gist:717af7b11a59b29e84c4
failed: [] => {"cmd": "/opt/helga/bin/pip install helga==1.5.1", "failed": true}
msg: stdout: Collecting helga==1.5.1
Downloading helga-1.5.1.tar.gz (73kB)
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-i0TfJo/helga/", line 43, in <module>
str(req.req) for req in parse_requirements('requirements.txt')
File "/opt/helga/local/lib/python2.7/site-packages/pip/req/", line 19, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'