This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// wedata utility for Greasemonkey | |
// usage | |
/* | |
// ==UserScript== | |
// @name foo bar | |
// @namespace http://baz.com | |
// @require http://gist.github.com/raw/34615/04333b7e307eb029462680e4f4cf961f72f4324c | |
// ==/UserScript== | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fc2_img_referer_hack | |
// @namespace http://d.hatena.ne.jp/javascripter/ | |
// @include http* | |
// ==/UserScript== | |
function refhack(parent) { | |
Array.forEach( | |
parent.querySelectorAll('a[href^="http://blog-imgs-"]'), | |
function (a) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# Eye-fi receiver | |
# -- An imcomplete implementation of Gallery Remote Protocol Server | |
# by SHIDARA Yoji <dara@shidara.net> | |
# | |
# see http://codex.gallery2.org/Gallery_Remote:Protocol | |
# | |
require 'fileutils' | |
require 'sinatra' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Net::TwitterStreamingAPI; | |
use utf8; | |
use strict; | |
use warnings; | |
use JSON; | |
use LWP::UserAgent; | |
use HTTP::Request; | |
use POE::Filter::Line; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# http://todeskin.g.hatena.ne.jp/eigokun/20090902/1251903150 | |
# TODO: cache LWP response | |
use strict; | |
use URI; | |
use JSON; | |
use LWP::UserAgent; | |
use Web::Scraper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ruby -Ks | |
# _*_ coding: utf-8 _*_ | |
require 'rubygems' | |
require 'mechanize' | |
require 'time' | |
MAIL = 'mixi_login_mail_address' | |
PASS = 'mixi_login_pass' | |
DIRECTORY = 'log_directory_path' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fldr_show_fc2_images.user.js | |
// @namespace http://d.hatena.ne.jp/os0x/ | |
// @description Make fc2 images viewable on LDR/Fastladder | |
// @include http://reader.livedoor.com/reader/ | |
// @include http://reader.livedoor.com/public/* | |
// @include http://fastladder.com/reader/ | |
// ==/UserScript== | |
// via http://gist.github.com/48621 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[10/03/22 0:57:09] itkz: 情報は解放されたがっており、知識の追求はパスワードとかプロテクションスキームなどというもので妨げられてはならない。だから、立ち入ったり、潜んだり、覗いて見たりしてもかまわない・・・・ ただし、触れてはいけない。 | |
ILF:情報解放戦線 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'webrick' | |
require 'webrick/httpproxy' | |
require 'RMagick' | |
handler = Proc.new() { |req,res| | |
if res['content-type'] =~ /image/ | |
begin | |
img = Magick::Image.from_blob(res.body).first |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Docutype HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<title>UserStreamsClient</title> | |
<script src="http://www.google.com/jsapi"></script> | |
<script> google.load("jquery", "1.4") </script> | |
<style> | |
div.tweet { | |
border-bottom: 1px solid #999; |
OlderNewer