Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name youtube tweaks
// @description Add H.264 version link and .mp4 file link
// @namespace f99aq8ove.net
// @include http://*.youtube.com/watch?*
// ==/UserScript==
var video_file_url = function(fmt) {
var s = unsafeWindow.yt.getConfig("SWF_ARGS");
return "http://" + location.host + "/get_video?" +
@f99aq8ove
f99aq8ove / seq.pl
Created August 12, 2008 17:43
seq implementation in perl
#!/usr/bin/env perl
use strict;
use warnings;
my @args = @ARGV;
my %opt;
$opt{f} = '%g';
foreach (@args) {