Skip to content

Instantly share code, notes, and snippets.

@jrmehle
jrmehle / db_backup.sh
Last active September 20, 2017 23:23 — forked from bendavis78/db_backup.sh
A simple database backup / rotation / prune script
#!/bin/bash
# for use with cron, eg:
# 0 3 * * * postgres /var/db/db_backup.sh foo_db
if [[ -z "$1" ]]; then
echo "Usage: $0 <db_name> [pg_dump args]"
exit 1
fi

Keybase proof

I hereby claim:

  • I am jrmehle on github.
  • I am jrmehle (https://keybase.io/jrmehle) on keybase.
  • I have a public key ASDNms8zpJrit7vrAPMkc5aheCdGi0_nOgoL0-hih_IhPQo

To claim this, I am signing this object:

source 'https://rubygems.org'
gem 'rails', '4.2.3'
gem 'pg', '0.18.1'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails', '~> 4.0.3'
@jrmehle
jrmehle / Railsconf MPLS Bike Ride
Last active April 27, 2019 19:36
Details of a possible planned bike ride for those attending RailsConf 2019 in Minneapolis
Tweet: Any @railsconf attendees interested in a bike ride sometime next week? I'd love to show some folks around the trails along the river. We can keep the pace light. Willing to help figure out equipment rentals for out of town folks.
https://twitter.com/jrmehle/status/1121453494618198017
Date/Time: TBD, leaning towards Tuesday evening after day closing keynote (6:30ish?)
Distance: 10-15 miles
Routes:
Hyatt Regency to Minnehaha Falls (possible stop at Stone Arch) - 15 miles: https://goo.gl/maps/whujrFfT2AwBePWp9
Hyatt Regency to Lake Harriet (tour chain of lakes) - 10 miles: https://goo.gl/maps/fLzLHtXSPob2jftp9