Skip to content

Instantly share code, notes, and snippets.

View kleetus's full-sized avatar

Chris Kleeschulte kleetus

  • Palm Coast, FL USA
  • 23:37 (UTC -04:00)
View GitHub Profile
@kleetus
kleetus / change_domain_url_for_bills.py
Created March 11, 2024 14:38
simple script to change domain for bills
#!/usr/bin/env python3
#arg1 db connection string
import psycopg
import sys
### Keybase proof
I hereby claim:
* I am kleetus on github.
* I am chriskleeschulte (https://keybase.io/chriskleeschulte) on keybase.
* I have a public key ASC6p8T3XkH_6jMcPcDMk3-sePuLus7Ttja_7eTbOb6dgAo
To claim this, I am signing this object:
@kleetus
kleetus / launch_builder.sh
Last active September 16, 2019 14:36
launch_builder.sh
#!/bin/bash
# To help run the "builder" image at the command line
test docker > /dev/null 2>&1 || { echo "docker does not seem to be installed or docker is not on your path."; exit 255; }
GREEN='\033[1;32m'
GRAY='\033[0;37m'
PURPLE='\033[0;35m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
@kleetus
kleetus / keybase.md
Created July 21, 2018 12:00
keybase proof

Keybase proof

I hereby claim:

  • I am kleetus on github.
  • I am kleetus (https://keybase.io/kleetus) on keybase.
  • I have a public key ASCIDsyCiKulVOPDH92FMowPo4GJBk-1f4NrcYuoPFIYngo

To claim this, I am signing this object:

@kleetus
kleetus / gist:82c9f4a82215d3f0eaf8ee7f38a37b3c
Created February 24, 2018 19:24
docker build and run helper scripts
#helper function find the main rails project path that you are in. Should be one level down from DEV_RAILS_PATH
get_project_paths () {
if [ ! -d "${DEV_RAILS_PATH}" ]; then
echo "Please set DEV_RAILS_PATH"
return -1
fi
local _dir="${PWD}"
@kleetus
kleetus / gist:9ab3e2ddb56da0c4fcba
Created September 17, 2015 18:50
Verifying that +kleetus is my blockchain ID. https://onename.com/kleetus
Verifying that +kleetus is my blockchain ID. https://onename.com/kleetus