This document contains code snippets and data in various programming languages. It shows sample code for loops, modules, subroutines, data types, and more. Version counts from 2009 to 2018 are also included.Read less
This document contains code snippets and data in various programming languages. It shows sample code for loops, modules, subroutines, data types, and more. Version counts from 2009 to 2018 are also included.Read less
å»ã 10æ5æ¥ã«ãMackerel DAY ã¨ããã¤ãã³ããéå¬ãããããµã¼ãã¼ç£è¦ãµã¼ãã¹ã»Mackerel ã®ãªãªã¼ã¹3å¨å¹´ãç¥ã£ã¦ã®å¤§åã¤ãã³ãã§ã豪è¯ç»å£é£ãã²ã¹ãã«è¿ãããæ¼éãããæ親ä¼ã¾ã§ãé常ã«æ¿å¯ãªæéã ã£ããåãã¹ã¿ããã¨ãã¦åå ããã¾ãç»å£ãããã¦ããã ããï¼åã®ç»å£ã¹ã©ã¤ãã¯ãã¡ãï¼ã 豪è¯ç»å£é£ãã¨æ¸ããããæ¬å½ã«è±ªè¯ã§ãé常ã«å¤ç¨®å¤æ§ãªè¦³ç¹ã§ã®ã話ãè´ããã¨ãã§ããä¸ã®äººã¨ãã¦ãã»ãã¡ã¦ã¼ã¶ã¼ã¨ãã¦ãã大å¤è²´éãªæéã ã£ãããããªãªããã¬ãã³ã¨è³å¤©ã«é¿ããã»ãã·ã§ã³ããã¡ã«ã«ãªç¤¾ã® SRE ãã¼ã æå±ã»ããªã³ã·ãã«ã¨ã³ã¸ãã¢ã® id:kazeburo ï¼ @kazeburo ï¼ããã®çºè¡¨ã ã£ãã speakerdeck.com å 容ã¨ãã¦ã¯ãã¡ã«ã«ãªç¤¾ã«ããã Mackerel ã®ãµã¼ãã¹ï¼ãã¼ã«è¨è¨ã®ã話ã¨ãç¬èªã«ä½æãã¦ããããã«ã¹ã¿ã ã¹ã¯ãªããï¼ãã©ã°ã¤
ä»åã®ãé¡ foo.so ã«å«ã¾ãã¦ããé¢æ° void func(void) ãPerlããå¼ã³åºãã ãããã¿ã¤ã宣è¨ã®éããå¼æ°ã¯åããªããæ»ãå¤ããªãï¼ãããã¯è¦ãªãï¼ã ããããã¯ããã¤ããã£ã¦ã æ®éãªãXSã¢ã¸ã¥ã¼ã«ãæ¸ãã¦å¯¾å¿ããã ãã ãã®ã·ã³ãã«ãªç®çã®ããã«XSã¢ã¸ã¥ã¼ã«ãæ¸ãã®ã¯ãããã大è¢è£ãããã ããå°ãç°¡åã«ãããã¨æã㨠Inline::C ãå©ç¨ããã ããã§ãå¥ã«æ§ããªãã£ãã®ã ãã©ãä»åã¯ãã®Perlã¹ã¯ãªãããã»ã¼åæã«ä¸¦åèµ·åããå¯è½æ§ããããã³ã³ãã¤ã«ãå¤éã«èµ°ãã®ãé¿ãããã ã¨ãããã¨ã§ãã¡ãã£ã¨çããã¢ããã¼ãã¨ãã¦XSã¢ã¸ã¥ã¼ã«ã®ãã¼ã¹ã«ä½¿ããã¦ããDynaLoaderã¢ã¸ã¥ã¼ã«ãç´æ¥ä½¿ã£ã¦ã¿ããã¨ã«ããã DynaLoaderã¨ã¯ï¼ Perlã§æããããã³ã¢ã¢ã¸ã¥ã¼ã«ã§ã*.soãã¡ã¤ã«ããã¼ããããã®ä¸ã®ã·ã³ãã«ãã¢ã¸ã¥ã¼ã«åå空éã«
pid ãã¡ã¤ã«ãèªã㧠procfs ãããã¼ã³ã¨åã£ã¦éè¨ã¨ããããªãã¤ãæ¸ãã¦ã¿ãã 1secãã¨ã«60åãã¼ã¿ãåã£ã¦ãå¹³åãåãã¿ãããªã®ãåããã»ã¹å«ãã¦ãã¼ã³ã¨ã¤ãæãããã£ã¦ã¿ãã æ¸ããªãããªã¼ãã¼ããããã©ãããªãã¨ãèãå§ãã¡ãã£ã¦ãçµå±ããããã®ãgo ã§æ¸ããã»ããè¯ããªã¨ãããã¨ãæããã use strict; use warnings; use v5.10.0; use Getopt::Long; use Pod::Usage; use warnings FATAL => 'recursion'; { package ProcStat::Stat; use File::Basename qw/basename/; use List::Util qw/sum0/; sub new { my $class = shift; bless { }, $class;
ã¢ã¸ã¥ã¼ã«ã¡ã³ããã³ã¹ãéãã¦æããæè¿ã®Perl
mRuby.pm allows embedding mruby, a lightweight Ruby implementation, into Perl 5. This allows business logic and configurations written in Ruby to be shared across an iOS, Android, and web application. By using mruby, the codebases can access common Ruby code, rather than having the logic duplicated in Swift, Java, and Perl. mRuby.pm uses XS to embed mruby, exposing both low-level and high-level AP
Perl (ãããã¯ä»ã®è¨èª) ãç¨ãã¦æçã»èª¿çãèªååããã¨ãã話ããã¾ãï¼ æçã¯æéã¨æéããããå¶ã¿ã§ãããï¼21ä¸ç´ã«çæ´»ããæã ã¯ãããå¯è½ãªéãèªååãã¦ããå¿ è¦ãããã¾ãï¼ è©±ãå 容 2015å¹´ã¯ããã°ã©ãã³ã°æççã«ã¨ã£ã¦æ¬å½ã«ã¨ããã¯ã¡ã¼ãã³ã°ãªå¹´ã¨ãªã£ã¦ãã¾ãï¼ç§ã¯å¤§å¤è奮ãã¦ãã¾ãï¼ çãã㯠nomikuã¨ããããã¤ã¹ããåç¥ã§ããããï¼nomiku ã¯ç°¡åã«è¨ãã¨ï¼éã«è£ çãã¦ä½¿ãæçå¨å ·ã§éã®ä¸ã®æ¸©åº¦ãä¸å®ã«ä¿ã£ã¦ãããã¨ããããã¤ã¹ã¨ãªã£ã¦ãã¾ãï¼ããã«ããï¼äººéãç«å æ¸ãéä¸ç¢ºããã¦èª¿ç¯ããã¨ããæéãçãï¼æ©æ¢°ã«èª¿çãä»»ãããã¨ãå¯è½ã¨ãªãã¾ãï¼ ããã¦2015å¹´ï¼nomiku ã¯æ´ãªãé²åãéãã¾ããï¼Wi-Fi ãä»ãã¦æä½ã§ãã nomiku WiFi ãç»å ´ããã®ã§ãï¼ ãã®ã¢ãã«ã¯ nomiku ãé éå°ããæä½ããã¨ããæ©è½ãæä¾ãã¦ããã
é©å½ã«ãã£ã¦ããHerokuã«Dockerã使ã£ã¦ãããã¤ãã¦Perlã§PSGIã¢ããªã±ã¼ã·ã§ã³ãåãããï¼ ãªãã¼ããããã³ã«ã©ã³ãã ã«ç麦çç±³çåµã£ã¦åºãã¦ã§ããµã¼ãã¹ãä½ã£ãï¼æ©å£è¨èãè¨ãããã¨ãã«ãã¤ã§ã使ããï¼ https://secure-plains-1667.herokuapp.com/ ã³ã¼ãã¯ãã¡ãï¼Dockeræ´30åããããªã®ã§ãã¡ããã¡ãã ã¨æãï¼github.com åè id:y_uukiããã®Dockerfileãé©å½ã«ã³ãã¼ãã¦ãªãããã£ã¦ããåããï¼ yuuki.hatenablog.com ãã®ã¸ãè¦ã¦çä¼¼ãã¦æ¸ãããã§ããï¼ Heroku | Introducing 'heroku docker:release': Build & Deploy Heroku Apps with Docker ææ³ Herokuã§Perlåãããã¨ããã¨ï¼Build
This article Japanese only ããã«ã¡ã¯ï¼YAPCå®è¡å§å¡é·ã®ãã ã§ãã å¦çãã±ãã販売ãéå§ãã¾ããã 以ä¸ã®ãã±ãããµã¤ãã§ãå¦çãã±ãããããç³è¾¼ã¿ãããã ããå½æ¥å¦ç証ã®æ示ã§ã 2æ¥ééãå¸ããªãã¨ç¡æ ã§ãï¼ãã ããTã·ã£ãã¯ä»ãã¾ããï¼ã å¦çã®çæ§å¥®ã£ã¦ãåå ä¸ããã http://yapcasia2014.peatix.com/ ãã¦ãä»åã¯ãã®è²©å£²éå§è¨å¿µã¨ãã¦ãå¦çã¨ãã¦YAPCåå çµé¨ã®ãã2人ã«ãå¦çãYAPC::Asiaã«åå ããæ義ãããã¼ãã«ã¤ã³ã¿ãã¥ã¼ããã¦ã¿ã¾ãããã話ã伺ã£ãã®ã¯CPAN Authorï¼Perlã©ã¤ãã©ãªä½è ï¼ã§ããããããã¯ã¹ããã¨ã¢ãºããªã³ããã§ãï¼ æ¬æ¥ã¯ãéã¾ãããã ããããã¨ããããã¾ããã¾ããYAPCæ´ã¨ç°¡åãªèªå·±ç´¹ä»ããé¡ããã¾ãã ãããã¯ã¹ æ±å·¥å¤§å¦ã§è¡ããã2011å¹´ã®YAPC::Asiaã«
ååï¼Plack::Middlewareæ¸ããã®ã§ï¼Plack::Middlewareã®æ¸ãæ¹ãã¡ã¢ãã¦ããï¼ Plack::Middlewareã¢ã¸ã¥ã¼ã«ã«æä½éå¿ è¦ãªã®ã¯åºæ¬çã«2ã¤ãããªãï¼ Plack::Middlewareãç¶æ¿ãããã¨callã¡ã½ãããå®è£ ãã¦ããã ãï¼ callã¡ã½ããã®è¿ãå¤ã¯PSGIå½¢å¼ã®ã¬ã¹ãã³ã¹ã§ããï¼ ãªã¯ã¨ã¹ããã¨ãã§ããã¨ï¼builderãããã¯å ã§enableããé çªã«ããããã®callãçºè¡ãããï¼ package Plack::Middleware::MyMy; use strict; use warnings; use parent 'Plack::Middleware'; sub call { my ($self, $env) = @_; return $self->app->($env); # 次ã«enableããMiddleware
Perlã®CPANã§å ¬éããã¦ããGraph-Easyãå©ç¨ãã¦æ§æå³(ãããã¯å³)ãæ¸ãã¦ã¿ããã¨æã£ãã®ã§è©¦ãã¦ã¿ãã å°å ¥æ¹æ³ã¯ãããè¦ãã°ããã«åºæ¥ããæ®æ®µcpanã³ãã³ã使ã£ã¦ããã°ã$ cpan Graph::Easy ã§ã¤ã³ã¹ãã¼ã«ã§ããã¯ãã*1 ãã¨ã¯ãæ¦ç¥ãæ¸ãã¨ã°ã©ãåããããè¨è¿°ã®æ¹æ³ã¯ããã¥ã¢ã«ãåç §ããã¨ãããããããã # sample.txt [ Internet ] -- WAN --> [ nginx ] [ nginx ] -- LAN --> [ remp001 ] [ nginx ] -- LAN --> [ storyboards001 ] [ storyboards001 ] -- ref --> [ mongo001 ] [ remp001 ] -- ref --> [ mongo001 ] (LXC: [remp001], [storybo
Pelletkachels waren ooit eenvoudige apparaten voor verwarming, maar ze hebben een opmerkelijke evolutie doorgemaakt sinds hun bescheiden begin in de jaren â80 van de vorige eeuw. In dit artikel duiken we diep in de geschiedenis van pelletkachel, bespreken we de belangrijkste mijlpalen en ontwikkelingen op het gebied van subsidiemogelijkheden en werpen we een blik op de transformatie tot moderne en
2022/1/13ããã£ã¦ ã客æ§ããå©ç¨ä¸ã®ãã©ã¦ã¶ (Internet Explorer) ã®ãµãã¼ããçµäºãããã¾ããã ï¼è©³ç´°ã¯ãã¡ãï¼ ã¯ãã¯ããããæ¨å¥¨ããç°å¢ã§ã¯ãªããããæ£ãã表示ãããªããã¨ãããã¾ãã Microsoft Edge ã Google Chrome ããå©ç¨ãã ããã ï¼Microsoft Edgeã§ã¯ãã¯ãããã«ãã°ã¤ã³ã§ããªãå ´åã¯ãã¡ãï¼
ã¯ããã¨ããããã§èªåã®ãã¼ã¯ã§ãï¼ æ¨å¹´12æé ããé¢ãã£ã¦ãlivedoorBlogã®ã³ã¼ãã触ã£ã¦ããæã®æ¤ããã¹ã©ã¤ãã«ã¶ã¤ãã¦ã¿ã¾ããã 追è¨ï¼ã¹ã©ã¤ãã«ããã°ã«ãã¼ã«ã¼ãã¤ãããã¨ããã®ã¯ãï¼ã³ã¼ãèªãã§ãªããã©ï¼å¤åãã¡ãã®ã¨ã³ããªã«ããLog::Minimal::Indentã¨ã ãããåãæãã®ã¤ãã§ã ã¨ããã§Webä¸ã§è¦ãããææ³ã®ä¸ã§ãããªã®ãããã¾ããï¼ ä»å¹´å人çã«ä¸çªè¡æçã ã£ãã®ã¯ãã£ã±ãlivedoor blogã®Plackåã§ããæè¡çãªå´é¢ããããã¨ãªãããããããè¿è¦ç¼çã«ã¯ä½ã®ã¡ãªããããªãããéã«ãã¡ãªããã®æ¹ã大ããããªæ¡ä»¶ã«ãªã½ã¼ã¹ãå²ãã¸ã£ãã¸ãã§ããä¼ç¤¾ã¨ãã¦ã®å§¿å¢ãæ¬å½ã«åããªã¨ã å®ã¯ãã¸ãã¹çã«ãæå³ã¯ãããã ãªã¼ã ãªããªãæ¸ããã¨ãã§ããªãã£ããã ãã©ããã®å 容ã¨ããã®ããã¡ãã¨â ããã°ã®ãå¼ã£è¶ãæ©è½ãå¤§å¹ ã«å¼·åãã¾ããï¼ãï¼
1. Copyright (C) 1999-2013 DeNA Co.,Ltd. All Rights Reserved. 大è¦æ¨¡ Perl åå¿è ç ä¿®ãæ¯ããæè¡ æ ªå¼ä¼ç¤¾ãã£ã¼ã»ã¨ãã»ã¨ã¼ çç°ãå¤§è¼ 1 2. Copyright (C) 1999-2013 DeNA Co.,Ltd. All Rights Reserved. èªå·±ç´¹ä» 2 ⢠çç° å¤§è¼ (29) ⢠DeNA æ°åï¼å¹´ç® ⢠ã¨ã³ã¸ã㢠⢠æ¦å½ãã¯ã¤ã¤ã«ç«ã¡ä¸ãæ å½ â¢ 2012 å¹´æ¥ã« HR ã«ç°å æ°åã¨ã³ã¸ãã¢æ¡ç¨ã¨ ä¸éã¨ã³ã¸ãã¢æ¡ç¨ãæ å½ â¢ 2013 å¹´æ¥ æ°åã¨ã³ã¸ãã¢ç ä¿® Project Manager
xtetsujiã§ãã æ¨ä»ã¯æ¸ç±ãããæ¤ç´¢ã¨ã³ã¸ã³ã«é ¼ã£ã¦åå¼·ãã人ãå¤ããªã£ã¦ãã¦ããã®ããããã¾ãããããããã人ãæãããã®ããã«Perlã§ã¯ãã°ã°ããªããä¸æåå¤æ°ãä¸æåã·ã³ãã«ãããã«é¡ãããã®ã®æ°ã ãããã¾ãã å®éã®ã¨ãããã¡ããã¨æ¸ç±ãéèªããããperldoc perlvar perldoc.jp/perlvar ãèªãã°ç解ã§ããã®ã§ãããããã§ããããè½ã¨ãç©´ã¨ãã£ãã¨ããã解説ãã¦ããããã¨ãããã¾ãã use English; ã¯ä½¿ããªã perlvar ã®è§£èª¬ãèªãã§ããã¨ãä¸æåå¤æ°ãå«ãªå ´å㯠use English; ã¨ããã° $_ ã $ARG ã¨ãã¦åç §ã§ãã¦å¬ããããã¨ãã£ã解説ãè¡ããã¦ãã¾ãããé常 use English; ã¯ä½¿ãã¾ãããã¨ããããuse English; ã使ã£ãããã¸ã§ã¯ããå å¤ã§è¦èããããã¨ã10å¹´ã®éã«ç§ã®çµé¨ä¸ã
éçºç°å¢ã¨æ¬çªç°å¢ã§ favicon ãå¤ãã ã¨ããã®ã«æåããã®ã§Rack middlewareã§ãã£ã¦ã¿ã¾ãããã¨ããããæ¨æ¥ã®Plack::Middleware::DevFaviconãRackã«ç§»æ¤ããã ãã§ããã©ã Plackçã¨ããªããåã« favicon.ico ãªãã favicon.png ã¨ããååã«ããããããã°ã¬ã¼ã¹ã±ã¼ã«ã«ãã¦è¿ãã¨ããã ãã®ä»£ç©ã§ãããRack middlwareãªã®ã§ç°¡åã«å°å ¥ã§ããã®ã楽ããªã¨ã 使ãæ¹ã¯ä»¥ä¸ã®ã¨ãããfaviconãé ä¿¡ããããã«ã¦ã§ã¢ãããå ã«useãã¦ãã ããã if ENV['RACK_ENV'] != 'production' require 'rack-devfavicon' use Rack::DevFavicon end map "/favicon.ico" do run Rack::File.new("#{
NAME Carp::Reply - get a repl on exceptions in your program VERSION version 0.08 SYNOPSIS perl -MCarp::Reply script.pl or use Carp::Reply (); sub foo { # ... Carp::Reply::repl(); # ... } DESCRIPTION Carp::Reply provides a repl to use within an already running program, which can introspect the current state of the program, including the call stack and current lexical variables. It works just like R
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}