Skip to content

Instantly share code, notes, and snippets.

@poppen
poppen / wassr2twitter.yaml
Created January 6, 2009 04:19
config yaml of plagger for wassr2twitter
plugins:
- module: CustomFeed::Simple
- module: Subscription::Config
config:
feed:
- url: http://api.wassr.jp/user_timeline.rss?id=YOUR_ID
- module: Filter::Rule
rule:
" proxy.js
javascript <<EOM
liberator.globalVariables.proxy_settings = [
{
conf_name: 'disable',
conf_usage: 'direct connection',
settings: [{label: 'type', param: 0}]
},
{
conf_name: 'polipo',
@poppen
poppen / 1.txt
Created February 11, 2009 14:03
"" autoproxychanger.js
javascript <<EOM
liberator.globalVariables.autochanger_proxy_enabled = true;
liberator.globalVariables.autochanger_proxy_settings = [
{
name: 'disable',
usage: 'direct connection',
proxy: { type : 0 }
},
{
@poppen
poppen / suspend-vm-default.patch
Created March 6, 2009 06:22
a patch for /etc/vmware-tools/suspend-vm-default to enable suspend on FreeBSD 7.x
--- suspend-vm-default.orig 2009-03-06 14:12:19.000000000 +0900
+++ suspend-vm-default 2009-03-06 14:14:01.000000000 +0900
@@ -20,7 +20,7 @@
# Release the IP if DHCP is used.
case "`uname -r`" in
-6.*) # 'PID dhclient: em0' => 'em0'
+[67].*) # 'PID dhclient: em0' => 'em0'
for intf in `pgrep -fl dhclient | cut -d" " -f3 | sort | uniq`; do
ifconfig "$intf" down
=== amazon_cross_book_check.user.js
==================================================================
--- amazon_cross_book_check.user.js (revision 440)
+++ amazon_cross_book_check.user.js (local)
@@ -34,7 +34,7 @@
},
{
label: 'eBOOKOFF',
- url: 'http://www.ebookoff.co.jp/cmdtysearch?Ctgry=1002&hdnSearchFlg=1&chkOld=1&txtISBNCode=',
+ url: 'http://www.ebookoff.co.jp/cmdtyallsearch/hdnAllSearchFlg/1/Ctgry/home/LRack/*/SetFlg/?Ctgry=home&LRack=*&chkAllSearchOldH=1&chkAllSearchStockH=1&hdnEndIndex=0&hdnFormId=cmdtyalllist&hdnPage=1&hdnStartIndex=0&selAscDesc=1&txtAllSearchBoxH=',
--- kojii_net.yaml.orig 2006-08-19 12:30:33.000000000 +0900
+++ kojii_net.yaml 2009-03-10 18:13:00.000000000 +0900
@@ -5,5 +5,5 @@
handle: http://www\.kojii\.net/\w+/\w+\d+\.html$
extract_xpath:
# title: /html/head//title
- body: /html/body//table
+ body: /html/body//table//table//td[1]
#extract_after_hook: $data->{title} =~ s|</?TITLE>||ig
=== amazon_cross_book_check.user.js
==================================================================
--- amazon_cross_book_check.user.js (revision 458)
+++ amazon_cross_book_check.user.js (local)
@@ -75,6 +75,13 @@
autoStart: true
},
{
+ type: 'author',
+ urlExp: 'author',
--- /System/Library/Extensions/ProlificUsbSerial.kext/Contents/Info.plist.orig 2009-04-21 15:48:59.000000000 +0900
+++ /System/Library/Extensions/ProlificUsbSerial.kext/Contents/Info.plist 2009-04-21 15:49:56.000000000 +0900
@@ -37,7 +37,7 @@
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
- <integer>8963</integer>
+ <integer>1211</integer>
<key>idVendor</key>
<integer>1659</integer>
From a818f8ea7bdfc9437f98baae05036d677027fa61 Mon Sep 17 00:00:00 2001
From: Shinsuke Matsui <[email protected]>
Date: Mon, 22 Jun 2009 19:44:20 +0900
Subject: [PATCH] fixed bugs
---
amazon-auth-proxy.cgi | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/amazon-auth-proxy.cgi b/amazon-auth-proxy.cgi
tinytinyhttpd is a very lightweight HTTP server written in C.
It supports multi threads, customization, directory listing and CGI.
It is confirmed to run the following software under tinytinyhttpd
with no hassle:
* MTOS(Movable Type Open Source) (perl)
* WordPress (php)
* blogn Plus (php)
* tDiary (ruby)
* PukiWiki (php)