Skip to content

Instantly share code, notes, and snippets.

View EdZilla's full-sized avatar

Ed Young EdZilla

  • SummitBid Technologies
  • Denver, Colorado
View GitHub Profile
@mojavelinux
mojavelinux / textile2asciidoc.rb
Last active September 13, 2019 12:43
A crude script to convert Textile documents to AsciiDoc. Some of the replacements are specific to markup that I use, but hopefully still useful.
#!/usr/bin/env ruby
if ARGV[0].nil?
$stderr.puts 'Must specify an input file'
exit 1
end
source = IO.read(ARGV[0])
title = nil
@tmcw
tmcw / disconnect.rb
Created July 22, 2011 04:06
bulk-export run data from Garmin Connect
#!/usr/bin/env ruby
## disconnect
# ./disconnect.rb -u yourusername
#
# This is a command-line utility for the bulk-downloading of run data from
# the connect.garmin.com web application, which has lackluster export
# capabilities.
#