Public Gists by wtnabe

Gravatar
Wed Nov 11 14:43:22 -0800 2009
1
2
3
def mechanize_page( file, uri = nil )
  require 'kconv'
  require 'rubygems'
Gravatar
Wed Nov 04 14:44:03 -0800 2009
1
2
3
require 'rubygems'
require 'hpricot'
$KCODE = 'u'
Gravatar
Mon Oct 26 02:32:55 -0700 2009
1
2
3
#! /usr/bin/env ruby
 
require 'rubygems'
Gravatar
Mon Oct 19 15:50:56 -0700 2009
1
2
3
# -*- mode: ruby; coding: utf-8 -*-
 
require 'yaml'
Gravatar
Thu Sep 10 03:15:00 -0700 2009
1
2
3
@-moz-document url-prefix("http://clip.livedoor.com/clip/add?link=") {
  #addclipttl {
    margin: 5px !important;
Gravatar
Thu Sep 10 03:14:24 -0700 2009
1
javascript:(function(){window.open('http://clip.livedoor.com/clip/add?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'livedoor_clip','width=550,height=600')})();
Gravatar
Wed Sep 09 18:27:59 -0700 2009
1
2
3
@-moz-document url-prefix("http://clip.nifty.com/create?url=") {
  #headLogo {
    display: none !important;
Gravatar
Wed Sep 09 18:27:16 -0700 2009
1
javascript:(function(){w=window.open(location.href,'nifty_clip','scrollbars=yes,width=550,height=600');setTimeout(function(){var%20s=w.document.createElement('script');s.charset='utf-8';s.src='http://clip.nifty.com/toolbar/addclip/bookmarklet.js';w.document.body.appendChild(s)},2000)})();
Gravatar
Sun Aug 16 20:16:34 -0700 2009
1
2
3
diff --git a/simple.god b/simple.god
index 407e34b..3ca0518 100644
--- a/simple.god
Gravatar
Sun Aug 16 20:14:46 -0700 2009
1
2
3
require 'ruby-growl'
 
module God
Gravatar
Tue Aug 11 07:21:42 -0700 2009
1
2
3
#! /usr/bin/env ruby
 
def which( cmd, *additional )
Gravatar
Tue Aug 11 02:20:34 -0700 2009
1
2
3
#
# for gem's bin/script
#
Gravatar
Thu Jul 09 14:23:17 -0700 2009
1
2
3
jQuery(document).ready(function($) {
  ..
});
Gravatar
Mon Jun 29 16:56:45 -0700 2009
1
2
3
--- site-packages/linkcheck/i18n.py.org 2007-03-22 04:29:01.000000000 +0900
+++ site-packages/linkcheck/i18n.py 2009-06-30 08:52:04.000000000 +0900
@@ -26,7 +26,7 @@
Gravatar
Mon Jun 08 00:57:28 -0700 2009
1
2
3
#
# Usage: vcat [-v ofs=<OFS>] <file1> [file2] ...
#
Gravatar
Mon May 25 18:01:29 -0700 2009
1
2
3
diff --git a/plugin/calendar_viewer.inc.php b/plugin/calendar_viewer.inc.php
index cafc33b..874d899 100644
--- a/plugin/calendar_viewer.inc.php
Gravatar
Sat May 16 05:19:38 -0700 2009
1
2
3
class FooExcept < StandardError; end
 
task :default do
Gravatar
Wed Apr 22 02:22:53 -0700 2009
1
2
3
BEGIN:VEVENT
  ...
BEGIN:VALARM
Gravatar
Fri Apr 10 03:44:03 -0700 2009
1
2
3
Object::Diff::LCS.diff( lines_array, lines_array ).each { |d|
  d.each { |c|
    puts c.to_a.to_s
Gravatar
Mon Mar 16 01:20:13 -0700 2009
1
2
3
# -*- mode: ruby; coding: utf-8 -*-
 
require 'hpricot'