Code Archive Skip to content Google About Google Privacy Terms
dotCloud ã§PSGI Hello World 2011å¹´4æ30æ¥ 16:32 D | ããã°è¨äºã®URL | ã³ã¡ã³ã(0) | ãã©ãã¯ããã¯(0) æè¿PSGI/Perlããµãã¼ããå§ããdotCloudã®invite codeãããã£ãã®ã§ã¨ããããHello Worldçãªã¢ããªãä½ã£ãã ä½ãæ¹ã ããã¾ãdotcloudç¨ã®ãã¼ã«é¡ãã¤ã³ã¹ãã¼ã«ããå¿ è¦ããããèªåã®ãã·ã³ã§pythonãåãããäºããªãã£ãã®ã§ãããããã¾ãèªåã®python㯠homebrewçµç±ã§å ¥ã£ã¦ããã¤ãã§ãå ¨ã¦ã¦ã¼ã¶ã¼æ¨©éã§å ¥ã£ã¦ããã®ã§sudoã¨ã使ã£ã¦ãªãã®ã«æ³¨æã easy_install dotcloud docloudã§ã¯ã¾ã"deploy"ã¨ãããã®ãä½ããdeployã¯è¤æ°ã®"service"ã®éåä½ã"service"ã¯ãããããä¸åã®ã¢ããªãªãããã¼ã¿ãã¼ã¹ãªããæãï¼
ã·ã¹ãã ã¤ã³ãã°ã¬ã¼ã·ã§ã³ãæè²æ©é¢åãICTã½ãªã¥ã¼ã·ã§ã³ãªãã¿ã¤ã ã¤ã³ã¿ã¼ã¡ãã£ã¢ã«ãã¾ãããã ããã ããããITãã¼ãºã«å¯¾ãã¦è±å¯ãªæ¥åç¥èã¨åè¶ããæè¡åã§ãçããã¾ãã æ ªå¼ä¼ç¤¾ã¿ã¤ã ã¤ã³ã¿ã¼ã¡ãã£ã¢ ã160-0002ãæ±äº¬é½æ°å®¿åºåè°·åçº12-22 TEL:03-5362-9009ã/ãFAX:03-5362-9008
æ¬æ¥18:30ããè¡ãããYokohama.pm #7ã¸åå ããäºå®ã§ãã Sphinx + blockdiagã§å§ããããã¥ã¡ã³ãçæ´» / @tk0miyaãã è³æã¯å¾ã§Tweetäºå® ããã¥ã¡ã³ãã®ç¨®é¡ ç´åç©ã¨ãã¦ã®ããã¥ã¡ã³ã = ã客ããã®ãã® è¨è¨/éç¨ã®ããã®ããã¥ã¡ã³ã = èªåãã¡ã®ãã® å¾è ã足ããªã â è¾ãç¾å® ããã¥ã¡ã³ãã®ã¡ã³ã ãã¼ãã«å®ç¾©ãæ©è½ãç»é¢ãã£ããã£ãããã¥ã¡ã³ãã«æ´æ°ãããªã ã¡ã³ããå¿ è¦ â Lightweight ãå¤§äº Lightweight ãªããã¥ã¡ã³ã SphinexãWikiãã½ã¼ã¹ã«æ¸ãããã³ãã¬å Sphinx reSTå½¢å¼ã§æ¸ãâXMLãLaTeXãPDFãHTMLãªã©ã«å¤æ Python製 reSTå½¢å¼ â ã====ãã¨ãã----ãã¨ãã*listãã¿ãããªãã¼ãã³ã° makeã§ãã«ã ã³ã¼ããã¤ã©ã¤ãæ©è½ â Per
The document discusses using the Log::Minimal module in Perl to perform logging at different levels. It demonstrates calling the critf(), warnf(), infoff(), and debugff() functions to log messages tagged with severity levels. It also shows how to configure log formatting and filtering based on level. The document then discusses using Log::Minimal with the Plack framework to log requests.Read less
æ¨æ¥ã¯çµå±3æã¾ã§é£²ãã§ãæ©ãã¦å¸°ãã¾ãããããã«ã¡ã¯ã Yokohama.pm ã§ä½¿ã£ã ã¹ã©ã¤ãã dotcloud ä¸ã«ããã¦ããã¾ããã Yokohama.pm #7 xaicron ã³ã¼ãã¯ä»¥ä¸ã«ããã¾ãã xaicron/static.xaicron.dotcloud.com - GitHub ã¡ãªã¿ã«ãæ©è½ãã¢ããé©å½ã«ä½ã£ã NoPaste ã¯ãæå㯠Data::Section::Simple ã§ãã³ãã¬ã¼ãã app.psgi ã«çªã£è¾¼ãã§ããã§ãããdotcloud ã«ããããåããªãã¦ããã¼ã£ã¦ãªã£ãã®ã§ tweet ããããæ©é miyagawa ããããè¿ä¿¡ããã£ã¦ã次ã®ãªãªã¼ã¹ã§ä½¿ããããã«ãªãã¿ããã§ãããYATTA!! Twitter / @Tatsuhiko Miyagawa: @xaicron will be fixed in ... ã¨ããããã§ãd
å¾æ©ã§å¸°ããã®ã¯Yokohama.pmã ãï¼ 2011/5/13 ã«éããããYokohama.pm#7ãã§çºè¡¨ãã¦ãã¾ãããhirataraããã®ã¾ã¨ãããã¤ããªãããã°ãããã§ã èªåã®çºè¡¨ã¯ããOperation Oriented Web Applicationsãã¨ãããªãããã£ã¨ããããã¿ã¤ãã«ã§æè¿ä½ã£ã¦ã Log::Minimal DBIx::Sunny GreenBuckets ã«ã¤ãã¦è©±ãã¦ãã¾ãããæ¬å½ã¯ Scope::Container ã追å ãããã¨æã£ãã®ã§ãããã©ãèãã¦ãæéãªãã®ã§ã«ãããã¦ã¾ããããã§ãæéãªã¼ãã¼ãã¿ã¾ããï¼ï¼ è³æã¯ãã¤ãéã slideshare 3ã¤ã®ã¢ã¸ã¥ã¼ã«ï¼ã·ã¹ãã ãç´¹ä»ããªãããéç¨ãããããéç¨ããã¿ã¦å¹çã®è¯ãã¢ããªã±ã¼ã·ã§ã³ã¨ã¯ã¨ãããã¼ãããã£ã¦ã¿ã¾ããããã°ãSQLãå¹ççãªã¹ãã¼ãè¨è¨ããã¼ãã¦ã§ã¢ã®æå¹æ´»ç¨ãã
çæ§ãç²ããã¾ã§ããã ããã¦Livedoor++ã§ãããï¼ Livedoorããã¯Yokohama.pmã®ãããªã«ã³ãã¡ã¬ã³ã¹æ¯æ´ãè¡ãå§ããããã§ã ã¹ãã³ãµã¼éããã®å¤§å¤ã ã¼ã¨ãã ã¹ãã³ãµã¼éããã«ã¯ããããããä¼ã ã¼ã¨ã ããããã®ãç©æ¥µçã«ãµãã¼ãããã¤ãããããã®ã§ã ãããããããããã¨ããããªãä¸åº¦ç¸è«ãã¦ã¿ãã¨ããã¨ãããã¾ããï¼ ä»åèªåã¯MySQLã®HandlerSocket Pluginã«ã¤ãã¦è©±ãã¦ãã¾ããã ããããã«ã³ãã¡ã¬ã³ã¹ã§èªåã®ãããã¯ã以å¤ã話ãã®ã¯ä¹ ã ã§ããã ããç·å¼µæããã£ã¦è©±ãã¾ããã http://nekokak.org/presen/yokohama07/ ã¡ãã£ã¨è£è¶³ããã㨠ã¹ã©ã¤ãä¸ã«ããæ¢åã®WAFã使ããªãã¨æ¸ãã¦ããã®ã¯ ãã¹ã¦ã®ã±ã¼ã¹ã«å½ã¦ã¯ã¾ãããã§ã¯ãªãã ä»ç§ãè¦ã¦ããã·ã¹ãã ã«é¢ãã¦ã¯ããã ã¨è¨ã£ã¦ãã ãã§ãã æ®
ã¨ãããã¨ã§ãYokohama.pm #7ã大çæ³ã®ãã¡ã«ç¡äºçµäºè´ãã¾ããã ä»åã®Yokohama.pmãæ§ã ãªãã¼ãã®ãã¼ã¯ãæã£ã¦ãããããããã¨ã¦ãèå³æ·±ãã£ãããã«æãã¾ãã ã¾ããä»åãã¼ã¯ãåãã¦ã¨ããæ¹ãæ°åããã£ãããã¾ããããYokohama.pmã§ã¯åãã¦ãã¼ã¯ããæ¹ãå ¥ããããé°å²æ°ã¨ãªã£ã¦ãã¾ãã®ã§ã次å以éããã¼ã¯ãåãã¦ã¨ããæ¹ãããããããã²ã¹ãã¼ã«ã¼ã¨ãã¦åå ãã¦é ãããã¨æãã¾ãã ãã¡ãããä»ã¾ã§ãã¼ã¯ããã£ã¦ããããæ¹ãç©æ¥µçã«åå ãã¦é ãã¦ãæ§ã ãªã¬ãã«ã®ãã¼ã¯ãèããPerl Mongersã¨ãã¦é²ãã¦è¡ããã°ã¨èãã¦ããã¾ãã®ã§ã©ããå®ãããé¡ãè´ãã¾ãã åå ãããçæ§ããã¼ã¯ãããçæ§ããµãã¼ããã¦é ããçæ§ãã¾ãä»åã®éå¬ã«ããã¦ä¼å ´ã®è²¸åºãWifiæä¾çã§æ¯æ´ãã¦é ããã©ã¤ããã¢æè¡é¨ä¼ã«æè¬è´ãã¾ããã»ãã¨ãã«ãããã¨ããããã¾ãã
Module::Install::TestTargets is cool *hack*. But it's code is too complex and the code using it is not maintainable. So here is yet another approach for this issue using Daiku. âMakefile using Daiku and other ExUtils::* modules. use Daiku; use autodie ':all'; use ExtUtils::InstallPaths; use CPAN::Meta (); use File::Find::Rule (); use File::Spec::Functions qw/catfile catdir rel2abs/; use ExtUtils::
GreenBuckets ã¨ãã Object Storage ãä½ãã¾ãã Object Storage ã¨ã¯ä½ãã¨ããã¨ãOSSã§ã¯OpenStack Object Storageã¨ãMogileFS ãWebãµã¼ãã¹ã§ä½¿ããã¦ããã¨ããã§ã¯ mixi ã® ImageCluster ã¨ã livedoor ã® STF ã¨ããæ¯è¼ã«ãªããªããã©Amazon S3ã¨ããããã£ããããã®ãã®ã§ãããã°ãã°ç»åã®ã¹ãã¬ã¼ã¸ãªããã«ä½¿ããã¦ããã¨æãã¾ããä»åä½ã£ãã®ã¯ GreenBuckets ã¨ãããã®ã§ãmixiã®ImageClusterã®æ§æãã¾ããã¤ã¤ãstfã¨åãããã«ãã±ããåä½ã§ã®æä½ãå¯è½ã¨ãã¦ãã¾ãããªãã§ãã§ã«ããã®ã«ä½ã£ãã®ãã¨ããã¨ã主ã«ãã¤ãã£ã¦ã¿ãã£ããããã§ãããä¸å¿ç®æ¨ã¨ã㦠ã·ã³ãã«ã ãã©ä½¿ãã cpanm ã§ã¤ã³ã¹ãã¼ã«ãå®äºãã ã§ããã ãå°ãªãä¾åé¢ä¿
å··ã§ã¨ã£ã¦ãéãã¦ä¾¿å©ã ãããã£ã¦ãªã£ã¦ã HTTP Client ã§ããã¨ããã® Furl ã®ç°¡åãªã¤ããæ¹ãç´¹ä»ãã¾ãã ãããã Furl ã¯ä½ãã£ã¦ããã¨ãperl ã«ã¯ LWP ã£ã¦ããè¶ é«æ©è½ãª HTTP Client ããã£ã¦ããããããã¡ã¯ãã«ãªã£ã¦ããã§ããã ã§ããããã£ã¦çµæ§æãããã£ã¦ããã¤éåé·å¤§ãªã¢ã¸ã¥ã¼ã«ç¾¤ãªã®ã§çµæ§é ãããã§ããã¨ãã« CPU 使ç¨çãé«ãã ãããªããã§ãlibcurl ãããéãã¦è»½ã HTTP Client ãããã¨ããããã£ã¦ãã¨ã§éçºãããã®ã Furl ã§ãã èªã¿æ¹ã¯ ãµãã¼ãã use strict; use warnings; use 5.0100; use Furl; my $furl = Furl->new(agent => 'Madoka-Magica/chu-2'); my $res = $furl->get('ht
ã¯ããã« ä»iPhone 3Gã使ã£ã¦ãããã§ããï¼docomoã®MEDIASã使ããã¨ã«ãªãã¾ããï¼å ã å¥ã®æ©ç¨®ã«å¤ãããã¨ã¯æã£ã¦ãããã§ããï¼è¨³ãã£ã¦2å°æã¡ã¨ãªã£ã¦ãã¾ãï¼ãã®ãã¡iPhoneã¯è§£ç´ãã¾ããã©ï¼ãã§ï¼ãã£ããAndroidæ©ãæã«å ¥ããã®ã§sl4aãå ¥ãã¦perlã§ããã°ã©ãã³ã°ãããã¨æãç«ã¡ã¾ããï¼ãã®è¨äºã¯ãµã³ãã«ã¹ã¯ãªãããåããã¾ã§ã«ã¤ãã¦æ¸ãã¦ãã¾ãï¼ Macããã®adb sl4aã使ãã ããªã®ã§Android SDKããã¹ã¦ã¤ã³ã¹ãã¼ã«ããå¿ è¦ã¯ããã¾ããï¼adbãããã°ããã ããªã®ã§ããï¼ããã§ã¯ã¾ãã¾ããï¼Macããusbã使ã£ã¦adbã§MEDIASãå¶å¾¡ããã«ã¯MEDIASã®ãã³ãIDãå¿ è¦ã§ï¼ããã~/.android/adb_usb.iniã«è¨è¼ãã¦ããå¿ è¦ããã£ãã®ã§ãï¼ã¡ãªã¿ã«ï¼adb_usb.iniãã¡ã¤ã«ã¯ $ android upd
NAME Data::Section::Simple - Read data from __DATA__ SYNOPSIS use Data::Section::Simple qw(get_data_section); # Functional interface -- reads from caller package __DATA__ my $all = get_data_section; # All data in hash reference my $foo = get_data_section('foo.html'); # OO - allows reading from other packages my $reader = Data::Section::Simple->new($package); my $all = $reader->get_data_section; __
$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /Developer/usr/libexec/gcc/darwin $ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /usr/libexec/gcc/darwin Xcode 4.0.1ã§ãæ²»ã£ã¦ã¾ããã§ããããã°ã¬ãã¼ãå¿ãã¦ããã§ããã ãããã£ã¨ãã¨ãMacPortsã§Leopardç¨ã®universal buildãå¯è½ã«ãªãã¾ãã $ sudo port install ncurses +universal macosx_deployment_target=10.5 confi
Catalystã ã¨Catalyst::Plugin::I18Nã使ãã®ã楽ã¿ããã§ããã Xslateã ã¨ä½¿ããªããããªã®ã§ Text::Xslateã®ããã¥ã¡ã³ããåèã«èªåã§è¨å®ãã¦ã¿ã¾ããã ï¼ã¡ãªã¿ã«ä»åã®ç®çã¯å½éåã§ã¯ãªããã©ãã«çããã¡ã¤ã«ç®¡çãããã£ãã ãã¨ãã...ï¼ ãµã³ãã« https://github.com/toritori0318/Catalyst-Xslate-Po-Example å¿ è¦ãªã¢ã¸ã¥ã¼ã«(Catalystã¨Text::Xslateã¯é¤å¤) I18N::Handle App::I18N Catalyst::View::Xslate ã¨ããããã®æé catalyst.pl ã§ã¢ããªã±ã¼ã·ã§ã³çæ catalyst.pl PoDemo ã¨ãã po ããã¸ã§ã¯ãï¼ã®åæè¨å® App::I18N ãã¤ã³ã¹ãã¼ã«ããã¨ãpoãã¨ããã³ãã³ãã使ããããã«
https://github.com/tokuhirom/OrePAN This is yet another DarkPAN manager. It is highly depended for cpanm. I don't think about relationship for CPAN.pm. It only works with cpanm. Just type % orepan.pl --destination=/path/to/repository Foo-0.01.tar.gzThen Foo-0.01.tar.gz register to the repo, and it add to the 02packages.details.txt.gz. And... You can install Foo from repo! % cpanm --mirror-only --m
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}