Skip to content

Instantly share code, notes, and snippets.

View banjocat's full-sized avatar

Jack Muratore banjocat

View GitHub Profile
### Keybase proof
I hereby claim:
* I am banjocat on github.
* I am banjocat (https://keybase.io/banjocat) on keybase.
* I have a public key ASD1dBSGxizCa4wrncaT4LlkIKzg6ZedwuvlbnkdbW3GOQo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am banjocat on github.
  • I am banjocat (https://keybase.io/banjocat) on keybase.
  • I have a public key whose fingerprint is DE64 C949 FC03 A631 10E0 B661 B3B6 E57F 2DED 6DE3

To claim this, I am signing this object:

version: '2'
services:
bamboo:
image: mrbobbytables/bamboo
environment:
BAMBOO_BIND_ADDRESS: 0.0.0.0:8000
BAMBOO_ENDPOINT: 0.0.0.0:8000
BAMBOO_ZK_HOST: zookeeper:2181
BAMBOO_ZK_PATH: /bamboo
MARATHON_ENDPOINT: http://ip_to_marathon:8080
@banjocat
banjocat / install-gcc48-linuxbrew-centos6.md
Created November 18, 2016 04:30 — forked from stephenturner/install-gcc48-linuxbrew-centos6.md
Installing gcc 4.8 and Linuxbrew on CentOS 6

Installing gcc 4.8 and Linuxbrew on CentOS 6

The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.

Note: Requires sudo privileges.

Resources:

@banjocat
banjocat / Dockerfile
Last active November 7, 2016 20:06
uswgi docker
FROM python:2-alpine
RUN pip install --upgrade pip
RUN echo "http://nl.alpinelinux.org/alpine/v3.4/main" > /etc/apk/repositories
RUN apk update && apk add \
gcc \
musl-dev \
linux-headers
---
- name: Install requirements
apt: name={{item}}
with_items:
- apt-transport-https
- ca-certificates
- python-pip
- name: Add apt key
@banjocat
banjocat / django-cassandra-settings.py
Created May 6, 2016 19:02
Settings for django-cassandra local
DATABASES = {
'sqlite': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
},
'default': { # Run 'manage.py sync_cassandra'
'ENGINE': 'django_cassandra_engine',
'NAME': 'cassdb',
'USER': 'test',
@banjocat
banjocat / cassie.py
Created February 12, 2016 04:19
Hello wife
print "hello cassie"