2020-07-01ãã1ã¶æéã®è¨äºä¸è¦§
çã å ¬å¼ã¯ã©ã¤ã¢ã³ãã®ãfluent-loggerãã使ãã fluent/fluent-logger-node: A structured logger for Fluentd (Node.js) ããæ¹ ãããã°ããããããã«ä»¥ä¸ã®fluendã®è¨å®ããããµã¼ãã¼ãç¨æããã <source> @type forward port 24224 </source> <match *.*> @type stdout </match> åãâ¦
ç°å¢ Rails 6 ããããã㨠Railsã§ã¯ 1å¯¾å¤ ã¨ã å¤å¯¾å¤ ã®é¢ä¿ã®ã¨ãã«è¦ªã¬ã³ã¼ããåé¤ããã¨ãã«ããã«ç´ã¥ãåã¬ã³ã¼ããä¸ç·ã«åé¤ãããã¨ãã§ãããæ¹æ³ã¯ç°¡å㧠has_many(has_one)ã«dependent: :destroyã追å ããã ã ããã§ä»¥ä¸ã®ãããªparent>châ¦
ç°å¢ Linux ããããã㨠ddã³ãã³ãã¯ã©ã®OSã«ãæåããã¤ã³ã¹ãã¼ã«ããã¦ãããããã使ã£ã¦ç°¡æçãªãã£ã¹ã¯ã®ããã©ã¼ãã³ã¹ã確èªãããã ãã£ããè¦ããªãfioã£ã¦ãã¼ã«ä½¿ã£ãã»ããããã thr3a.hatenablog.com ã³ãã³ã ä»¥ä¸ dd if=/dev/zero of=â¦
使ç¨é »åº¦é«ãã®ã§ãã³ãã¬ã¼ãã£ã¦ãã¨ã§ã¡ã¢ 確èªç°å¢ PHP 5.6 PHP 7.4 ã³ã¼ã 'value' ]; $url = 'https://httpbin.org/get?' . http_build_query($params); // $url = 'https://httpbin.org/status/500'; $curl = curl_init(); $curl_options = [ CURLOPâ¦
ç°å¢ Rails 5以é çµç·¯ ããããRaw post dataã¨ã¯ãªããããããã Railsã§Request Specãæ¸ãå ´åãå½ç¶POSTã¡ã½ããã®ãã¹ããæ¸ãã±ã¼ã¹ãããã ãããªã¨ãã¯ãããªæãã«ãªãã¨æãã # spec/requests/logins_spec.rb require "rails_helper" RSpec.deâ¦
çµè« setCompressionQuality ã§ã¯ãªã setImageCompressionQuality ã使ã çµç·¯ 以ä¸ã®ãããªPHPã®ã³ã¼ãã§ImageMagickã§ç»åãå§ç¸®ãããã¨ããããããä¸åã«ç»åãµã¤ãºãå°ãããªããªãã setCompressionQuality(10); $im->writeImage('test_1.jpg'); ãâ¦
ç°å¢ docker php 7 å¤å5ç³»ã§ãå¯è½ ãããããã¨ å ¬å¼ã®php dockerã¤ã¡ã¼ã¸ã®PHPã§ImageMagickã§ç»åå¦çã使ãããã ããæ¹ ãã®ã¾ã¾ã§ã¯ç¡ãã®ã§èªåã§ImageMagickã追å ããå¿ è¦ãããããpeclã§ã¤ã³ã¹ãã¼ã«ãã¦docker-php-ext-enable imagick ããã â¦
ç°å¢ ruby 2.6 ããããã㨠Mechanizeã§ãã©ã¼ã éä¿¡ã¯ã§ããããæ®éã¯ãã§ã«ãã¼ã¸ã«åå¨ãããã©ã¼ã ã«å¯¾ãã¦submitããã®ãä¸è¬ç ããã§ã¯ããã¦ã³ã¼ãã ãã§ãã¼ã¿ãä»ããç¶æ ã§ãã©ã¼ã éä¿¡ããã¦ã¿ã ã³ã¼ã agent = Mechanize.new url = "https:/â¦
pages/debug.vue <template> <div id="app"> <button @click="setView('1')" v-bind:class="{active: currentView == 'page1'}"> ï¼ </button> <button @click="setView('2')" v-bind:class="{active: currentView == 'page2'}"> ï¼ </button> <myComponent :is="currentView" /> </div> </template> <script> import page1 fâ¦