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:
--indent-columns=8 | |
--entab-leading-whitespace=8 | |
--continuation-indentation=4 | |
--cuddled-else | |
--opening-sub-brace-on-new-line |
#!/bin/sh | |
basename $0 |& | |
IFS=- read -p name cmd | |
if [ -z "$cmd" -a $# -gt 0 ]; then | |
cmd=$1 | |
shift | |
fi | |
cmd=${cmd%svc} |
#!/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 ); |
#!/bin/sh | |
if ! pgrep xlock >/dev/null 2>&1; then | |
xlock -lockdelay 0 -endCmd ssh-add & | |
sleep 1 | |
fi | |
sudo -k | |
ssh-add -D |
#!/bin/sh | |
ulimit -n $(ulimit -Hn) | |
ulimit -d $(ulimit -Hd) | |
exec /usr/local/bin/firefox "$@" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# Copyright (c) 2013 Andrew Fresh <andrew@afresh1.com> | |
# | |
# 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. | |
# |
#!/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 |
package BingQuadkeys; | |
use Exporter qw(import); | |
use strict; | |
use warnings; | |
our @EXPORT_OK = qw( | |
clip | |
map_size | |
ground_resolution | |
map_scale |
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) { |