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 perl | |
use strict; | |
use warnings; | |
use utf8; | |
use Encode qw(encode_utf8); | |
use RPC::XML::Client; | |
$RPC::XML::ENCODING = 'utf8'; |
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
#!/bin/bash | |
# Create a Amazon Linux base image for Docker | |
# | |
set -e | |
MIRROR_URL="http://packages.ap-northeast-1.amazonaws.com/2013.09/main/201309001984/x86_64/" | |
MIRROR_URL_UPDATES="http://packages.ap-northeast-1.amazonaws.com/2013.09/updates/c821ef08810f/x86_64/" | |
yum --enablerepo=epel install -y febootstrap xz |
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
;; (setenv "PERL5LIB" "/home/yamamoto/perl5/lib/perl5:/home/yamamoto/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:$PERL5LIB") | |
(setq exec-path (cons "/home/yamamoto/perl5/perlbrew/bin" exec-path)) | |
(setenv "PATH" (concat '"/home/yamamoto/perl5/perlbrew/bin:" (getenv "PATH"))) | |
(autoload 'cperl-mode | |
"cperl-mode" | |
"alternate mode for editing Perl programs" t) | |
(fset 'perl-mode 'cperl-mode) |
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
use strict; | |
use warnings; | |
use Plack::Request; | |
use Plack::Response; | |
use AnyEvent::HTTP; | |
use Cache::FastMmap; | |
my $cache = Cache::FastMmap->new( expire_time => "1h" ); |
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
use strict; | |
use warnings; | |
use utf8; | |
use Encode qw(encode_utf8); | |
use MIME::Base64 qw(decode_base64); | |
use OAuth::Lite::Consumer; | |
use Plack::Request; | |
use Plack::Response; |
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
[core] | |
pager = LESS=-R less | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
[github] |
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 perl | |
use feature ":5.10"; | |
use strict; | |
use utf8; | |
use Tatsumaki::Error; | |
use Tatsumaki::Application; | |
use Tatsumaki::HTTPClient; | |
use Tatsumaki::Server; | |
use Tatsumaki::MessageQueue; |
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/tr '\015' '\012' < test.cgi > test2.cgi | |
chmod +x test2.cgi |
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/xpi/chrome/content/quickPostForm.js b/xpi/chrome/content/quickPostForm.js | |
index 1ac39b6..6693133 100755 | |
--- a/xpi/chrome/content/quickPostForm.js | |
+++ b/xpi/chrome/content/quickPostForm.js | |
@@ -42,7 +42,7 @@ function DialogPanel(position, message){ | |
window.addEventListener('keydown', bind('onKeydown', this), true); | |
// 不可視にして描画を隠す | |
- self.elmWindow.style.opacity = 0; | |
+ // self.elmWindow.style.opacity = 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
diff --git a/xpi/chrome/content/quickPostForm.js b/xpi/chrome/content/quickPostForm.js | |
index 1ac39b6..ba8912c 100755 | |
--- a/xpi/chrome/content/quickPostForm.js | |
+++ b/xpi/chrome/content/quickPostForm.js | |
@@ -78,11 +78,12 @@ function DialogPanel(position, message){ | |
} | |
window.addEventListener('resize', bind('onWindowResize', self), true); | |
+ | |
} finally { |
NewerOlder