Skip to content

Instantly share code, notes, and snippets.

View zackkitzmiller's full-sized avatar
🏗️
Working from home

Zack Kitzmiller zackkitzmiller

🏗️
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zackkitzmiller on github.
  • I am zackkitzmiller (https://keybase.io/zackkitzmiller) on keybase.
  • I have a public key ASDe5yBGh-j4Psu6CaIakPGYNs-90m-C_cSABz05QMTd4Ao

To claim this, I am signing this object:

3 Doors Down
30 Seconds to Mars
311
The Academy Is...
Adema
AFI
Alien Ant Farm
Alkaline Trio
The All-American Rejects
Amazing Transparent Man
@zackkitzmiller
zackkitzmiller / code.py
Created November 13, 2020 22:38 — forked from ladyada/code.py
CircuitPython Countdown for MagTag Demo
import sys
import time
import board
import wifi
import socketpool
import adafruit_requests
import ssl
import rtc
import displayio
import terminalio
# paths
set fish_path $HOME/.oh-my-fish
set -x PATH /usr/local/bin /usr/local/share/npm/bin /usr/local/sbin ~/bin /usr/local/pear/bin $PATH
set -x DYLD_LIBRARY_PATH /usr/local/mysql/lib $DYLD_LIBRARY_PATH
set -x GHI_TOKEN "REDACTED"
set -x PYTHONPATH /usr/local/lib/python2.7/site-packages $PYTHONPATH
# Because of some bullshit in the listing feed
set -x STATSD_PORT 1
<?php
$env = $app->detectEnvironment(function() {
return getenv('[APPNAME]_ENV') ?: 'development';
});
<?php echo Form::open(array('url' => 'foo/bar', 'method' => 'post')); ?>
<form action="foo/bar" method="post">
@zackkitzmiller
zackkitzmiller / .htaccess
Last active December 18, 2015 18:29 — forked from dhrrgn/.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?_uri=$1 [L]
@zackkitzmiller
zackkitzmiller / test.php
Last active December 17, 2015 02:29 — forked from dongilbert/test.php
<?php
print_r(new DateTime('01/01/2012'));
/*
DateTime Object
(
[date] => 2012-01-01 00:00:00
[timezone_type] => 3
[timezone] => America/Chicago
)
function parse_git_branch {
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
function proml {
local BLUE="\[\033[0;34m\]"
local RED="\[\033[0;31m\]"
local LIGHT_RED="\[\033[1;31m\]"
local GREEN="\[\033[0;32m\]"
local LIGHT_GREEN="\[\033[1;32m\]"