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
# 他のポート番号を指定する際につけてください | |
#port = 3128 | |
# デバッグオプションを有効にしたいときにつけてください | |
#debug = 1 | |
# プロキシサーバへつなぐ為のパラメータ。ホスト名かIPを指定してください | |
#domain = hogehoge.local | |
[www.example.com] | |
/path/to/remote.js = /path/to/local.js |
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
<?php | |
$ary = array(1,2,3,4,5); | |
var_dump((true)? array_reverse($ary) : array_flip($ary)); |
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 Glib; | |
use Irssi; | |
use Config::Pit; | |
use WebService::ImKayac; | |
my $im = WebService::ImKayac->new( |
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
<?php | |
$tel_reg = '/^(\d| |-|\+|\(|\))*$/'; | |
$tel_reg2 = '/^[0-9()+\- ]*$/'; | |
$tel = '+81 (03) 5562-9540'; | |
foreach (array($tel_reg, $tel_reg2) as $reg) { | |
$start_m = microtime(); | |
$start = time(); |
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
From 06b773719f68119491f1c84c497ea98a872d230d Mon Sep 17 00:00:00 2001 | |
From: Taiyoh Tanaka <[email protected]> | |
Date: Tue, 5 Oct 2010 14:09:48 +0900 | |
Subject: [PATCH] =?UTF-8?q?MouseX::Foreign=E5=AF=BE=E5=BF=9C?= | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
Signed-off-by: Taiyoh Tanaka <[email protected]> |
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 common::sense; | |
use utf8; | |
use Text::MTFormatBuilder '-Declare'; | |
print blog_export { | |
entry { | |
metadata { |
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
#!perl -w | |
use strict; | |
use utf8; | |
use Encode qw/decode_utf8 encode_utf8/; | |
use LWP::UserAgent; | |
use URI; | |
use JSON::XS; | |
use URI::Escape::XS; | |
use HTML::TreeBuilder::XPath; |
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
sub draw { | |
my($self) = shift; | |
my %o = $self->_draw_init(@_); | |
# recalculate bounding box | |
$self->_calcWidthHeight(); | |
# draw frame - for debug | |
if($o{debug}){ | |
# real body frame | |
$o{target}->box( | |
filled=>1,aa=>0,color=>'#FFAA99', |
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
#!perl -w | |
use strict; | |
use utf8; | |
open my $f, '<', 'a.txt'; | |
flock($f, 2); | |
my $data = <$f>; | |
chomp $data; | |
open $f, '+>', 'a.txt'; |
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
package { | |
import flash.system.Security; | |
import flash.system.SecurityPanel; | |
import flash.display.Loader; | |
import flash.display.LoaderInfo; | |
import flash.display.Sprite; | |
import flash.net.Socket; | |
import flash.events.*; | |
import flash.external.ExternalInterface; | |
import flash.utils.setTimeout; |