Skip to content

Instantly share code, notes, and snippets.

View rckclmbr's full-sized avatar

Joshua Braegger rckclmbr

View GitHub Profile
jbraeg-mbp:magma jbraeg$ git diff
diff --git a/orc8r/cloud/helm/orc8r/charts/nms/templates/etc/_nginx_proxy_ssl.conf.tpl b/orc8r/cloud/helm/orc8r/charts/nms/templates/etc/_nginx_proxy_ssl.conf.tpl
index d7c01459..995f50f8 100644
--- a/orc8r/cloud/helm/orc8r/charts/nms/templates/etc/_nginx_proxy_ssl.conf.tpl
+++ b/orc8r/cloud/helm/orc8r/charts/nms/templates/etc/_nginx_proxy_ssl.conf.tpl
@@ -3,6 +3,7 @@ server {
ssl on;
ssl_certificate /etc/nginx/conf.d/nms_nginx.pem;
ssl_certificate_key /etc/nginx/conf.d/nms_nginx.key.pem;
+ ssl_password_file /etc/nginx/conf.d/nms_nginx.password;
@rckclmbr
rckclmbr / echo.py
Created July 29, 2017 05:10
echo.py
import asyncio
from aiohttp import web
from cachetools import TTLCache
import json
import uuid
import pprint
cache = TTLCache(maxsize=10, ttl=300)
#!/usr/bin/env python3
import csv
import gzip
import os.path as path
from time import time, sleep
from urllib.request import urlretrieve
from geopy.distance import vincenty
import pyflightdata
#!/usr/bin/env python
import requests
import json
COLUMNS = [
{
"id":154418878,
"name":"Case Number",
"dataTypeName":"text",
def env_var(key, default=None):
"""Retrieves env vars and makes Python boolean replacements"""
val = os.environ.get(key, default)
if val == 'True':
val = True
elif val == 'False':
val = False
elif val == 'None':
val = None
return val

Keybase proof

I hereby claim:

  • I am rckclmbr on github.
  • I am rckclmbr (https://keybase.io/rckclmbr) on keybase.
  • I have a public key whose fingerprint is F1C2 F2CE 478F 623A B403 4823 25DE A61F 4B93 D467

To claim this, I am signing this object:

FROM ubuntu:14.04
MAINTAINER Josh Braegger "josh@gaiagps.com"
RUN apt-get -qq update
RUN apt-get install -q -y python-dev python-pip python-flup python-setuptools \
supervisor git-core libpq-dev supervisor \
libmemcached-dev python-pylibmc \
libgeos-c1 python-gdal curl \
libgd3 libgeoip1 libxslt1.1 \
software-properties-common python-gevent; \
FROM ubuntu:14.04
RUN apt-get -qq update; \
apt-get install -q -y python-dev python-pip python-flup python-setuptools \
supervisor git-core libpq-dev supervisor \
libmemcached-dev python-pylibmc \
libgeos-c1 python-gdal curl \
libgd3 libgeoip1 libxslt1.1 \
software-properties-common python-gevent; \
add-apt-repository ppa:nginx/development; \
# Download and extract the image
# This image can be any one of:
# https://developers.google.com/android/nexus/images
curl "https://dl.google.com/dl/android/aosp/occam-kot49h-factory-02e344de.tgz" | tar -xz
cd occam-kot49h
unzip image-occam-kot49h.zip
# Download simg2img.py, for creating a mountable image from system.img
@rckclmbr
rckclmbr / mkappenginevenv.sh
Created September 25, 2012 17:54 — forked from rmyers/mkappenginevenv.sh
Setup virtual env for appengine
#!/bin/bash
#
# Build a virtual environment suitable for running appengine.
# This uses virtualenvwrapper to make the virtual environment.
# Which you can activate with 'workon appengine'
#
# Everyone loves one-liners!
# Mac one-liner:
# $ curl -s https://raw.github.com/gist/3783418 | bash
#