Skip to content

Instantly share code, notes, and snippets.

Corey Bertram q

Block or report user

Report or block q

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am q on github.
  • I am cbertram (https://keybase.io/cbertram) on keybase.
  • I have a public key ASD2ia7uGG2nuG0Lz_CFTfHG5oDQks18EErJcx2kyogIuAo

To claim this, I am signing this object:

@q
q / hello.py
Last active Dec 14, 2015
An example of how easy it is to standup a new Python service in the Netflix ecosystem.
View hello.py
from netflix.service import BotoService, Route53Service
from netflix.service.bottle import BottleService, get
class HelloNflx(BottleService, Route53Service):
@get('/')
def index(self):
return "Hello from Netflix!"
if __name__ == "__main__":
HelloNflx.main()
@q
q / gist:2712719
Created May 16, 2012
libdnet still fails...
View gist:2712719
box:~ q$ brew install -v libdnet
==> Downloading http://libdnet.googlecode.com/files/libdnet-1.12.tgz
Already downloaded: /Library/Caches/Homebrew/libdnet-1.12.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/libdnet-1.12.tgz
==> autoreconf -ivf
autoreconf -ivf
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I config --force
config/acinclude.m4:7: warning: underquoted definition of AC_DNET_SOCKADDR_SA_LEN
@q
q / gist:2650654
Created May 10, 2012
brew fails to install libdnet
View gist:2650654
box:~ q$ brew install -v libdnet
==> Downloading http://libdnet.googlecode.com/files/libdnet-1.12.tgz
Already downloaded: /Library/Caches/Homebrew/libdnet-1.12.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/libdnet-1.12.tgz
==> aclocal --force -I config
aclocal --force -I config
config/acinclude.m4:7: warning: underquoted definition of AC_DNET_SOCKADDR_SA_LEN
config/acinclude.m4:7: run info Automake 'Extending aclocal'
config/acinclude.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:37: warning: macro 'AM_PROG_LIBTOOL' not found in library
@q
q / brew doctor
Created Mar 23, 2011
trying to install irssi
View brew doctor
$ brew doctor
/usr/bin is in your PATH before Homebrew's bin. This means that system-
provided programs will be used before Homebrew-provided ones. This is an
issue if you install, for instance, Python.
Consider editing your .bashrc to put:
/usr/local/bin
ahead of /usr/bin in your $PATH.
Some brews install binaries to sbin instead of bin, but Homebrew's
You can’t perform that action at this time.