Skip to content

Instantly share code, notes, and snippets.

View paulczar's full-sized avatar

Paul Czarkowski paulczar

View GitHub Profile
@paulczar
paulczar / recipe.md
Created May 14, 2019 21:30
beef fat biscuits (brisket biscuit?)

2 cups self raising flour 1/4 cups beef tallow 3/4 cups buttermilk 1/2 tsp salt

12 biscuits per serving

The beef tallow should be solid ... chop it into small cubes and freeze for a few hours.

Throw everything into food processor and pulse until just combined (or use a pastry cutter thingy, but who's got time for that).

Keybase proof

I hereby claim:

  • I am paulczar on github.
  • I am paulczar (https://keybase.io/paulczar) on keybase.
  • I have a public key ASApYOOV5DvOybPeYo1cMk3NQYUvp9GjBcTXAGdl0lZI3Qo

To claim this, I am signing this object:

variables:
env_vars:
HTTP_PROXY: http://proxy.local:8080
HTTPS_PROXY: http://proxy.local:8080
playbooks:
task:
- name: preflight checks
@paulczar
paulczar / ghe-authorized-keys
Created December 12, 2016 17:44
SSH authorized via GHE pub keys
#!/usr/bin/python
# set "AuthorizedKeysCommand /usr/local/bin/ghe-authorized-keys" in /etc/ssh/sshd_config
import sys
import requests
from requests.auth import HTTPDigestAuth
import json
@paulczar
paulczar / doing_xmas_wrong.md
Created December 25, 2015 23:34
running local registry backed by cloud files on carina
$ for i in 1 2 3; do
  docker run -d \
      --env constraint:node==bf76bea4-47ef-43ac-a7ae-67a6e6db15bd-n$i \
      -p 127.0.0.1:5000:5000 \
      --name registry-$i \
      -e REGISTRY_STORAGE=swift \
      -e REGISTRY_STORAGE_SWIFT_USERNAME=notreallyme \
      -e REGISTRY_STORAGE_SWIFT_PASSWORD=reallyismypasswordtho \
 -e REGISTRY_STORAGE_SWIFT_AUTHURL=https://identity.api.rackspacecloud.com/v2.0/ \
@paulczar
paulczar / gist:b1f42e1f70cd6ef1c687
Created September 23, 2015 23:34
rackspace firewall rules
root@test01:~# ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
Anywhere ALLOW 72.3.128.84
Anywhere ALLOW 69.20.0.1
Anywhere ALLOW 69.20.3.135
Anywhere ALLOW 120.136.34.22
So if you're in Austin for a few days for DevOps Days ATX and want some tips on where to eat... I'm not posting locations or hours or anything, you've got a google. Be aware though a lot of places are closed on mondays.
Barbecue
========
Texas barbecue is all about the brisket. The best way to eat it is to order 'Moist outside cut' but if you don't like fatty meat go for lean. Here's some great options :
Rudy's - This is a local chain. If you've never eaten Texas BBQ before this is probably the place to go. It's the IBM of BBQ, nobody ever got fired for buying it. Tell them its your first time and they'll carry on like a pork chop for a few minutes to embarrass you and then proceed to give you a little of each item to taste. The creamed corn here is where its at.
Franklin BBQ - Arguably the best Texas style BBQ in the world. but is it worth a 4-5 hour wait ? Let us know if you brave the lines.
import socket
print ("fqdn:", socket.getfqdn())
@paulczar
paulczar / fix_gecode.sh
Last active August 29, 2015 14:05
fix gecode for chefdk on ubuntu 14.04
#!/bin/bash
URL=http://ubuntu.cs.utah.edu/ubuntu/pool/universe/g/gecode
PACKAGES=(libboost1.54-dev_1.54.0-2ubuntu3_amd64.deb libgecode-dev_3.7.3-1_amd64.deb libgecodegist32_3.7.3-1_amd64.deb libgecodeflatzinc32_3.7.3-1_amd64.deb libgecode32_3.7.3-1_amd64.deb)
sudo apt-get -yq remove libgecode-dev
gem uninstall --force dep-selector-libgecode
for PKG in ${PACKAGES[@]}
do
@paulczar
paulczar / deis.yaml
Created August 16, 2014 15:59
Heat Template for installing DEIS
heat_template_version: 2013-05-23
description: Deploy a CoreOS cluster that tracks the Stable Channel
parameters:
count:
description: Number of CoreOS machines to deploy
type: number
default: 3
constraints: