Skip to content

Instantly share code, notes, and snippets.

use strict;
use warnings;
use Plack::Request;
use Plack::App::File;
use Plack::App::Proxy;
use File::Basename;
use Path::Class qw/dir/;
my %cache;
diff --git a/.vim/autoload/fuf/tag.vim b/.vim/autoload/fuf/tag.vim
index bf566f0..2eb2e83 100644
--- a/.vim/autoload/fuf/tag.vim
+++ b/.vim/autoload/fuf/tag.vim
@@ -174,7 +174,9 @@ endfunction
"
function s:handler.onModeLeavePost(opened)
- let &l:tags = ''
+ if a:opened == 1
prove -lv t/action_chain_slashinpathpart.t
t/action_chain_slashinpathpart.t .. [error] no action found
not ok 1 - slash in pathpart ok
1..1
# Failed test 'slash in pathpart ok'
# at t/action_chain_slashinpathpart.t line 25.
ARK_DEBUG=1 prove -lv t/action_chain_slashinpathpart.t
t/action_chain_slashinpathpart.t .. [debug] Setup finished
[debug] "GET" request for "/foo/bar/hoge/fuga" from "127.0.0.1"
[debug] Arguments are "/foo/bar/hoge/fuga"
[error] no action found
not ok 1 - slash in pathpart ok
1..1
t/action_chain_slashinpathpart.t .. [debug] Loaded Chained actions:
.-------------------------------------+--------------------------------------.
| Path Spec | Private |
+-------------------------------------+--------------------------------------+
| /foo/*/hoge/fuga/ | /foo (1) |
| | => /end |
'-------------------------------------+--------------------------------------'
[debug] Setup finished
[debug] "GET" request for "/foo/bar/hoge/fuga" from "127.0.0.1"
// ==UserScript==
// @name someLink4Amazon
// @namespace d.hatena.ne.jp/sugarbabe335
// @description someLink4Amazon
// @include http://*.amazon.*
// ==/UserScript==
var asin = document.getElementById("ASIN").value;
var td = document.evaluate('//form[@id="handleBuy"]/table[last()]/tbody/tr[1]/td[1]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0);
function <SNR>55_check_buffer_all..<SNR>55_check_buffer..<SNR>55_get_buffer_include_files の処理中にエラーが検出され>
ました:
行 29:
E344: cdpathには "tmp/foo" というファイルがありません
function <SNR>55_check_buffer_all..<SNR>55_check_buffer..<SNR>55_get_buffer_include_files の処理中にエラーが検出され>
ました:
行 29:
E472: コマンドが失敗しました
<?php
public function hoge()
{
}
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_smart_case = 1
let g:neocomplcache_min_syntax_length = 3
let g:neocomplcache_lock_buffer_name_pattern = '\*fuf\*'
#gcc test.m -o test -framework Cocoa && ./test
2010-06-28 12:20:54.139 test[19502:903] hoge