Skip to content

Instantly share code, notes, and snippets.

@jaqque
jaqque / keybase.md
Created October 9, 2017 17:18
Keybase Proof

Keybase proof

I hereby claim:

  • I am jaqque on github.
  • I am jaqque (https://keybase.io/jaqque) on keybase.
  • I have a public key ASBEY_qbOsfqCODyLOhbQksmcoanwCFZnziHfk9yOcz9oQo

To claim this, I am signing this object:

#!/bin/sh
# Add two single digits
case $1 in
0)
case $2 in
0) echo 0;;
1) echo 1;;
2) echo 2;;
@jaqque
jaqque / emoticon.txt
Last active March 7, 2017 19:11
CIA Emoticons
Japanese style Faces
¢‿¢
©¿© o
ª{•̃̾_•̃̾}ª
¬_¬
¯\(º_o)/¯
¯\(º o)/¯
¯\_(⊙︿⊙)_/¯
@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/
}
@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

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);
#!/bin/bash
# Usage: uninstall-fusion
remove() {
entry="$1"
if [[ ! -e "$entry" ]]; then
return
fi
@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;
@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"