ã¢ãã²ã¼ãªã¼ãã³ãã©ãããã©ã¼ã ã§ã©ã®ããã« Perl ã使ã£ã¦ãããã®ãã¬ã¼ã³ãã¼ã·ã§ã³ã§ããRead less
ã¢ãã²ã¼ãªã¼ãã³ãã©ãããã©ã¼ã ã§ã©ã®ããã« Perl ã使ã£ã¦ãããã®ãã¬ã¼ã³ãã¼ã·ã§ã³ã§ããRead less
1ã¶æåã¶ãã®ã¨ã³ããªã§ããçãããå æ°ã§ããï¼ ä½æ ãæè¿ Eclipse ã°ã£ãã使ã£ã¦ã zigorou ã§ãããã¾ãã 12.2.1 DELETE æ§æ ãè¦ã¦ãããè¤å DELETE æ§æã£ã¦ã®ãæã£ãã®ã§è©¦ãã¦ã¿ã¾ããã åæã¨ãã¦ã¬ã³ã¼ããããããããç¨å¤ããã¼ãã«ãããã¨è¨ãèæ¯ãããã¾ãã 解説 ã¨ãããã次ã®ãããªãã¼ãã«ãããã¨ãã¾ãããã CREATE TABLE `diary` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guid` int(11) NOT NULL, `subject` varchar(32) DEFAULT NULL, `body` text, `created_on` datetime DEFAULT NULL, `updated_on` datetime DEFAULT NULL, PRIMARY KE
以åãã¤ã³ã¹ãã¼ã«ãã¦ä½¿ããã¨ãã¦ã¡ãã³ã£ã¨ããã£ãã®ã§ã¡ã¢ã å ±ã«mime-info databaseã使ãã¾ãã http://www.freedesktop.org/wiki/Software/shared-mime-info ã§ããã¤ã¯Red Hatç³»ãªãrpmã§å ¥ãããããMacPortsã«ãããã¾ãã®ã§ãã¤ã³ã¹ãã¼ã«ãã訳ã§ããã MacPortsã ã¨XDG_DATA_HOMEã/opt/local/shareã«è¨å®ãã¦ãããªãã¨é§ç®ã§ãã ã ããä¾ãã°ã $ env XDG_DATA_HOME=/opt/local/share perl -MFile::MimeInfo::Magic=magic,mimetype -e 'magic("/opt/local/share/mime/magic"); print mimetype("Makefile.PL")' applicati
ä½æ¥ã¡ã¢ã§ãã src.rpm ã®åå¾ # cd /usr/src/redhat/SRPMS # wget http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-community-5.1.42-0.rhel5.src.rpm/from/http://ftp.iij.ad.jp/pub/db/mysql/ rpmbuild --recompile ãã«ãæã®ã½ã¼ã¹ããªã¼ãå¿ è¦ãªã®ã§ recompile # rpmbuild --recompile --define 'community 1' /usr/src/redhat/SRPMS/MySQL-community-5.1.42-0.rhel5.src.rpm checkinstall 㧠rpm å make æã« MYSQL_LIBDIR ãã¤ãã¦ãã®ã¯ libmysqlclient.s
OAuth Sequence Diagram Template ã¨ãããããOAuth ã®ãåå¼·ç¨ã«ãã³ãã¬åãWeb Sequence Diagrams ããã¼ä¾¿å©ã ãªã¼ã participant User participant Consumer participant "Service Provider" note over Consumer 6.1 Obtaining an Unauthorized Request Token end note Consumer->"Service Provider": "6.1.1. Consumer Obtains a Request Token" activate "Service Provider" "Service Provider"->Consumer: "6.1.2. Service Provider Issues an Unauth
SQL::Interp ãæè¿ä½¿ã£ãããã¾ããã£ã¦ã®ãç DBI ã 㨠IN æã¨ã placeholder åããã®é¢åã ãã ã¨è¨ã訳ã§ä¸è¨ãµã³ãã«ã__END__ 以ä¸ã«çµæãã¤ãã¨ããã #!/usr/bin/perl use strict; use warnings; use Data::Dump qw(dump); use Perl6::Say; use SQL::Interp qw(sql_interp); { my ($sql, @bind) = sql_interp 'INSERT INTO identifier', +{ resource_id => 'xri://=zigorou', canonical_id => 'xri://=!545A.6972.43FA.38AD' }; say dump($sql, \@bind); } { my ($sql, @bind)
ã¡ãã£ã¨åã¾ã§ DBI ã§éåæã¢ã¯ã»ã¹ãªã¨ã³ããªãåæã§ä¸ãã£ã¦ãã¾ãããçããå¦ä½ãéããã§ããããï¼ ãã¦ã¨ãããæ´å²çãªçµç·¯ã¨ãæ´å²çãªçµç·¯ã¨ãã§ç DBI ç¸å½ã使ã£ã¦ãæ¹ããããªãã«ããã§ãããã奥ããã大äºãªäºãªãã§äºåº¦è¨ãã¾ãããï¼ DBI ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã£ã¦ã¾ããããªä½¿ããããç©ãããªããã§ããã工夫次第ã§åºæ¥ãäºãããã¾ãã ã¡ãªã¿ã«ãµã³ãã«ãã¼ã¿ãã¼ã¹ã¨ãã¦ãMySQL Documentation - Example Databases ã® world ãã¼ã¿ãã¼ã¹ã使ã£ã¦ãã¾ãã fetchall_arrayref ã§ãã¼ã¿æ´å½¢ ã¾ã以ä¸ã®ããã«ä½¿ã£ã¦ã¿ã¾ãã #!/usr/bin/perl use strict; use warnings; use Data::Dump qw(dump); use DBI; use Perl6::Say; my $dbh =
å ã«è¨ã£ã¦ããã¨ãhide-kããã®ã¾ã¨ããåãããããã§ãã http://blog.hide-k.net/archives/2007/03/catalyst_2.php æãCatalystã使ãéã«ã¨è¨ãäºã§ããã utf8ãã©ã°ãç«ã¦ãªãã§TTã使ãå ´å ã½ã¼ã¹èªèº«ã¯utf8ã§æ¸ããã§ããã©ã #!/usr/bin/perl use strict; use warnings; use Carp::Clan; use Path::Class; use Template; my $base_dir = dir($ENV{HOME}, qw/tmp tt_test/); my $template = Template->new({ COMPILE_DIR => $base_dir->subdir('tt.cache')->stringify, COMPILE_EXT => 'c', })
ä»åã¯åãã¦ãã¬ã¼ã³ç¡ãã§ãããåå è ã¯40åã¡ãã£ã¨ãããã§ãããå 容ã«é¢ãã¦ã¯ id:hiratara ãããæ¯åç´ æµãªã¾ã¨ãã¨ã³ããªãæ¸ãã¦ä¸ãã£ã¦ãã®ã§ãã¡ããã覧ä¸ããã ä»æ¥ã¯ Yokohama.pm ã®æ¥ã§ã - åæµ·éè«å°ç§å¸åºèº«ã®åèPGãæ¸ãããã° å人çã«ã¯ id:komoriya ããã® HTML::AAFind ãä¸çªé¢ç½ãã£ããLT ãããªãã¨ãã®è¨ãåã*1ãæç¶åºæ¥ãªãã¨æã£ãï½ éå¶ä¸ã®åçç¹ ä»åã®ä¼å ´ã¯ 横æµå¸æè½æåä¼é¤¨ 802 大ç 修室 ãå©ç¨ããã¦é ãã¾ããã ç®±çã«é常ã«åªç§ã§å容ãæ大96åã§ãä»åã®åå è ã40åã¡ãã£ã¨ãªã®ã§ã¾ã ã¾ã ãã£ãçã«ãããããææã§ã¯ãããã§ããé常ã«å®ãåãããã®ãé åçã§ãã å ´æãé¢å é§ ããããããå¾æ©5åã¨ããªã®ã§ã ãã¶ä¾¿å©ã§ã¯ããã ãã ãã£ã±ãé ããã§ããããéå§æéã®ãã¼ãã«ãé½å çµã«ã¯å³ããã®ãå¦
æ¨æ¥ãã¡ãã£ã¨ä¿®æ£ãã¦0.02ããªãªã¼ã¹ãã¾ããã Nagiosã®ãã©ã°ã¤ã³ã§memcachedãç£è¦ããã³ãã³ãã§ãã*1 ç£è¦é ç®ã¯ã æ¥ç¶ã§ããã ã¬ã¹ãã³ã¹ã¿ã¤ã ãã£ãã·ã¥ãµã¤ãº ãã£ãã·ã¥ãããç ã®4ã¤ã§ãã æ¥ç¶ã¨ã¬ã¹ãã³ã¹ æå®æéå ã«æ¥ç¶åºæ¥ããã©ããã¯ãã½ã¼ã¹ä¸ã§ã¯ä»¥ä¸ã®ããã«ãªã£ã¦ã¾ãã local $SIG{ALRM} = sub { $self->add_message( CRITICAL, "Timeout $timeout sec." ); croak("Timeout $timeout sec"); }; alarm $timeout; my $cache = Cache::Memcached->new( { servers => $hosts } ); $cache->set_cb_connect_fail( sub { my $prefip = shi
解説ã¯ãã¨ã§ã priorityãèæ ®ã«å ¥ãã¦ãOpenID ãµã¼ãã¹ãåå¾ããå ´åã¯ãããªæãããªãã #!/usr/bin/perl use strict; use warnings; use Data::Dump qw(dump); use Math::BigInt; use Perl6::Say; use XML::LibXML; use XRI::Resolution::Lite; my $claim_id = $ARGV[0]; sub rand_array { my @list = @_; return map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { [$_, rand] } @list; } sub get_services { my $claimd_id = shift; my $resolution = XRI::R
ãã£ã¨èª¿ã¹ã¦ã¿ã¾ããããã£ã¨ãªã®ã§ééãã¦ãããããã¡ããã 追è¨ãããã®ã§ãã¡ããã覧ä¸ããã¾ãã Source http://google-code-updates.blogspot.com/2008/10/google-moves-towards-single-sign-on.html Migrating from OpenID 2.0 to OpenID Connect  | Google Identity Platform  | Google Developers Google OpenID ã¡ã¢æ¸ã OpenID Authentication 2.0 OP Local Identifier ã¯åå¨ããªãã¿ããã ã¤ã¾ã http://specs.openid.net/auth/2.0/identifier_select ã®ã¿ User-Supplied Identifier
å¤ãã®èªè ã容æã«æ³åã§ããã§ããããã¬ã¼ã¤ã¼ãOpenID Providerï¼ä»¥ä¸ãOPï¼ã¨ãã¦åä¹ãã ãã§ãªããå®éã«è©¦é¨ãµã¼ãã¹ãéå§ãã¾ãããOPã¨ã¯OpenID 1.1ã§ã®IdPã®ãã¨ã§ããæ°ããç¨èªã«é¢ãã¦ã¯ãã®å¾ããã«è§£èª¬ãã¾ãã ã¾ãã ãã¶æéããããã¾ããããOpenID Authentication 2.0ã¨OpenID Attribute Exchange 1.0ã¨ããä»æ§ãæ£å¼ã«æ¡ç¨ããããã¨ã«ãªãã¾ããã ããã§ãããã¦ã¼ã¶ã¼ã®ç¸å½æ°ãOpenIDã®End Userã«ãªã£ãã¨ãããç¶æ³ã¨ãªã£ãã®ã§ããããã¯OpenIDãæ¬æ ¼çã«Webãã¼ã¹ã®èªè¨¼æè¡ã®ä¸æ ¸ã«ãªãã¤ã¤ããã¨ãããã§ãããã ãã®æµãã«ã¤ãã¦ãããããã«ãä»åã¯OpenID Authentication 2.0ã§å¤ãã£ã大ããªç¹ãåãä¸ãã¦è§£èª¬ãã¦ããã¾ããã¾ãã¯æ°ããç¨èªããå¦ã³ã¾ãããã Open
ã£ã¦ç¥ã£ã¦ã人ã¯ç¥ã£ã¦ããã ãããã©ããï½ $ text-vimcolor --format html --full-page sample.plã¿ããã«ããã¨ãText::VimColorã§ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ããããããã¹ããè¿ã£ã¦ããã®ããããæ®éã«ä¾¿å©ã ä»ãããµãã®è³æä½ã£ã¦ããã§ããã©ãä»åã¯HTML Slidyãªãã§ãããããã¼ã«ãããã¨ãHTMLã§æ¸ãã¦ã¦ãå¿«é©ãã¹ã
æ¨æ¥ãç¾åº¦æ ªå¼ä¼ç¤¾ããã®ä¼å ´ããåããã¦ãIdentity Conference #2 ãããã¾ããã ã²ã¨ãçç大å¦ã®ä¿®å£«ã®æ¹ãæ²ç¸ãããã®ã«ã³ãã¡ã¬ã³ã¹ã®çºã ãã«ä¸äº¬ããã¨è¨ã豪æ°ãªæ¹ãããã£ãããã¾ãããã©ãè¦ã¦ãRubyKaigiã®è£çªçµãªãã§ããé常ã«ãããããã§ããã次ã«ã¾ãä¸äº¬ãããå ´åã¯å人çã«ãé£çµ¡ä¸ããããä½ããã®ãæä¼ããåºæ¥ãã°ã¨æãã¾ãã 以ä¸åãã¬ã¼ã³ã®ææ³ãªã©ã¨ã次åã®è©±ãªã©ã§ãã ãã¬ã¼ã³ åºèª¿è¬æ¼ XRI, Reputation, Trust (=natãã) ä»åã¯å¿ããã«ãããã¦ä¸ããã¾ããw XRI ã«ã¤ãã¦ã®æè¡çãªæ¦è¦ãã¾ãæè¿è©±é¡ã«ãªã£ã¦ãã XRI vs URI ã®è©±ã«ã触ããReputation ã¯ä½æ å¿ è¦ãªã®ãã¨è¨ãã話ã§ããã ãã®è³æãããä¸åº¦èªã¿ãããªã¼ã XRI ã®ã³ã³ã»ãã㯠Web ä¸å¿ã§ã¯ç¡ããXRI ã®å¯¾è±¡ã¨ãã¦ããä¸çã«
mtasc ã¯ããªã¼ã® AS2 ã³ã³ãã¤ã©ã§ããchumby ã®ã¬ã¸ã§ãããä½ãçºã«è©¦ãã«ä½¿ã£ã¦ã¿ãäºã«ãã¦ã¿ã¾ããã ã¡ãªã¿ã«æãã£ãã cygwin ä¸ã§ä½¿ãäºãæ³å®ãã¦ãã¾ãï½ ãã¦ã³ãã¼ãã¨ã¤ã³ã¹ãã¼ã« download ããåOSç¨ã®å®è¡ãã¤ããªãåã£ã¦ãã¦é©å½ãªå ´æã§å±éãã¦ä¸ããã $ cd /usr/local/src $ wget http://www.mtasc.org/zip/mtasc-1.13.zip $ unzip -d /usr/local mtasc-1.13.zip $ cd .. $ ln -s mtasc-1.13 mtasc $ chmod +x mtasc/mtasc.exeã¾ããããªæãã§çµäºã å¾ã¯ .bashrc ãªã©ã§PATHãéãã¦ããã¾ãããã export PATH="$PATH:/usr/local/mtasc" trace 㨠m
BlackHat USA (2007) 㧠Eugene Tsyrklevich ãã㨠Vlad Tsyrklevich ããããã¬ã¼ã³ããè³æããªã³ã©ã¤ã³ã§è¦ãã¾ãã OpenID: Single Sign-On for the Internet (PDF) ã§æ¢ã«æ¥æ¬èªã§ãç´¹ä»è¨äºãããã¾ãã èªåã§ãèªãã§ã¿ãã®ã§ãéä¸è§£èª¬ãã¦ã¿ããèããæ¸ãã¦ã¿ããã¨æãã¾ãã å¹¾ã¤ããããã§ä¸åãã¤ããã¯ã¢ãããã¦ããã¾ãã Downloading an OpenID URL é常 RP ã§ã¯ OpenID ã使ã£ãèªè¨¼ãæä¾ããéã«ãã¦ã¼ã¶ã¼åãã«ä½ããã®ãã©ã¼ã ãç¨æãã¾ããããã¯æ¬æ¥ããã®ã¦ã¼ã¶ã¼ãææãã Claimed Identifier ããã㯠OP Identifier ãå ¥åããã¹ããã©ã¼ã ã§ãããããã§ã¯ãªãæååãå ¥åããéã«åé¡ããããããã¨è¨ã話ã§ãã ã¾ãããã¯ã
http://text.art-code.org/presen/restfulreading/ åãæ¥ãè³æã ããï½ãã¾ã¼ããææ³ã¯ã¾ãå¾æ¥ï¼ï¼ ã§ãä¸è¨ã ãè¨ãã°ãã¿ããªãã¬ã£ã·ããé ·ã件ã
èªåã®çºã®ã¡ã¢ã§ããã æºå ã¾ãã¯Catalystããã¸ã§ã¯ããä½ãã¾ã $ mkdir -p /path/to/dir $ cd /path/to/dir $ catalyst.pl AuthSample ã¦ã¼ã¶ã¼ç¨ã®DBICã¹ãã¼ããå®ç¾©ãã¾ãã $ module-starter --module AuthSample::Schema $ cd AuthSample-Schemaã§ãã®ãã£ã¬ã¯ããªã«ã¦ã CREATE TABLE user ( user_seq INTEGER PRIMARY KEY, user_id TEXT UNIQUE, password TEXT, created_on DATETIME, updated_on DATETIME ); ãããªã¹ãã¼ããå®ç¾©ãã¦ãschema.sqlã¨ãã¦ä¿åãã¦ã $ sqlite3 -init schema.sql auth
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}