Skip to content

Instantly share code, notes, and snippets.

# Title Barcode Call Num Author Status Until Location Checkouts
1 The 318220275 BR430 Active 12-16-1989 cs 0
Catholic 74755 .C38 1992
Reformati
on :
Savonarol
a to
Ignatius
Loyola :
reform
@jaqque
jaqque / bashrc
Created June 6, 2014 18:23
Shell Assistant (friendlier command not found)
cmd_helper() {
#⌾ ⌾
/usr/bin/env uudecode <<'EOF'
begin 664 -
M(%]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7R`*
M+R`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@(%P*
M?$D@<V5E('EO=2=R92!T<GEI;F<@=&\@=7-E('1H92!T97)M:6YA;"#B@*8@
M?`I<7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?7U]?
M+PH@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@=@H@("`@
menu:
@echo "test -- run all tests"
ARGS=1 2 "3 4"
tests:=$(wildcard *sh)
.PHONY: menu test
test:
@echo Using ARGS: '$(ARGS)'
@jaqque
jaqque / build.sh
Created August 27, 2014 18:57
Build WindowMaker from git in a ramdisk
#!/bin/sh
DEST=/opt/wmaker
OLD=$DEST.old
UID=$(id -u)
GID=$(id -g)
BUILD=$(mktemp -d --tmpdir wmaker.XXXXXXXXXX)
VERSION=$(git rev-parse --verify --short HEAD)
# copy to temp
@jaqque
jaqque / patch_spigot.sh
Created September 9, 2014 23:40
Helper script for patching SpigotMC
#!/bin/sh
cd `dirname $0`
patcher='SpigotPatcher-1.0.jar'
source='spigot-1649.jar'
md5='f2edc09c45b1f80237602dc0d1b05969'
suffix='.bps'; # not actually used.
patch="$1"
@jaqque
jaqque / orderedpairs.c
Created December 15, 2014 19:30
"PNG" to Ordered Pairs
#include "image.h"
#include <stdio.h>
int main (void) {
int column;
int row;
char *data;
int pixel[4];
data=header_data;
#!/bin/bash
# Usage: uninstall-fusion
remove() {
entry="$1"
if [[ ! -e "$entry" ]]; then
return
fi
diff -ru vmhgfs-only.orig/inode.c vmhgfs-only/inode.c
--- vmhgfs-only.orig/inode.c 2014-11-18 03:07:13.000000000 +0100
+++ vmhgfs-only/inode.c 2014-12-23 22:47:15.783855237 +0100
@@ -1922,7 +1922,7 @@
p,
#endif
&inode->i_dentry,
- d_alias) {
+ d_u.d_alias) {
int dcount = hgfs_d_count(dentry);
@jaqque
jaqque / trimp raja shrimp.md
Last active August 29, 2015 14:23
Trimp Raja Shrimp! Transcript

Trimp Raja Shrimp

Captioning by Google

King Raja

Look at me to him
You doing all the sympathy
Look at Mutual in cubicle GM
Look at me look at me pickled shrimp

@jaqque
jaqque / ryml
Created September 20, 2016 20:55
#!/bin/zsh
# John H. Robinson, IV <[email protected]>
# 2016-09-20
MYNAME=${0##*/}
s='/'; # full-width solidus U+FF0F <http://www.fileformat.info/info/unicode/char/ff0f/>
help() {
rmate --help | sed s/rmate/$MYNAME/
}