Skip to content

Instantly share code, notes, and snippets.

View kfr2's full-sized avatar
🌮
Hello!

Kevin Richardson kfr2

🌮
Hello!
View GitHub Profile
@kfr2
kfr2 / dracula.yaml
Created May 20, 2026 19:12
Dracula skin for Hermes agent
name: dracula
description: Dracula color scheme — purple and pink with dark backgrounds
colors:
banner_border: "#bd93f9"
banner_title: "#ff79c6"
banner_accent: "#8be9fd"
banner_dim: "#6272a4"
banner_text: "#f8f8f2"
ui_accent: "#bd93f9"
@kfr2
kfr2 / dracula.json
Created May 18, 2026 19:34
Dracula theme for pi.dev
{
"$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
"name": "dracula",
"vars": {
"bg": "#282a36",
"currentLine": "#44475a",
"fg": "#f8f8f2",
"comment": "#6272a4",
"cyan": "#8be9fd",
"green": "#50fa7b",
@kfr2
kfr2 / pure-footer.ts
Created May 18, 2026 19:21
A footer for pi.dev which emulates the Pure prompt
@kfr2
kfr2 / .Xresources
Created August 20, 2017 19:04
Monokai Dark Xresources
! exported from https://terminal.sexy
! special
*.foreground: #f8f8f2
*.background: #272822
*.cursorColor: #f8f8f2
! black
*.color0: #272822
*.color8: #75715e
### Keybase proof
I hereby claim:
* I am kfr2 on github.
* I am kfr2 (https://keybase.io/kfr2) on keybase.
* I have a public key ASBEf6RHo0tfbAMdqGucxD1kjaoFAXkmHB6jMsxUBgllgwo
To claim this, I am signing this object:
@kfr2
kfr2 / notifier.py
Last active March 14, 2016 13:27
send Codeship build notifications to OSX User Notifications
"""
Codeship build notifications via OSX User Notifications.
Requirements:
* python-requests
* terminal-notifier
Environment settings:
* CODESHIP_API_KEY -- get it from https://codeship.com/user/edit
* CODESHIP_REPO_NAME -- the full name of the repository to watch
@kfr2
kfr2 / policy.json
Created July 6, 2014 22:45
S3 bucket access IAM policy
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Action": "s3:*",
"Effect": "Allow",
@kfr2
kfr2 / victory.coffee
Created June 23, 2014 22:26
Have Hubot celebrate a successful build with a dance!
# Description:
# Celebrate a successful build with a victory dance!
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_DISABLE_VICTORY - if set, the victory dance shall not occur
#
# Commands:
@kfr2
kfr2 / gist.py
Last active December 17, 2015 08:29
A Pelican plugin to convert "[[ gist username:ID ]]" in an article into its embedded <script> equivalent.
import re
from pelican import signals
def gist(content):
"""Converts [[ gist username:ID ]] in an article into its embedded <script> equivalent."""
pattern = r'\[\[ gist (\w+):(\d+) \]\]'
replacement = r'<script src="https://gist.github.com/\1/\2.js"></script>'
content._content = re.sub(pattern, replacement, unicode(content._content))
@kfr2
kfr2 / README.rst
Created February 12, 2013 02:15 — forked from rduplain/README.rst
A demonstration of how to test Flask applications using fixtures with Flask-SQLAlchemy and Flask-Testing.

Demonstrate use of fixture with Flask-SQLAlchemy and Flask-Testing. February 13, 2011 Ron DuPlain <ron.duplain@gmail.com>

Post any feedback to: flask@librelist.org

Get this gist:

git clone git://gist.github.com/824472.git Flask-SQLAlchemy-Fixture
cd Flask-SQLAlchemy-Fixture