Skip to content

Instantly share code, notes, and snippets.

@blanco
blanco / WTF_is_the_TdF.md
Last active July 6, 2023 17:46
A haphazardly put together guide to the Tour de France that asks the questions that I was thinking the first time I watched it and had no idea what was going on.

A complete newcomers guide to the Tour De France (2023 edition) by @blanco

Q: What is the Tour de France?
A: The Tour de France is a professional bicycling road race that takes place in France every July.

Q: That's it?
A: Not really, The Tour De France is a multi-stage race and one of Pro Cycling's three Grand Tours that take place each year. The other two are the Giro d'Italia (Italy in May) and the Vuelta a España (Spain in September). While just as challenging, the other two Grand Tours dont quite have the same prestigie and following as the TdF, probably because it's the longest running (since 1903).

Q: What do you mean by multi-stage race?
A: The tour de France takes place over 23 days, there are 21 stages and 2 rest days, each stage is itself a race. Winning a single stage of the Tour de France is an amazing accomplishment.

@blanco
blanco / dl-itunes-cover-art
Last active March 5, 2016 16:45
Download ITMS 600x600 and 1200x1200 to Downloads folder
#! /usr/bin/ruby
# This script will grab both 600 x 600 and 1200 x 1200 album art from ITMS and download it to
# the ~/Downloads folder. Copy the album’s ITMS URL to the clipboard before running the script.
# It should be an URL from iTunes, such as: "https://itunes.apple.com/us/album/sonic-highways/id910701272"
# updated 2016-03-05
# lives at: https://gist.github.com/blanco/9905779
require 'cgi'