2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
TL;DR DynamoDB Localã¯DynamoDB Streamsããµãã¼ããã¦ããï¼ æ¬ç©ã®DynamoDB Streamsã®ããã«ï¼ä¸å®æé以ä¸å¤ãã¬ã³ã¼ãã«ã¤ãã¦ã¯ããªãã³ã°ããã (å ·ä½çãªããªãã³ã°æéã«ã¤ãã¦ã¯æªèª¿æ»)ï¼ ããã¥ã¡ã³ããå°ãªã (è¦ã¤ããããªãã£ãâ¦â¦) ã®ã«å ãï¼â¦
bitly/oauth2_proxyãç¨ãã¦ï¼ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã«æã£åãæ©ãOAuth2èªè¨¼ãå°å ¥ããã¨ãã話ã§ãï¼ oauth2_proxyã¯è¯ãæãã§OAuth2ã«ããèªè¨¼ãè©ä»£ãããã¦ãããåã§ï¼ä½ããã®ãªãã¼ã¹ãããã·ã®èªè¨¼æ©æ§ã¨çµã¿åããã¦å©ç¨ããã¨ç°¡åã«OAuth2ãã°â¦
AWS Elastic Beanstalkã¯æ©è¨¶ä¸æè°ãªçç±ã§health checkãéããªããªããã¨ãããã¾ãï¼ ãã¨ãã°EBã®ç°å¢ãæ°è¦ã«æ§ç¯ããéã«ï¼ã¨ããããåä½ãããã©ãã確èªããããã«AWSãç¨æãã¦ããã¦ãããµã³ãã«ã¢ããªããããã¤ãããã¨ããã§ãããï¼ããããâ¦
ä¾ãã°è¸ã¿å°ãµã¼ãã«å人ã®ã¢ã«ã¦ã³ãã§å ¥ã£ã¦ããï¼æãuserã«suã§åãæ¿ãã£ã¦è²ã ããï¼ã¿ãããªã·ãã¥ã¨ã¼ã·ã§ã³ãããã¨æãã¾ãï¼ ãããªæã«ï¼æãuserã«suããéã«ãããããä»»æã®ã³ãã³ããå®è¡ãã¦ããã¦ã»ããã¨ããæãããï¼ããã®ã§ãï¼ã¨ãâ¦
tcpdumpã®æä¾ãã-Wãªãã·ã§ã³ã¨-Gãªãã·ã§ã³ï¼ãªãã³ã«crontabãä½µç¨ããã¨ãããï¼tcpdumpã®-Wãªãã·ã§ã³ã¯ãã°ãã¼ãã¼ã·ã§ã³ãè¡ãåæ°ã§ï¼-Gã¯ãã®ãã¼ãã¼ã·ã§ã³æéãç§æ°ã§æå®ã§ããï¼ ä¾ãã° $ tcpdump -w ./%Y%m%d%H%M%S.pcap -W1 -G60ãªã©ã¨ãâ¦
plenvãperlbrewçã§ããããªperlç°å¢ãå©ç¨ãã¦ããéã«ï¼Perl::Critic (ä¾ãã°ã¨ãã£ãã¿ã®syntax checkingã«å¼ã£æãã¦ãããããªã·ãã¥ã¨ã¼ã·ã§ã³) ãLãªã©ã®èªåã®ç°å¢ã§ã ãåãããããªã¢ã¸ã¥ã¼ã«ãç°å¢ã°ãã¼ãã«ã«å ¥ããããªãã¨ããå ´åãçãã¦ãâ¦
Elasticsearchã®X-Packã¯ãã¸ä¾¿å©ãªãã§ããï¼æåãªã®ã§ (ã ããmonitoræ©è½ãªããã¯ç¡åã®Basicã©ã¤ã»ã³ã¹ã§ä½¿ãã¦æé«) 使ããªã人ãå¤ãã§ãããï¼ ãããªå ´åï¼Elasticsearch/KibanaãDockerã§åããã¨ããæã«X-Packãåãé¤ããããªãã¨ããã®ã人æ â¦
ããæ¹ã«ã¤ãã¦ã¯ããã¥ã¡ã³ããèªãã¨è¯ãï¼docs.aws.amazon.com option_settings: aws:elasticbeanstalk:command: DeploymentPolicy: Immutable HealthCheckSuccessThreshold: Ok IgnoreHealthCheck: false Timeout: "600" è¨å®ãã¡ã¤ã«ã§ãããªãã°ãããâ¦
ä¾ãã°CIã§ãã¹ãã®ããã®ã¹ãã¬ã¼ã¸ã®ã³ã³ãããä¸ããéï¼ãã®ã¹ãã¬ã¼ã¸ãä¸ããããã¾ã§å¾ ããªããã°ãã¹ãã«ã¯ä½¿ããªãããã§ãããä¸ããããã¾ã§ä½ç§å¾ ã¦ã°ããã®ããã¨ããã®ã¯ä¸æ¦ã«æ±ºãããããã®ã§ã¯ããã¾ããï¼ ããããéï¼å®éã«ã¹ãã¬ã¼ã¸ã«â¦
ã¤ã³ã¹ã¿ã³ã¹ã«ã¡ã½ãããçãã class EmptyCat {} def cat = new EmptyCat() cat.metaClass.nyan = { return 'meow' } cat.nyan() // => 'meow' ã¤ã³ã¹ã¿ã³ã¹ã® metaClass ããMetaClass (HandleMetaClass) ãå¼ã£å¼µã£ã¦ãã¦ï¼ããçµç±ã§çããããã¡ã½ãâ¦
ä¾ãã°Elasticsearchã使ã£ãããã¸ã§ã¯ãããã£ãã¨ãã¦ï¼ãããCircleCIã§ç¶ç¶çã«ãã¹ããããã¨ããï¼CircleCI 2.0ã¯ã³ã³ãããã¼ã¹ã®CIç°å¢ãªã®ã§ï¼ãã®ããã¸ã§ã¯ããæ¡ç¨ãã¦ããè¨èªã®ã³ã³ããã®ä¸ã§Elasticsearchãåããå¿ è¦ãããï¼ã©ããããï¼câ¦
表é¡ã®ãããªç¶æ³ã®ãã©ãã«ã·ã¥ã¼ãã«ã¤ãã¦è¨ãã¾ãï¼moznion.hatenablog.comã¨ãããããã®ç¶ãã§ãï¼æªå¥ç¾è±¡ãªã©åå¨ããªãï¼ èæ¯ ãã©ã¦ã¶ã¨ãcurlã¨ãããã¯ãªã¯ã¨ã¹ããéãã®ã«Javaããã¯éããªã Let's encryptã®è¨¼ææ¸ã使ã£ã¦ãã Let's encrypâ¦
Multiple projectãªgradle projectã ã¨ï¼ apply plugin: "checkstyle" ã¨æ¸ãã¦ãããã ãã§ã¯checkstyle pluginããã¾ãåããªãï¼ãããã Unable to create Root Module: config ... ãªã©ã¨ããã¨ã©ã¼ã¨ã¨ãã«æ»ã¬ã§ãããï¼ ã¨ããã®ãï¼gradle checkstyâ¦
[追è¨] ã³ã¡ã³ãã§ææãããã¾ãããï¼Karabiner-Elementsã®GUIä¸ã§ complex modifications â Add rule â import more rules from the Internet â Exchange semicolon and colon ãé¸æãããã¨ã§ææã®åä½ã®å®ç¾ãå¯è½ãªããã§ãï¼å¾ã£ã¦æ¬è¨äºã¯colonã¨sâ¦
DDD (Domain Driven Design/ãã¡ã¤ã³é§åè¨è¨) ã«ã¤ãã¦ã®å¦ç¿æ°éãããï¼ãã®åå¼·ä¼ã社å ã§ãã£ãã®ã§ãã®çµéãè¨ããã®ã§ãï¼ DDDã«é¢ãã詳細ãªå 容ã«ã¯è§¦ãã¾ãã (è¯ãæ¬ãè³æãå··ã«ã¯æº¢ãã¦ãã¾ã)ï¼èªæ¸ä¼èªä½ãã©ããã£ããçãªè©±ã§ãï¼ åæ deâ¦
ç§ä¿¡ã§ãã転è·ãããã¾ãï¼ä»¥ä¸ã®éãã§ãï¼From: LINE To: Soracomé¢ä¿åä½ã«æè¬ãç³ãä¸ãã¾ãï¼ãããã¨ããããã¾ããï¼ ä»¥ä¸ã§ãï¼ãããããé¡ããã¾ãï¼ãªãæ¬è¨äºã¯ä»¥ä¸ã®ã¬ã®ã¥ã¬ã¼ã·ã§ã³ã«å¾ãã¾ããï¼ã¿ã¤ãã«ã§ç ½ããªãããããã¾ã£ãè¦åºããâ¦
kyoto-nanka.connpass.comãããã¦ç©èªã¯æ´ã«ä½åº¦ç®ãã®ã¢ããªå éç¥åå®è£ ãè¿ãããã¨ããã¿ã¤ãã«ã§è©±ãã¦ãã¾ããï¼ã¹ã©ã¤ãã¯ä»¥ä¸ã§ãï¼speakerdeck.comååéå¬ã®Kyoto.ãªãã #2ã§ã¯ãããã¦ç©èªã¯ä½åº¦ç®ãã®ã¢ããªå éç¥åå®è£ ãè¿ãããã¨ããã¿ã¤â¦
builderscon.ioåå ãã¦ãã¾ããï¼ è¦ãä¸ã§å°è±¡ã«æ®ã£ããã¼ã¯ã«ã¤ãã¦ææ³ãå°ãï¼è©³ç´°ãªå 容ãä½ãæ¸ããªããã§ããã¯ã¡ããã¡ãã«é¢ç½ãã£ããã©ã¦ã¶æ¡å¼µã®ã¯ãã¹ãã©ã¦ã¶å¯¾å¿ã«ã¤ãã¦ã®è©±ï¼ãããããªä¾¿å©ãã¼ã«ãèªä½ãã¦å©ç¨ãã¦ãã¦æ ¼å¥½è¯ãã£ãï¼ã¨â¦
表é¡ã®ã¨ããã§ãï¼è©±ãã¾ããï¼ ããã¯åãæ®æ®µã®éçºä¸ã«ã¨ã©ã¼ã¡ãã»ã¼ã¸ã¨è§¦ãããæã«æ°ã«ãã¦ãããï¼èãã¦ãããã¨ãä¸æããã¨è¨èªåãããã¨ãã試ã¿ããå§ã¾ã£ããã®ã§ãï¼speakerdeck.comçºè¡¨ä¸ã«dan kogaiããããããééãããã¨ãè¨ã£ã¦ããâ¦
*nixã®exit statusã®ã»ãã³ãã£ã¯ã¹ã«ã¤ãã¦ãã¤ã¦è³ªåãã¦ï¼çãã¦ãã¦ããã£ã¦ãããã¨ãæãåºããã®ã§è¨ãã¾ãï¼ moznion [5:46 PM] signalåãåã£ã¦exitããæï¼ãã®signalã®å¤ããã®ã¾ã¾exit codeã«ä½¿ãï¼ã¿ãããªãä½æ³ã¿ãããªã®ã£ã¦ãããã§ããã£â¦
Perl5ã®è©±é¡ã§ãï¼ JSON::XSãç¨ãã¦ï¼JSON StringãPerlã®HashRefã«ãã·ãªã¢ã©ã¤ãºããæã«trueã¨falseã®æ±ããå¤ãããã¨ãã話ã§ãï¼ããã©ã«ãç¶æ ã§JSON::XSãç¨ãã¦ãã·ãªã¢ã©ã¤ãºããã¨ï¼ true 㯠Types::Serialiser::true ããªãã¡ JSON::PP::Booleaâ¦
Perl5ã®è©±é¡ã§ãï¼List::Haystackã¨ãããã®ãæ¸ãã¾ããï¼CPANã«ãã¢ãããã¼ããã¦ãã¾ãï¼ çµç·¯ã¨ãã¦ã¯ä»¥ä¸ï¼Perlï¼immutableãªæãã§ï¼List (Array) ä¸ããè¦ç´ ãfindãããï¼åºç¾åæ°ãåãã¢ã¸ã¥ã¼ã«ã£ã¦åå¨ãã¦ãããã§ããã£ãâ ãããªãã¯ã¤ã¡ã¼â¦
sub func { return 100; } ã¿ãããªãµãã«ã¼ãã³ããã£ãæã«ï¼ say(func - 99); ã¿ãããªæãã§å¼ã³åºãã¨ï¼ããã¨è¦ 1 ãåºåããããã«è¦ãããï¼å®é㯠100 ãåºåãããï¼ ãã㯠- 99 ã func ã®å¼æ°ã¨ãã¦è§£éããã¦é£ãããããã§ããï¼ B::Deparse â¦
yapcjapan.orgåºãã¾ããï¼æè¿YAPCã§ããåã£ã¦ãªãæãããã¾ããï¼æããã¦ãããªã®ã§ãï¼ã¨ããããã§ãããã¼ã¶ã«å 容ã¯ä»¥ä¸ã®ã¨ããã§ãï¼ Web application good error messages and bad error messages Webã¢ããªã±ã¼ã·ã§ã³ãä½ãï¼éç¨ãã¦ããã¨ä¾â¦
ã¡ã¢ï¼ Ansibleãå©ç¨ããã¨ããæèã«ãããbareãªOpenWrtã®ç°å¢ã®ç¹å¾´ã¨ãã¦ã¯ä»¥ä¸ã®ãããªãã®ããã; sftpãæå¹ã§ã¯ãªã Pythonã©ã³ã¿ã¤ã ãå ¥ã£ã¦ããªã ãããã解決ããã°ï¼ãã¨ã¯ãã¤ãã®ããã«æ®éã«Ansibleã使ãã (ã¯ã)ï¼ ã¨ããããã§ãããâ¦
OpenWrtã§ãã£ããLANã®Interfaceã®è¨å®ããããã£ã¦ãã¾ã£ããããã¨ï¼Web UIã«å ¥ããªããªã£ã¦ãã¾ã (ãã¡ããsshãã§ããªã) ãã®å¾ã®è¨å®ãä¸åä¸è½ã«ãªã£ã¦è©°ãäºãããã¾ãï¼ããããæã«å·¥å ´åºè·æ (ã¨ãã表ç¾ãæ£ããã®ãã©ããã¯ãããã¾ããã) â¦
BUFFALOã®ç¡ç·LANã«ã¼ã¿ã§ããã¨ããã®WZR-HP-AG300Hã«OpenWrtãç¼ãã¦å©ç¨ããéã®ã¡ã¢ã§ãï¼ãªããã·ã³ã®OSã¯macOSã§ãï¼Windowsçã ã¨ã¡ãã£ã¨éããããããªããæ¦ãåé¡ãªãã¯ãï¼buffalo.jp AG300Hã¨ãã·ã³ãLANã±ã¼ãã«ã§ç¹ã é©åãªã±ã¼ãã«ã§ç¹ã â¦
MyBatisã®MapperãGroovyã®annotationã使ã£ã¦æ¸ãã¨ä½ãã¨ä¾¿å© (主ã«ãXMLãæ¸ããªãã¦ãè¯ããã¨ããç¹ã§ä¾¿å©) ãªããã§ããï¼ãããªä¸ã§ãWHERE INããå©ç¨ããSELECTã @Select annotationãã¼ã¹ã§ã©ããã£ã¦æ¸ãã®ãã¨ãã件ã§ãï¼è¦ã¯ SELECT * FROM uâ¦
åæ OpenSSLãbrewã§å ¥ã£ã¦ããï¼ çµè« ããããã°è¯ã (brewç°å¢ä¸ãããã); $ ./configure --with-ssl=$(brew --prefix openssl)Ref. Erlang -- Building and Installing Erlang/OTP ææ ããããã½ã¼ã¹ã³ã¼ããããã«ãããªãã¦ãï¼brew使ã£ã¦ããã ã£â¦
ä¾ãã° `logout` ã¿ãããªã¦ã¼ã¶åãåå¾ããã¦ãã¾ãã¨ï¼ã¦ã¼ã¶å´ããããã¨ä¸æ°å³ã«è¦ãããï¼URLè¨è¨ãçµäºãã¦ããæãªã©ã«èå¼±æ§ã«ãªãå¾ã (ã¨ã¯è¨ããã®ã®ï¼ãããããããã£ãèå¼±æ§ã¯æ ¹æ¬çã«é²ãã¹ãã ãï¼URLè¨è¨ãçµäºããã¦ã¯ãªããªã)ï¼ ã®ã§â¦