The beer frigde is a trust-based organism that will die if the trust is not nurtured.
Beer in the fridge is fair game to every member of the trust, unless explicitly labeled.
#!/usr/bin/env python | |
import time | |
import random | |
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/timeout_sometimes') |
# cleanup all local branches that have been merged | |
git branch --delete $(git branch --merged | grep -v master) |
#!/usr/bin/env ruby | |
# workaround-upstart-snafu | |
# | |
# When lied to about the behavior of a job’s main process wrt. forking with the | |
# “expect” stanza, Upstart can get into a confused state where it’s tracking a | |
# nonexistent pid. | |
# | |
# This hack creates new short-lived processes until one gets the pid in | |
# question, then has its parent die so that it’s going to get reaped by pid 1 |
#!/bin/sh | |
# $Id: xvfb-run 2027 2004-11-16 14:54:16Z branden $ | |
# This script starts an instance of Xvfb, the "fake" X server, runs a command | |
# with that server available, and kills the X server when done. The return | |
# value of the command becomes the return value of this script, except in cases | |
# where this script encounters an error. | |
# | |
# If anyone is using this to build a Debian package, make sure the package |
.PHONY: deploy build static-upload | |
SHELL := /bin/bash | |
base_image := elbaschid/python-base | |
builder_image := elbaschid/django-builder | |
tester_image := elbaschid/django-tester | |
image := tutum.co/elbaschid/love-fear | |
image_version := $(shell python deployer.py bump_version) |
PEP-420 is explaining the differences between regular packages and namespace packages: https://www.python.org/dev/peps/pep-0420/
my
#!/bin/bash | |
# | |
# Install an application or library that uses a PKG installer | |
# wrapped inside a DMG archive. Takes the URL of the DMG and | |
# optionally the name of the downloaded file locally. | |
# | |
# ./auto_install_dmg.sh https://example.com/software/download/super_genius_tool_v1.2.dmg | |
set -uxe | |
download_url=${1:-"https://google.com/"} |