Skip to content

Instantly share code, notes, and snippets.

View takai's full-sized avatar

Naoto Takai takai

View GitHub Profile
// ==UserScript==
// @name Remove HatenaBookmark Blockquote
// @namespace hatena
// @include http://b.hatena.ne.jp/*
// ==/UserScript==
var quotes = document.getElementsByTagName("BlockQuote")
for(var i = 0; i < quotes.length; i++) {
quotes[i].style.display = "none";
}
#!/usr/bin/ruby
# -*- mode: ruby; encoding: utf-8-unix -*-
require 'tmpdir'
origdir = Dir::pwd
target = File.expand_path(ARGV[0])
dir = File::dirname(target)
rar = File::basename(target)