Skip to content

Instantly share code, notes, and snippets.

View bhundven's full-sized avatar

Bryan Hundven bhundven

View GitHub Profile
@bhundven
bhundven / KEYBASE.md
Created April 11, 2024 22:00
Keybase Proof

Keybase proof

I hereby claim:

  • I am bhundven on github.
  • I am bryanhundven (https://keybase.io/bryanhundven) on keybase.
  • I have a public key ASCYhZdivh0x3J0uJLWZCbdVEcYvK5O1tujNjqG9KEvsuQo

To claim this, I am signing this object:

@bhundven
bhundven / email_notifier.py
Last active August 9, 2021 09:21
python mutt+maildir notifier using python
#!/usr/bin/python2
# Based on: https://bbs.archlinux.org/viewtopic.php?pid=962423#p962423
# This version is modified to handle mailboxes with spaces in the names
import pyinotify
import pynotify
from os.path import expanduser
from mailbox import MaildirMessage
from email.header import decode_header
from gtk.gdk import pixbuf_new_from_file
@bhundven
bhundven / nineteen-wayland.sh
Last active January 21, 2019 20:21
Enlightenment 19 build script for Ubuntu/Debian with Wayland support.
#!/bin/bash
# vi: ts=4:sw=4:et
#
# NINETEEN.SH
# This script allows you to install/update Enlightenment 19 git version on
# Ubuntu Wily/15.10 or Debian stretch/sid, or remove E19 git from your system.
# ********************************************************************
# * This version builds enlightenment with wayland. *
# * That means this requires a very recent Ubuntu or Debian version. *
# * This may not work properly! You've been warned! *
@bhundven
bhundven / .bash_functions
Last active August 29, 2015 14:04
Handy way to add patches to quilt.
# vi: ts=4:sw=4:et:ai:ft=sh
quilt-add-patch ()
{
dir=$1;shift
patch_file=$1;shift
quilt new $(basename ${patch_file} | sed -e 's/\.diff//' | sed -e 's/\.patch//')
quilt add $(awk '/^---/{ print $2 }' "${dir}/${patch_file}" | sed -e 's/a\///')
patch -p1 < "${dir}/${patch_file}"
quilt refresh
@bhundven
bhundven / nineteen.sh
Last active November 22, 2023 17:06
Enlightenment 19 build script for Ubuntu/Debian
#!/bin/bash
# vi: ts=4:sw=4:et
#
# NINETEEN.SH
# This script allows you to install/update Enlightenment 19 git version on
# Ubuntu 14.04 LTS or Debian wheezy/sid, or remove E19 git from your system.
# Originally from: http://ubuntuforums.org/showthread.php?t=2203190
# By: Philippe J. Guillaumie (batden AT sfr DOT fr).
# Additional updates by: Bryan Hundven (bryanhundven AT gmail DOT com).
#