I hereby claim:
- I am w-floyd on github.
- I am w_floyd (https://keybase.io/w_floyd) on keybase.
- I have a public key ASCaZdm18QVkuY7ad9hZ8k9aX9X7DSXxH9svYuUrMGw_3go
To claim this, I am signing this object:
#!/bin/bash | |
# split-pdf.sh <INPUT.pdf> <END_PAGE> | |
if [ -d "${1%.*}" ]; then | |
rm -r "${1%.*}" | |
fi | |
mkdir "${1%.*}" |
// Include the library | |
#include <Control_Surface.h> | |
// Instantiate a MIDI Interface to use | |
USBMIDI_Interface midi; | |
// Instantiate an analog multiplexer | |
CD74HC4051 mux = { | |
A0, // Analog input pin | |
{ 2,3, 4} // Address pins S0, S1, S2 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
__get_random_string () { | |
openssl rand -hex "${1}" | cut -c "1-${1}" | |
} | |
__my_vm='W10' |
Layout | Speed Sent | Speed Received | |
---|---|---|---|
←,↖,↖,↖ | 138 Mbits/sec | 168 Mbits/sec | |
←,↖,↖,↑ | 113 Mbits/sec | 177 Mbits/sec | |
←,↖,↖,↗ | 140 Mbits/sec | 211 Mbits/sec | |
←,↖,↖,→ | 131 Mbits/sec | 190 Mbits/sec | |
←,↖,↑,↑ | 90.6 Mbits/sec | 173 Mbits/sec | |
←,↖,↑,↗ | 142 Mbits/sec | 221 Mbits/sec | |
←,↖,↑,→ | 132 Mbits/sec | 215 Mbits/sec | |
←,↖,↗,↗ | 83.1 Mbits/sec | 171 Mbits/sec | |
←,↖,↗,→ | 89.8 Mbits/sec | 191 Mbits/sec |
################################################################################ | |
# ... | __zero_strip | |
################################################################################ | |
# | |
# Zero Strip | |
# | |
# A one-liner sed expression to nicely strip leading and trailing 0's from each | |
# line of piped input. | |
# | |
# For example: |
#!/bin/bash | |
ask() { | |
# https://djm.me/ask | |
local prompt default reply | |
while true; do | |
if [ "${2:-}" = "Y" ]; then | |
prompt="Y/n" |
#!/bin/bash | |
replace_baseplate_circle () { | |
if ! [ -e "${1}" ]; then | |
return 1 | |
fi | |
grep -qE '^ <linearGradient id="linearGradient[0-9]*" x1="1" x2="47" gradientUnits="userSpaceOnUse">$' < "${1}" || return 1 |
#!/bin/bash | |
replace_baseplate_circle () { | |
if ! [ -e "${1}" ]; then | |
return 1 | |
fi | |
grep -qE '^ <linearGradient id="linearGradient[0-9]*" x1="1" x2="47" gradientUnits="userSpaceOnUse">$' < "${1}" || return 1 |
#!/bin/bash | |
# This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
# on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
# It is originally by freese60 and modified by limemonkey. | |
# Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
# Further modified by pklaus, at <https://gist.github.com/pklaus/960672> | |
# Forked and mostly replaced by W-Floyd, <https://gist.github.com/W-Floyd/20a4c16ceb1e008cb995b7ff7dcc0a2a> | |
############################################################################### |