Skip to content

Instantly share code, notes, and snippets.


Dryden Personalis drydenp

View GitHub Profile
drydenp /
Last active May 25, 2017
To be run from a cron job to create automatic commits for a git repository that is used to house subrepositories
unset int
[ -t 0 ] && int=yes
medium_minus_date="commit %H%nAuthor: %an <%ae>%n%n%w(0,4,4)%B"
csi=$(printf "\033["); w=${csi}1m; n=${csi}m
[ $# -eq 0 -o "$1" = "--help" ] && {
drydenp / sparsepack.c
Last active May 29, 2017
Temporary addition to a fleeting experience
View sparsepack.c
#include "sparsepack.h"
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
struct context {
char *cur_buf;
drydenp /
Created May 13, 2018
Graphical Password Dialog along the likes of Zenity and Yad, only a bit prettier
import gi
import sys
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import GLib
def log_handler(a, b, c, d):