{{tag: amazon, bluetooth}} å¹´å ã«æ¸ããã¨æã£ã¦ãããã©ãå¹´ãæãã¦ããã ãã¶æéããã£ã¦ãã¾ã£ããå»å¹´è²·ã£ã¦è¯ãã£ããã®3é¸ã§ãããæ»åãã ããã USB TYPE-C ãã°ãããã¢ããã¿ ããã¯ååã«ä¾¿å©ã§ããã¨æãã¦ããã£ã¦å°å ¥ãããã®ãUSB-C ã®å£ããã°ãããã§æ¥ç¶ã§ããããã«ãããã®ã [[https://amz... ã¤ã¥ããèªã
ããã価å¤ãçºæ®ãããããªåºé¡ã§ã¯ãªãã£ãã®ã§çµå±ã¤ããã¾ããã§ãããããã¨ã§CPANizeã¯ããã¤ããã§ãã ã¦ãã¨ããªã¨ãã㧠^C ã§ã¨ããã¨çµæãèªåçã«éè¨ãã¦reportãã¤ããã¨ããã¾ã§ãã£ã¦ããã¾ããããã¾ã§ãéçºç¨ã§ãæ¬çªç¨ã§ã¯ããã¾ããã ãªãããã使ãå ´åãã¢ããªå´ã§ DB::enable_profile() / DB::disable_profile() ãè¡ãå¿ è¦ãããã¾ããtokuhiromã®ã¨ã³ããªãåç §ã®ãã¨ã #!/usr/bin/env perl # usage: plackup-nytprof --port 1982 app.psgi use 5.10.0; use strict; use warnings; use Cwd qw(getcwd); use File::Path qw(rmtree); sub run { my(@args) = @_;
ãåã®PSGIãã¡ã¤ã«ãåã®ããã«ã¦ã§ã¢ã§ãã£ã±ãã«ããããã¨ããå°è©ãæãã¤ãããã©ãåãããã»ã©Plack::Middlewareãæ¸ãã¦ãªãkazeburo ã§ãã ãããªåãä¸çªæè¿æ¸ãã Plack::Middleware ãYet Anotherãªã¢ã¯ã»ã¹ãã°è¨é²ããã«ã¦ã§ã¢ AxsLog ã§ããæäºäººçµã¯ä»å¹´ã§ããã¥ã¼20å¨å¹´ãããã§ãããããã¾ãé¢ä¿ããã¾ããã https://metacpan.org/module/Plack::Middleware::AxsLog Plackã®ã³ã¢ããã±ã¼ã¸ã®ä¸ã« Plack::Middleware::AccessLog ãå«ã¾ãã¦ã¾ããã以åãããã®ããã«ã¦ã§ã¢ãæ¯è¼çãéããã¨ãããã¨ãæ°ã«ãªã£ã¦ãã¾ããããã¤ã¯ããã³ããã¼ã¯ã§ããã $ cat test.psgi sub { [200,['Content-Type'=>'text
Plack Handbookã¯ãCGI以éã®æè¿ã®Perlã使ã£ãã¦ã§ããµã¤ããä½ãä¸ã§ãã¼ã¹ã¨ãªãPSGIã¨ããä»æ§ã®å®è£ ã§ããPlackã®ã¾ã¨ã¾ã£ã(é»å)æ¸ç±ã§ããå¾ ã¡ã«å¾ ã£ã¦ã¾ããã¨ããæãã ã£ããã§ãããã§ãã£ã¨å ¥æãã¦èªãã ææ³ã¨ããã¡ã¢ãã¾ãã ã¨ããã¤ã¤Plackã£ã¦ä½?詳ããæãã¦? ä¸è¿°ããéããªãã®ãPlackãªã®ã§ãããFTPã§ã¢ãããã¦ãµããµããµããã¨ããäºããã¦ãã人ã«ã¨ã£ã¦ããã¾ãã¡ãã³ã¨ããªãã®ãPlackã ã¨æãã¾ããæã¯ãFTPã使ã£ã¦.cgiãã¡ã¤ã«ã¿ãããªã®ãã¢ãããã¦ã¡ãã£ã¨ããåçãªåãããããã¼ã¸ãä½ãã«ã¯ãPerlã ã¨CGI.pmã¨ããCPANã¢ã¸ã¥ã¼ã«ã«æºæ ããªããããããã¨ä½ã£ã¦ããã®ã§ãããã ãApacheã®CGIã¨ããæè¡ã®ä¸ã ã¨ãä½åæ¯åããã°ã©ã ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ãã¨ããè¡ãã®ã§é ãã£ããããã®ã§ããããã§ãFastCGIã¨ãmo
ãã®ææãPerlãå¦ã³å§ããæ¹ãå¤ãã¨æãã¾ããããã§ããã°ã©ãã³ã°åå¿è ãPerlãå¦ã¶ã®ã«é©ããæ¬ããç§ãå®éã«èªãã ãã¨ã®ãããã®ã®ä¸ããé¸ãã§ã¿ã¾ããã 1åç® 1åç®ã¯ãªãã§ãããã¨æãã®ã§ã¨ããããå®çªã¨ãã¦ãªã£ãæ¬ãæãã¦ããã¾ãã åãã¦ã®Perl 第5ç ä½è : Randal L. Schwartz,Tom Phoenix,brian d foy,è¿è¤åéªåºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã¸ã£ãã³çºå£²æ¥: 2009/10/26ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 22人 ã¯ãªãã¯: 293åãã®ååãå«ãããã° (41件) ãè¦ãããã§åºæ¬çãªPerlã®ææ³ãå¦ã¹ãã¯ãã§ãããã®æã®å ¥éæ¸ã¯ã課é¡ããã¤ããã®ã§ããããã¹ã¦è§£ãå¿ è¦ã¯ãªãã¨æãã¾ããå¹¾ã¤ãæ°ã«ãªããã®ã»é¢ç½ãããªãã®ã ã試ãã¦ã¿ãã°ããã§ãããã 1åç®èªäºã®è¾å ¸ã§ã¯ã以ä¸ã®ããã°ã©ã ã®ç°¡æãã¼ã¸ã§ã³*1ãå®è£ ã§ãããã
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"ã¯ãããããä¸åã®ã¢ããªãªãããã¼ã¿ãã¼ã¹ãªããæãï¼
Superglue interface between perl web application frameworks and web servers, just like Perl is the duct tape of the internet. PSGI is an interface between Perl web applications and web servers, and Plack is a Perl module and toolkit that contains PSGI middleware, helpers and adapters to web servers. PSGI and Plack are inspired by Python's WSGI and Ruby's Rack. Documentation PSGI specification Freq
æ¬é£è¼ã§ã¯ã第ä¸ç·ã®Perlããã«ã¼ãåæ¿ããã§å·çãã¦ããã¾ããè¨å¿µãã¹ã第1åã¯ãWEB+DB PRESSæ¬èªã§ã¯Vol.2ããå·çãã¦ãããé·ããé£è¼ãæ å½ãã¦ããå®®å·é彦ããã§ãã ã¯ããã« Perlã§Webéçºãããããã®ãã¬ã¼ã ã¯ã¼ã¯ã¯ç¾è±ç¹ä¹±ã人æ°ãéãã¦ãã¾ããæ¬ç¨¿ã§ã¯ããããã®ãã¬ã¼ã ã¯ã¼ã¯ãå ±éãã¦å©ç¨ããããã®ã¤ã³ã¿ãã§ã¼ã¹ä»æ§ã§ããPSGIã¨ããã®ã¨ã³ã¸ã³ã¨ãã¦ã®å®è£ ã§ããPlackãç´¹ä»ãã¾ãã PSGIã«è³ãé Perlã¨Webã¢ããªã±ã¼ã·ã§ã³éçºã®è¦ªåæ§ Perlã¯ãã¤ã³ã¿ã¼ãããã®ã°ã«ã¼ï¼ç³ï¼ã®ãï¼è¨èªãã¨ãè¨ãããCGIã«ããéçºãã¡ã¤ã³ã ã£ã1990年代ãããWebã¢ããªã±ã¼ã·ã§ã³éçºã«æãé¢ããã®ããããã°ã©ãã³ã°è¨èªã®ä¸ã¤ã¨è¨ã£ã¦ããã§ãããã2000年代ã«å ¥ã£ã¦ããRuby on RailsãPHPãªã©ã®ä»è¨èªããã®å½±é¿ãåãå ¥ããªãããWebéçº
ãµãã¨ã¯å½¼å¥³ã®èªå® è¿ããæ¹åå°é§ åã®ã¹ã¼ãã¼ãã¼ã±ããã§å¾ ã¡åãããããã彼女ã¯èªè»¢è»ã§å¾ãã追ãã¤ãã¨è¨ããåã¯å¤§ããªã³ã¤ã³ãã¼ãã³ã°ã¸è»ãåãããç èãä¸æ¬å¸ã£ã¦ããã¹ã¼ãã¼ãã¼ã±ããã¸åããã¨ãã²ã£ãããªãã«ä¸»å©¦çãªå¥³æ§ããã°ãã¡ãããå ¥ãå£ãåºããå ¥ã£ãããã¦ãããæå»ã¯åå¾5æã«ãªããæè¨ããç®ãä¸ããã¨ãå¾ ããã¡ãã£ãããã¨å¤§ãã¦æªã³ãã¦ãªãæ§åã§ãµããæã¶ãã§ãã£ã¦ããã ã礼ã«æçãä½ãã¨ã¯ããããµãã®å®¶ã«ã¯é£æãåå足ãã¦ããªããããããããã¦ã¹ã¼ãã¼ãã¼ã±ããã«å¯ããã¨ã«ãªã£ãããµãã¯éèã³ã¼ãã¼ããç²¾èã³ã¼ãã¼ã¾ã§ãã¾ãã§åªç§ãªã«ã¼ããã«å°ãããããã«ç¡é§ãªãç¹æ¤ãã¦ãã£ãã欲ããé£æãããã¨ã2ç§éç¨åº¦ããããåè¦ããä¸åº¦æã«åã£ããããããããè±èãããè¿·ããã¨ãªãåãæã£ã¦ããã«ã´ã«æ¾ãè¾¼ãã ãæå¾ã«ã¢ã«ã³ã¼ã«é£²æãå·ãããã¦ããæ£ã®åã¸è¡ãã¨ãç§ã飲ãããã¨ã
Plack + Markdown ä»Markdownã§ç´ç¨ã®å稿æ¸ãã¦ãããã ãã©ã»ã»ã» Markdownã£ã¦æ¥½ã ãã©ãå®éã«ãã©ã¼ãããã£ã³ã°ãã©ããªæãã«ãªãããè¦ãã«ã¯1åãã¼ã¹ãã¦å¦çããå¿ è¦ããããããªãã§ããããã¡ãã¡Markdown.plå¼ã³åºãã®ãé¢åãããããPlackã§ãã£ã¬ã¯ããªç´ä¸ã®ãã¡ã¤ã«ããã¼ã¹ãã¦ã¯ãåºãããã«ããã Plackã¯ãªã«ãã«ãããã使ãæ¹ãç°å¸¸ã«ä¾¿å©ãªæ°ããããã¾ãã«Swiss Army Knifeã£ã¦æãã use strict; use File::Spec; use Text::MultiMarkdown 'markdown'; sub { my $env = shift; my $file = File::Spec->catfile( File::Spec->curdir, $env->{PATH_INFO}); open my $fh,
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}