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
*** jptemplate.vim.orig 2008-08-20 11:08:51.000000000 +0900 | |
--- jptemplate.vim 2008-08-20 11:37:16.000000000 +0900 | |
*************** | |
*** 23,29 **** | |
" Reserved variable names | |
! let s:reservedVariables = ['date','shell','interactive_shell'] | |
" Variable value history |
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
require 'rubygems' | |
require 'pit' | |
require 'fusefs' | |
require 'atomutil' | |
require 'time' | |
module Atompub | |
class HatenaClient < Client | |
def publish_entry(uri) | |
@hatena_publish = true |
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 | |
$LOAD_PATH << '/opt/local/lib/ruby/gems/1.8/gems/rubyosa-0.4.0/lib' | |
require 'rbosa' | |
require 'pp' | |
require 'nkf' | |
$KCODE = 'u' | |
OSA.utf8_strings = true | |
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
diff --git a/autopagerize.user.js b/autopagerize.user.js | |
index cf9fce9..6ae8532 100644 | |
--- a/autopagerize.user.js | |
+++ b/autopagerize.user.js | |
@@ -5,6 +5,7 @@ | |
// @include http://* | |
// @include https://* | |
// @exclude https://mail.google.com/* | |
+// @exclude http://b.hatena.ne.jp/* | |
// ==/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 Expand star | |
// @namespace http://rails2u.com/ | |
// @include http://* | |
// @include https://* | |
// ==/UserScript== | |
location.href = "javascript:"+encodeURIComponent(uneval(function () { | |
(function (Global) { |
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 hatena diarylist otsune mode | |
// @namespace http://rails2u.com/ | |
// @description 観測範囲が狭い人向け | |
// @include http://d.hatena.ne.jp/diarylist | |
// ==/UserScript== | |
(function() { | |
const CONTAINER_XPATH = '//div/ul[@class="list-plain"]'; | |
const LIST_XPATH = '//div/ul[@class="list-plain"]/li'; |
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
<html> | |
<head> | |
<title>url max langth</title> | |
<script type="text/javascript"> | |
(function() { | |
var urlLen = location.href.length; | |
location.hash.match(/l=(\d+)/); | |
var len; | |
if (len = RegExp.$1) { | |
len = len | 0; |
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 with hatebu search | |
// @namespace http://b.hatena.ne.jp/ | |
// @description google 検索の画面で、はてブ検索へのナビゲーションを出します | |
// @include http://www.google.co.jp/search* | |
// @include http://www.google.com/search* | |
// ==/UserScript== | |
location.href = "javascript:"+encodeURIComponent(uneval(function () { | |
(function (Global) { |
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 MDC link to en | |
// @namespace http://rails2u.ocm/ | |
// @include https://developer.mozilla.org/ja/* | |
// ==/UserScript== | |
(function () { | |
//var links = $X('//a[@rel="internal"]'); | |
var links = $X('//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
(function() { | |
var p = function(arg) { | |
Application.console.log(arg); | |
// liberator.log(arg); | |
} | |
const HatenaBookmark = {}; | |
HatenaBookmark.Data = new Struct('url', 'title', 'comment', 'icon'); | |
HatenaBookmark.Data.defaultValue('icon', function() bookmarks.getFavicon(this.url)); |