Skip to content

Instantly share code, notes, and snippets.

@dradford
dradford / bay_area_taildraggers.txt
Last active May 3, 2019 19:27
Bay Area Taildragger Rentals
This is a quickly compiled list of Bay Area taildraggers available for rent.
I scoured local club and school rentals and came up with this, however I'm sure there are more out there somewhere.
Please comment if you know of others and I'll add it to the list.
# Cheaper ($0 - $119)
------------------------
Aeronca 7AC Champion - N3675E - $91 - Red Sky Aviation - KLVK
Cessna 140 - N2394V - $91 - Red Sky Aviation - KLVK
Cessna 170B - N8245A - $106 - Aerodynamic Aviation - KRHV
Citabria 7ECA - N9091L - $109 - Aerodynamic Aviation - KRHV

Keybase proof

I hereby claim:

  • I am dradford on github.
  • I am famo (https://keybase.io/famo) on keybase.
  • I have a public key ASA95W27YDIWI1fqAfs2ZQIusSjUh2iaXKgydJuwX11Zgwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am dradford on github.
* I am famo (https://keybase.io/famo) on keybase.
* I have a public key whose fingerprint is F893 7D19 BE19 B8C5 CECC 5719 48B2 10AB 9B12 3DA6
To claim this, I am signing this object:
REVOKE CONNECT ON DATABASE dbname FROM PUBLIC, username;
SELECT
pg_terminate_backend(pid)
FROM
pg_stat_activity
WHERE
-- don't kill my own connection!
pid <> pg_backend_pid()
-- don't kill the connections to other databases
$ heroku pgbackups:capture -r ... --expired
$ heroku pgbackups:url b001
$ heroku pgbackups:restore DATABASE 'http://s3.amazonaws.com/.....mydb.dump?authparameters'
$ pg_restore --verbose --clean --no-acl --no-owner -h myhost -U myuser -d mydb latest.dump
@dradford
dradford / test_mobile_redirects.sh
Last active December 29, 2015 12:38
This file is a simple test harness to validate mobile redirects work. Add test cases at the bottom
# Script for testing whether mobile redirects work
#
# It allows you to pass a cookie for a mobile device
# that has chosen to use the desktop version, as per
# this article:
# http://www.cyberciti.biz/faq/setting-up-nginx-to-redirect-mobile-users-to-subdomain/
#
# The cookie is: force_dt_cookie="desktop=true"
#
# usage ./test_mobile_redirects.sh [base uri]