Skip to content

Instantly share code, notes, and snippets.

View reidab's full-sized avatar
🚠

Reid Beels reidab

🚠
View GitHub Profile

Keybase proof

I hereby claim:

  • I am reidab on github.
  • I am reidab (https://keybase.io/reidab) on keybase.
  • I have a public key whose fingerprint is 8948 5DCA D6CA A1C8 A540 0E25 ED1F 4391 D763 A47D

To claim this, I am signing this object:

@reidab
reidab / ocw_routes
Created August 21, 2014 00:54
The output of `rake routes` for OpenConferenceWare
Routes for OpenConferenceWare::Engine:
sign_in GET /sign_in(.:format) open_conference_ware/authentications#sign_in
sign_out GET /sign_out(.:format) open_conference_ware/authentications#sign_out
/auth/:provider/callback(.:format) open_conference_ware/authentications#create
auth_failure GET /auth/failure(.:format) open_conference_ware/authentications#failure
authentications POST /authentications(.:format) open_conference_ware/authentications#create
speakers_event GET /events/:id/speakers(.:format) open_conference_ware/events#speakers
stats_event_proposals GET /events/:event_id/proposals/stats(.:format) open_conference_ware/proposals#stats
event_proposals GET /events/:event_id/proposals(.:format) open_conference
# require 'rubygems'
# require 'fastercsv'
require 'csv'
ATTENDEE_CSV = 'Attendees.csv'
BADGE_CSV_OUTPUT = 'Badges.csv'
AttendeeStruct = Struct.new(:first_name,
:last_name,
:company,

Keybase proof

I hereby claim:

  • I am reidab on github.
  • I am reidab (https://keybase.io/reidab) on keybase.
  • I have a public key whose fingerprint is B95E D99C FA32 5789 E8A5 11C7 7C70 8F08 C58D 1328

To claim this, I am signing this object:

@reidab
reidab / map.geojson
Created August 12, 2013 18:14
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Export from FreshBooks for import into Fusion Invoice
#
# This will produce four CSV files in the import format specified at:
# http://docs.fusioninvoice.com/1.2/system-setup.html#importing-data
#
# To run this, you'll need ruby 1.9+ and the ruby-freshbooks gem installed.
#
# Customize the contstants below with your FreshBooks information,
# then run with `ruby freshbooks_to_fusion_invoices.rb`.
#
@reidab
reidab / gist:5484948
Created April 29, 2013 21:29
Copy {iView MediaPro | Microsoft Expression Media | PhaseOne MediaPro} Catalog Sets to XMP Hierarchical Keywords for import into Lightroom
# I had a batch of photos that I'd carefully cataloged using MediaPro's "Catalog Sets" feature,
# which I wanted to transfer into a Lightroom catalog. When you write metadata back to the original
# photo files in MediaPro, it writes the Catalog Sets as XMP data. Unfortunately, Lightroom ignores
# this data when importing the files.
#
# This exiftool invocation will copy the Catalog Sets tags to HierarchicalSubject, which lightroom
# will happily import as nested keywords. The two fields use the same format to store the nested data,
# so it's fairly straightforward. (One caveat that I found is that, while Lightroom reads this on
# initial import, it doesn't seem to update the keywords when reloading metadata for an
# already-imported file.
_________
/ ▲ \
\ ▲ ▲ /
---------
\ ^__^
\ (⁂⁂)\_______
(__)\ )\/\
||----w |
|| ||
http://transitboard.com/apps/tbdjs.html?appl[id]=SOFT:24B819DF2D5145978B5A865247BAEA77&appl[timezone]=America/Los_Angeles&stop[TriMet][772]=20&stop[TriMet][9299]=*&stop[TriMet][9301]=*&stop[TriMet][9303]=*&option[banner]=Paydici&option[font-size-adjust]=70&option[scroll-speed-adjust]=100&option[top]=0&option[left]=0&option[right]=0&option[bottom]=0&option[expert]=
#!/usr/bin/env ruby
# Delicious' export functionality currently exports a file that says
# all of your bookmarks were added at the current time, instead of the
# actual times when you saved them.
#
# This is annoying.
#
# This script will generate a compatible export file that has the correct dates.
#