Skip to content

Instantly share code, notes, and snippets.

View nrb's full-sized avatar
🤔

Nolan Brubaker nrb

🤔
View GitHub Profile
@nrb
nrb / spam_horizon.sh
Created September 12, 2014 16:21
Reproduce Horizon bug #1345955
#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10000 ]; do
curl http://localhost:8081 & curl http://localhost:8081
let COUNTER=$COUNTER+1
echo "FINISHED ATTEMPT $COUNTER"
done
@nrb
nrb / hide_ads.css
Last active August 29, 2015 14:05
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
nrb / gist:7999216
Last active December 31, 2015 14:19
My PyCon 2014 talk proposal, for sharing.

*** 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
nrb / gist:3747300
Created September 19, 2012 02:27
"Hacerfest" notes for reference

Purpose

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.

Inspecting the available layers in GeoServer ...
Traceback (most recent call last):
File "/Users/nrb/dev/geonode/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
utility.execute()
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/nrb/dev/geonode/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
@nrb
nrb / gist:1189694
Created September 2, 2011 19:49 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
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