Skip to content

Instantly share code, notes, and snippets.

View q's full-sized avatar
🥳

Corey Bertram q

🥳
  • Rokt
  • New York, NY
View GitHub Profile
@q
q / brew doctor
Created March 23, 2011 00:03
trying to install irssi
$ 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
@q
q / gist:2650654
Created May 10, 2012 02:41
brew fails to install libdnet
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 / gist:2712719
Created May 16, 2012 18:11
libdnet still fails...
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 / hello.py
Last active December 14, 2015 08:48
An example of how easy it is to standup a new Python service in the Netflix ecosystem.
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()

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: