I hereby claim:
- I am afresh1 on github.
- I am afresh1 (https://keybase.io/afresh1) on keybase.
- I have a public key whose fingerprint is 5B9A 7176 B30A 8D42 37D6 B9B3 4811 F661 BF7B CEAD
To claim this, I am signing this object:
http://soekris.com/products/net4511.html | |
jp3 on the Soekris net4511 | |
pin -> gpio | |
3 -> 5 | |
4 -> 6 | |
5 -> 7 | |
6 -> 8 | |
7 -> 21 | |
8 -> 22 |
#!/bin/sh | |
# Andrew Fresh <andrew AT afresh1.com> - https://gist.github.com/afresh1 | |
# This uses qemu, so pkg_add qemu | |
# Download and extract flashrd, either from github or here: | |
# http://www.nmedia.net/flashrd/ | |
# Grab a flashrd image from here: | |
# http://www.nmedia.net/flashrd/images/ |
function calagatorFactory() { | |
var calagator = CalendarApp.getCalendarsByName('calagator')[0]; | |
var start = new Date(); | |
var end = new Date( start.getTime() + 7 * 24 * 60 * 60 * 1000 ); | |
var findCopiedEvent = function(cal, event) { | |
var copy; | |
var events = cal.getEventsForDay( event.getStartTime() ); | |
for (i in events) { |
package BingQuadkeys; | |
use Exporter qw(import); | |
use strict; | |
use warnings; | |
our @EXPORT_OK = qw( | |
clip | |
map_size | |
ground_resolution | |
map_scale |
#!/bin/sh | |
# find_network.sh - An OpenBSD Wireless Network configurator | |
# Looks for available networks listed at the end of the script | |
# Use this by adding "!/path/to/find_network.sh \$if" to your wlan hostname.if | |
if=$1 | |
if [ -z "$if" ]; then | |
echo "Usage: $0 interface" >&2 | |
exit 2; | |
fi |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# Copyright (c) 2013 Andrew Fresh <[email protected]> | |
# | |
# Permission to use, copy, modify, and distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
ulimit -n $(ulimit -Hn) | |
ulimit -d $(ulimit -Hd) | |
exec /usr/local/bin/firefox "$@" |
#!/bin/sh | |
if ! pgrep xlock >/dev/null 2>&1; then | |
xlock -lockdelay 0 -endCmd ssh-add & | |
sleep 1 | |
fi | |
sudo -k | |
ssh-add -D |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use 5.010; | |
use File::Find; | |
my %options_that_take_arguments = map { $_ => 1 } | |
qw( I P M e exec harness formatter source a archive j jobs state rc ); |