View bezier.p8.txt
-- pico8 bezier demo https://github.com/ursetto | |
-- derived from https://twitter.com/freyaholmer/status/1063633408411295744 | |
w1=40 w2=w1+16 | |
p0={x=64-w1,y=90,c=8} | |
p1={x=64-w2,y=30,c=9} | |
p2={x=64+w2,y=30,c=10} | |
p3={x=64+w1,y=90,c=11} | |
◆={p0,p1,p2,p3} |
View zblookup.py
# coding: utf-8 | |
""" | |
Anki add-on providing Forvo and OS X dictionary lookup | |
of current selection or the 'Expression' field, | |
via context menu or hotkey. | |
J Ursetto 2018-01-05 | |
Original source: | |
Author: Artiom Basenko <demi.log@gmail.com> |
View check_mdraid_mismatch
#!/bin/bash | |
# stolen from https://www.thomas-krenn.com/en/wiki/Mdadm_checkarray | |
# template from http://www.juliux.de/nagios-plugin-vorlage-bash | |
# modified to work with more than one array by ursetto | |
set -e | |
WARN_LIMIT=$1 | |
CRIT_LIMIT=$2 |
View sgabios.sh
#!/bin/sh | |
# | |
# Download and build Google's sgabios, then create a .deb 'qemu-sgabios' | |
# which drops the ROM into qemu's ROM directory for use with '-device sga'. | |
# | |
# author: Jim Ursetto (http://3e8.org) | |
# license: public domain | |
# requires: fpm (https://github.com/jordansissel/fpm) | |
set -e |
View dia-0.97.2-dbarrow-optional.patch
diff --git a/objects/Database/reference.c b/objects/Database/reference.c | |
index 616d106..562c1dd 100644 | |
--- a/objects/Database/reference.c | |
+++ b/objects/Database/reference.c | |
@@ -107,7 +107,8 @@ static PropDescription reference_props[] = | |
PROP_STD_LINE_STYLE_OPTIONAL, | |
{ "corner_radius", PROP_TYPE_REAL, PROP_FLAG_VISIBLE, | |
N_("Corner radius"), NULL, &reference_corner_radius_data }, | |
- PROP_STD_START_ARROW, | |
+ { "start_arrow", PROP_TYPE_ARROW, PROP_FLAG_VISIBLE|PROP_FLAG_STANDARD|PROP_FLAG_OPTIONAL, \ |