2016-01-01ãã1å¹´éã®è¨äºä¸è¦§
å¿ãã¦ããã®ã§ãã¡ã¢ $ ssh -L 5000:xxxx-db.hogehoge.ap-northeast-1.rds.amazonaws.com:3306 \ -i ~/.ssh/id_rsa \ [email protected] ã¨ãã£ã¦ããã¦ãå¥çªã§ãâãã $ /usr/local/mysql/bin/mysql --port=5000 -u foouser -p hogedb
rsync failed: command exited with code 12: error in rsync protocol data stream ã¨ãã¨ã©ã¼ã«ãªã£ãã®ã§ã調ã¹ã¦ãããlocal 㨠remote ã®ãã¡ã¤ã«ã®ãªã¼ãã¼ãç°ãªã£ã¦ããã®ã§ãchown ããã ãã¯ãããã
ãããªæãããª? #!/usr/local/bin/perl use strict; use warnings; use utf8; use Date::Calc; use Data::Dumper; main(@ARGV); # http://search.cpan.org/perldoc?Date%3A%3ACalc sub main { gmt_to_local(); local_to_gmt(); } sub gmt_to_local { my $isâ¦
perlã®æ¥ä»&æéè¨ç®module (Date::Calc , DateTime)ã®æ¯è¼ http://search.cpan.org/dist/Date-Calc/ http://search.cpan.org/dist/DateTime/ 主㫠Date::Calc ã使ã£ã¦ãã¾ãããæ¬æ¥æç¹(2016/11/14)ã§ãèªåãæ°ã«ãªããã¤ã³ããæ¯è¼ãã¦ãã¾ãã 2016/11â¦
èªã¿è¿ãããç¥ããªãã®ã§ãã¡ã¢ã www.koikikukan.com â» gcc , .so , -fPIC ç
ã欲ãããªã£ãã®ã§ãã¡ã¢ã s3cmd ã§ãããã¹ããbase64ãªç»åãã¡ã¤ã«ãput/get ãªæãã§ã s3 ...ã¨ãããã IAM( Identity and Access Management ) ã®è¨å® 以ä¸ã®3ã¤ã®ããªã·ã¼ãä½æããå©ç¨ããã¦ã¼ã¶çã«ã¢ã¿ããããã¾ãã 1çªç®ã®å ¨ãã±ãã(*)ã«â¦
ãµã¤ã³ãã®å¶æ°ã6åä¸ã2ååºãã¨ãã®æ¯æ¯ç(1åå½ããã®å¶æ°ãåºã確ç«)? ä¾ã¨ãã¦ãæ¯æ¯ç=0.5ã®å ´åã6åä¸ã2åãå¶æ°ãåºã確ç«ãæ±ãã¾ãã åæ§ã«æ¯æ¯ç=0.2, 0.3 , 0.4 , 0.8 ã®å ´åãæ±ãã¾ãã 以ä¸ãããã0.324135ããæã大ãããã¨ããããµã¤â¦
ææ°é¢æ° â»eã¯èªç¶å¯¾æ°ã®åº(ãã¤ãã¢æ°) â» a>0 , aâ 1 対æ°é¢æ° â» a>0 åæé¢æ°ã§ãã y = log(1-x) ã®å¾®å åæé¢æ°ã®å¾®åã§ã¯ã ã¨ãªããã¨ããã 1-x = t ã¨ããã¨ãy = log(1-x) = log t ã¨ãªãã ãã£ã¦ããã®å¾®åã¯
é å( permutation ) çµã¿åãã( combination )
å¤é åå¸...ãã£ããå¿ãã¦ã äºå¤å¤æ° ãåæ ¼orä¸åæ ¼ãã表orè£ãã®ããã«2ã¤ã®å¤ãåãå¾ãå¤æ° äºé åå¸ äºå¤å¤æ°ã«ããã¦ãæåç=Pã試è¡åæ°=nãæååæ°=kã¨ãªã確çã¯ä»¥ä¸ã®éã å¤å¤å¤æ° ãäºå¤å¤æ°ãã¨ç°ãªãã3ã¤ä»¥ä¸ã®å¤ãåãå¾ãå¤æ° å¤é åâ¦
end0tknr.hateblo.jp 以åãæ¸ããgmail.comã®stmpéä¿¡ããã®ã¾ã¾å©ç¨ã§ããªãã£ãã®ã§ããããã試ãã¦ã¿ããã以ä¸ã®ããã« auth() 㧠AUTHMETHOD='LOGIN' ãæå®ãããåãã¾ããã http://search.cpan.org/perldoc?Net%3A%3ASMTPS #!/usr/local/bin/perlâ¦
https://www.docker.com/products/docker-toolbox https://github.com/docker/toolbox/releases/download/v1.12.0/DockerToolbox-1.12.0.exe ãinstallå¾ãDocker Quickstart Terminal ã§error... Error creating machine: Error in driver during machine câ¦
http://www.ietf.org/rfc/rfc1855.txt æè¿ãããã±ãããã£ã¦è³ã«ãã¾ããããrfcåããã¦ã¦é©ãã
#!/usr/local/bin/perl use strict; use warnings; use utf8; use Encode; use FindBin; use LWP::UserAgent; use XML::Simple; use Data::Dumper; ## NHKã´ã¬ã¯ https://www2.nhk.or.jp/gogaku/english/ my $MUSIC_OUT_DIR = $FindBin::Bin; my $MUSIC_LISTâ¦
https://github.com/k-tamura/openam-book-jp/blob/master/preparing-for-installation.md ã«ã ãã¹ãç®çã®ããã§ãã£ã¦ããlocalhostãã¡ã¤ã³ã使ç¨ããªãã§ä¸ããã OpenAMã®åä½ã¯ããã¡ã¤ã³åã«åºã¥ãã¦è¿ããããã©ã¦ã¶ã®ã¯ããã¼ã«ä¾åãã¦ãã¾ããâ¦
#!/usr/local/bin/perl use strict; use warnings; use utf8; use FindBin; use File::Spec; use lib File::Spec->catdir($FindBin::Bin, '../lib'); : perlã§ã¯ä¸è¨ã®ããã«ãuse lib , FindBinãã使ç¨ãã¦ãã¾ããã pythonã§ã¯ã以ä¸ã®ããã«ãimport syâ¦
ãã¡ãã§æä¾ããã¦ãã¿ãã https://hub.docker.com/r/forgerock/openam/
internetã«æ¥ç¶ããã¦ããªãç°å¢ã« 対象ã®perl moduleãinstallããå¿ è¦ããã£ãã®ã§ãOrePANã使ã£ã¦ã¿ã¿ãã åæºå äºåã«æ¬çªæ©ã«ã¯ãApp::cpanminus (cpanmã³ãã³ã)ã éçºæ©?ã«ã¯ãOrePAN + App::cpanminus (cpanmã³ãã³ã)ãinstallãã¦ããã¦ä¸ããâ¦
end0tknr.hateblo.jp 以åãâãã¡ã㧠mysql5.5ãinstallãã¾ãããã5.7ã§ã¯å°ã ç°ãªãã¾ããã®ã§ install mysql 5.7 $ wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.14.tar.gz $ tar -xvf mysql-5.7.14.tar.gz $ cd mysql-5.7.14 $ cmakeâ¦
install perl 5.18 $ wget http://www.cpan.org/src/5.0/perl-5.18.4.tar.gz $ tar -xvf perl-5.18.4.tar.gz $ cd perl-5.18.4 $ ./Configure -Dusethreads -Accflags="-fPIC" -de $ make $ make test $ su # make install â»ã-Dusethreads -Accflags="-fPICâ¦
step1/3 - install $ cd /home/endo/tmp $ wget http://nginx.org/download/nginx-1.9.3.tar.gz $ tar -xvf nginx-1.9.3.tar.gz $ wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz $ tar -xvf openssl-1.0.2d.tar.gz $ git clone https://githubâ¦
vdiå½¢å¼(åºå®ãµã¤ãº)ã®æ¹ãããã£ã¹ã¯I/Oãè¯ãæ°ãããã®ã§ã次ã®ãããªæé ã§ãã£ã¦ã¿ãã STEP1 ãã¡ã¤ã« â ä»®æ³ã¡ãã£ã¢ããã¼ã¸ã£ STEP2 ã¤ã¡ã¼ã¸ãã¡ã¤ã«ã®ã³ãã¼ â»VDI(åºå®ãµã¤ãº)ãVDMK(å¯å¤ãµã¤ãº) STEP3 æ§ã¹ãã¬ã¼ã¸ãun-mountãæ°ã¹ãã¬ã¼ã¸ãmoâ¦
ã§ãã½ã¼ã¹ããããããè¦ãã¾ãã step1 ãã¼ã¸ã¬ã¤ã¢ã¦ã â ã»ã¯ã·ã§ã³åºåã + è¡çªå·è¡¨ç¤º step2 ãã¶ã¤ã³ â ãã¼ã¸ç½«ç· step3 ãã¼ã â è¡ééèª¿æ´ ãã©ã³ãã®èª¿æ´ã¯ã好ã¿ã§
ã§ãã£ã¦
sqlã®"--"ã³ã¡ã³ãã«ãè¨è¼ãã¦ãã¾ãããèªåã¨ãã¦ã®ãã¤ã³ãã¯ã LOCAL INFILEã®"LOCAL"ã§ã"Access denied for user..."ã®ãããªã¨ã©ã¼ã«ãªãã¥ãã "\N"ã¨ããªãã¦ããNULLIF()ã§nullå¤ãimportã§ãã¾ã ããª? LOAD DATA LOCAL INFILE '/path/to/importâ¦
end0tknr.hateblo.jp âãããªé¢¨ã«plug-inãæ¸ãã¦é å¼µããªãã¦ã Plack::Util::load_psgi ã Test::WWW::Mechanize::PSGI ã§ååå®ç¾ã§ããããã§ããâ use strict; use warnings; use utf8; use HTTP::Cookies; use JSON; use Plack::Test; use Plack::Utilâ¦
以ä¸ã® get_dummy_context() å ã«è¨è¼ãã¦ããããã«Amon2ã¯ã©ã¹ã«å¯¾ãã¦ãplug-inãæ¸ãã¨OK use strict; use utf8; use t::Util; use CGI; use Date::Calc; use JSON; use Plack::Session; use Plack::Test; use Plack::Util; use Test::More; use Data::Dâ¦
ãµã¼ãããjsonãåãåã£ã javascript ãã æ°å¤(ä¾:2)ãæå¾ ãå³å¯ç価æ¼ç®å (===)ã§validateããã¨ããã æåå(ä¾:"2")ã ã£ãçºãfalse ã¨ãªã£ããã¨ããã£ããã§ãã perl製ãµã¼ãã¢ããªã¨ãã¦ã¯ã$val += 0 ã«ãããæ°å¤å( numfy )ãã¾ãããã æ°â¦
åæºå - å¿ è¦moduleã®install # yum groupinstall "Development Tools" # yum install openssl-devel readline-devel zlib-devel curl-devel \ libyaml-devel ImageMagick ImageMagick-devel # yum install ipa-pgothic-fonts # yum install ruby ruby-deveâ¦
end0tknr.hateblo.jp 以åâãã®ããã«æ¸ãã¦åä½ãã¦ããæ°ããã¾ããã googleã«2段éèªè¨¼ãå°å ¥ãããçºã§ããããã? åä½ããªããªã£ã¦ããã®ã§ã以ä¸ã®ããã«ä¿®æ£ãã¾ããã #!/usr/local/bin/perl use strict; use utf8; use FindBin; use File::Spec; â¦