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; | |
my $val = "Hello, World!\n"; | |
print $val; |
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; | |
use WWW::Mechanize; | |
use Web::Scraper; | |
use YAML; | |
# 取得したい場所のYahoo!天気情報のURL |
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; | |
use WWW::Mechanize; | |
use Web::Scraper; | |
# 取得したい場所のYahoo!天気情報のURL | |
my $location_url = 'http://weather.yahoo.co.jp/weather/jp/8/4010.html'; |
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; | |
use WWW::Mechanize; | |
use Web::Scraper; | |
use YAML; | |
# 取得したい場所のYahoo!天気情報のURL |
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
#include <stdio.h> | |
void crazy_function(int *i) { | |
*i = 20; | |
} | |
int main(void) { | |
int i; | |
i = 10; |
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 DBIx::Simple; | |
# iPhone アプリの「連続バーコードリーダー」 | |
# http://itunes.apple.com/jp/app/lian-xubakodorida/id482287887?mt=8 | |
# を使って,書籍のバーコードを読み取り,読み取り結果が保存されているDBから | |
# ISBNコードのみを取得するスクリプト | |
# これを使って,コミックダッシュなどに登録を行える |
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
--- /lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist.orig 2012-10-22 01:28:34.542569997 +0900 | |
+++ /lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 2012-10-22 01:26:52.367885883 +0900 | |
@@ -313,6 +313,7 @@ | |
<string>0x0B97</string> | |
<string>0x08C3</string> | |
<string>0x08C3</string> | |
+ <string>0x04E6</string> | |
</array> | |
<key>ifdProductID</key> |
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 Google Reader Tweak - Open feed item in background by pressing 'v' | |
// @namespace http://sunnywu.net/2007/08/02/google-reader-tweak-open-links-in-background/ | |
// @description Google Reader Tweak - Open feed item in background by pressing 'v' | |
// @include http://www.google.tld/reader/view/* | |
// @include https://www.google.tld/reader/view/* | |
// ==/UserScript== | |
var x; | |
var link; |
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 Crowsnest Tweak - Open item in background by pressing 'v' | |
// @namespace http://blog.tndl.net/ | |
// @description Crowsnest Tweak - Open item in background by pressing 'v' | |
// @include http://www.crowsnest.tv/* | |
// ==/UserScript== | |
var x; | |
var link; |
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 Crowsnest Tweak - Open item in background by pressing 'v' | |
// @namespace http://blog.tndl.net/ | |
// @description Crowsnest Tweak - Open item in background by pressing 'v' | |
// @include http://www.crowsnest.tv/* | |
// ==/UserScript== | |
function openNewBackgroundTab(url) { | |
var a = document.createElement("a"); | |
a.href = url; |