Skip to content

Instantly share code, notes, and snippets.

View meqif's full-sized avatar

Ricardo Martins meqif

View GitHub Profile
// Browser Bookmarklet for HTML5 youtube viewer : http://neosmart.net/YouTube5/
javascript:window.location=%22http://neosmart.net/YouTube5?url=%22+encodeURIComponent(document.location)
@meqif
meqif / newpost.rb
Created August 4, 2009 12:22 — forked from al3x/newpost.rb
#!/usr/bin/env ruby
unless ARGV[0]
puts 'Usage: newpost "the post title"'
exit(-1)
end
blog_prefix = ENV['HOME'] + "/blagh/"
date_prefix = Time.now.strftime("%Y-%m-%d_%H-%M")
postname = ARGV[0].strip.downcase.gsub(/ /, '-')