2018-06-01ãã1ã¶æéã®è¨äºä¸è¦§
xml ãéã£ã¦ãè¬ã®æåãèµ·ããã xml ãéä¿¡ãã¦ãè¬ã®æåãèµ·ããã®ã§ãé ãæ±ãã¦ãã ãã㧠xml ã®ãã§ãã¯ããããã¨ã«ããã takuya@Desktop$ cat out.xml | xmllint - -:1: parser error : XML declaration allowed only at the start of the docuâ¦
nginx â php-fpm ã¸ã®åæãªã¯ã¨ã¹ãæ°å¶å¾¡ nginx ã®è¨å®ããã¦ãã¦ è² è·ããããã¨ãã«ãnginx â php-fpm ã¸åãURLã®ãªã¯ã¨ã¹ããï¼æ¬ããé£ã°ãªãã®ã§ä¸æè°ã ã£ãã fastcgi_cache_lock fastcgi_cache_lock When enabled, only one request at a time wiâ¦
iTunesã§iPhoneã®ããã¯ã¢ãããåã£ããã®ãä¿åãã¦ããããã iTunesã§åå¾ããããã¯ã¢ããããã©ããã¹ãã¬ã¼ã¸ã«æ¾ãè¾¼ãã§ä¿åãã¦ããããã ããã¯ã¢ããã®å ´æãã±ã±ã£ã¨èª¿ã¹ãæ¹æ³ iTunes ããããã¯ã¢ããä¸è¦§ãé²è¦§ã㦠å³ã¯ãªã㯠ããããã¨â¦
pip ãèªåã§å®è¡ãã㨠Yes / No ãèããã Dockerileã§COPYããã·ã§ã«ã¹ã¯ãªããããpip ãã¤ã³ã¹ãã¼ã«ãã¦ãããå²ã¨ããã©ãããäºã«ãªã£ãã Proceed (y/n)? Exception: Traceback (most recent call last): (ç¥ return ask('Proceed (y/n)? ', ('y',â¦
lv ã§ç®¡çãã¦ããããªã¥ã¼ã ã®ãµã¤ãºã¯ç°¡åã«å¢æ¸ã§ãããã§ããã ãã£ã¹ã¯ã®ãµã¤ãºãå¢ããã¨ã sudo lvextend --resizefs --size +10G /dev/mapper/my-root ãã£ã¹ã¯ã®ãµã¤ãºãæ¸ããã¨ã sudo lvreduce --resizefs --size -10G /dev/mapper/my-root resâ¦
ãã£ã¹ã¯ã®ããªã¥ã¼ã ãåçã«å¤æ´ããã ãã¼ããã£ã¹ã¯ãSSDã®ãµã¤ãºãåçã«å¤ããã«ã¯ããã¡ãã¡ãªã«ããªã¼ã¢ã¼ãã§èµ·åããã¨ããReadOnlyã§èµ·åããã¨ããã©ã¤ãCDã§èµ·åãããããããäºãå¿ è¦ã ã¨æã£ã¦ãã ãããæãè¾¼ãã§ããã LVMã§ãªãµã¤ãºãâ¦
bash㧠ctrl-C ã®æ¤åºãããã«ã¯ bash ã§Ctr-C ã®æ¤åºãããå¿ è¦ãããå©ç¨å ´é¢ãããããã¨ãã°ãæéã®ãããå¦çãæ¸ãã¦ãã¦éä¸ã§æ¢ãããã¨ããã¹ã¯ãªãããä½ã£ã¦ãã¦ä¸éãã¡ã¤ã«ã確å®ã«æ¶ãããã¨ããCtr-Cã®å¼·å¶çµäºã§æ¢ããã¨ãã«ããªã«ãå¦çãâ¦
partprobe ãå®è¡ãããã¨ããã ã³ãã³ããè¦ã¤ãããªãã partprobe command not found .ã«ãªã£ãã partprobe ãã£ã¨ä½¿ã£ã¦ã¦ããã¤å ¥ããããã©ã®ããã±ã¼ã¸ã¨å ¥ããããããªãã parted ããã£ããã partprobe 㯠parted ã«ã¤ãã¦ãã sudo apt instalâ¦
æåã®å®ä½åç §ã¨å®ã³ã¼ãï¼æåï¼ãå¤æããã sed ã nkf ã§ãã§ãã ruby ãªãåºæ¥ããã ãã© >>> escaped_data = b'\\x50\\x51' >>> escaped_data.decode("unicode_escape") python / nodejsã ã¨ãã©ãããããã ã£ãããã åèè³æ https://stackoverfâ¦
JSON ãæ£ããå½¢å¼ãã©ãããã§ãã¯ãã APIã§åãåã£ãã¨ãã«ããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã®ä»£ããã« JSONãåãåãã®ã§ãJSONã®åå¼ããã§ãã¯ããªãã¨ãããªãã ããããã¨ãã« json_last_error() ã使ãã°ã¨ã©ã¼å 容ãããç¨åº¦ã¯è¦ããããã«ãªã£ã¦ããã â¦
mac ã® icloudãã¼ãã§ã³ã使ãããªãåé¡ã«ã¤ãã¦å¼ãç¶ã åå Macã®icloudãã¼ãã§ã¤ã³ã¨Safariã®ãã¼ãã§ã¤ã³ã¯å¥ç©ã ã£ãã - ãããã°ã§ï¼ Safariããã¼ãã§ã³ã使ãã¿ã¤ãã³ã°ã§ä¿åãããã Safariããã¼ãã§ã³ã«ä¿åããã¦ããããã¹ã¯ã¼ããã«ã¢ã¯â¦
systemd-networkd ã enable ã«ãªã£ã¦ãªãã ã¾ãã£ããä½åº¦ãããããäºæ ãçºçããã Linuxãåèµ·åããã¨ãããã¯ã¼ã¯ãã¤ãªãããªãã DHCPã§å²å½ããããããã¯ã¼ã¯ãåèµ·åå¾ã«æå¹ã«ãªããªããVirtualBoxã§ããèµ·ããã ãã®ãã³ã« ip set ...ã resâ¦
systemd ã§ã®DHCP ã®IPã¢ãã¬ã¹ã®å²å½ãããã£ã¦ãã ããããä¾ãªã®ã§ãã±ã±ã£ã¨æ¸ãã¦ããã 対象 systemd ã«ãªã£ã¦ãLinuxãã£ã¹ãã¼ã·ã§ã³ã ä»åã¯ã ubuntu / debian ã§è¨å®ãããã æºåãããã¡ã¤ã« /etc/systemd/network ã«ãã¡ã¤ã«ãç¨æããã /eâ¦
IPOããã«ãã£ã¬ã³ã¸ããããã«ãããã¯ã¹ã®è¬åº§ã復活ãããã å£åº§ãä½ããã¨ãããããã§ã«ç»é²æ¸ã¿ã ã£ããä¼ç ãã¦ãã ãã¹ã¯ã¼ããï¼ï¼æåã¾ã§ï¼ ãããã¯ã¹è¨¼å¸ã®ã¢ã«ã¦ã³ããçºæããã®ã§ããã¹ã¯ã¼ãåçºè¡ããã¦ããã ããã ãã¹ã¯ã¼ãã¯ï¼âï¼â¦
JSããããã°ãã¦ã¦hiddenãã©ãããæ´æ°ããã¦ãã®ãç¥ãããã£ãã ããæä½ãããããinput[type=hidden] ãæ¸ãæããã®ã§ããã®JSãç¹å®ãããã¨é å¼µããã¨ããã ãã£ã¡ãããã©ããããhidden ã«ã¯ onchangeã¤ãã³ããçºç«ããªããã§ããã MutationOâ¦
printfã§æååã®å·¦è©°ãããã æå¤ã«å¿ãã¦ããã®ã§ãã¡ã¢ printf ã§æååãå³ä½ç½ã®å·¦å¯ãããããã¨ããã£ãããã ãã¤ãã¹ãã¤ãããå·¦ã«å¯ãã¾ãã %-5s ä¾ ã·ã§ã«ã§ããã°ãã takuya@Desktop$ printf "%-5s\n" a ab abc a ab abc ä¾ ruby ã§ããã°â¦
Mac ã®ãã¼ãã§ã¤ã³iCloudé ç® Macã®ãã¼ãã§ã¤ã³ã»ã¢ã¯ã»ã¹ã«ã¯iCloudã®é ç®ããã£ã¦ããããåæããã¦ãã¦ãå¥ã®Macã«AppleIDã§ãã°ã¤ã³ããã使ãããã ãã©ã ScrenCaptured 2018-06-08 13.47.53 iOS ã Mac Safari ã§ãã¹ã¯ã¼ããã©ãã使ããªãã åâ¦
ãããªéè¡ããã¡ã¼ã«ãæ¥ãã ãããªéè¡ããã¡ã¼ã«ãæ¥ãã®ã§éããã ãã¹ã¯ã¼ãããã©ã¦ã¶ã«ä¿åããªãã§ãã ãã ãã©ã¦ã¶ã«ãã¹ã¯ã¼ããä¿åããã¨ãå±éºã§ãã ãã£ã¨ãè¦ãããããã¹ã¯ã¼ãã®ã»ãããã£ã¨å±éºã§ãããï¼ è¨æ¶ãããå¤ä»ãè¨é²ã§ããâ¦
ä¸äºä½åVisaã«ã¼ãã®WEBæç´°ãã¯ã½ãããã WEBã§ã®æç´°ã¨ããã®ã¯ãã©ããã¦ããã©ãããããã ãããçåã«æãã¾ãã æç´°ã¯ãéµéã§ããã°ãããã¨è¦ãããã®ã«ãWEBã§é²è¦§ãããã¨ããããé端ã«ããã©ããããªãã®ã¯ãªãã§ãªãã§ãããï¼ WEBã§é²è¦§ãâ¦
css ãä½æããã®ã«ãscss ãã³ã³ãã¤ã« gulp ã®ã¿ã¹ã¯ã¨ããpython ã® filewatcherã¨ãã§ãã£ã¦ããã ãã©ãããå æ¸ã«éçã ããcodekit ãè²·ã£ã¦ã¿ããã ãã©ããªããããã©ãããã ãµã¨ãJetbrains ã®è£½åãªãã§ããã ããã¨æã£ããã©ã調ã¹ãã®ãããâ¦
2019-05-08 è¿½è¨ macOS Sierra ããã®ããã¯ç»é¢ã®ãã¼ãã¼ãã·ã§ã¼ãã«ããã¯æ¬¡ã®éãã Command - Ctrl - Q Command - Shift - EJECT Command - Shift - Power ããã ããWindowsã¿ããã«é¢å¸ããåã«Command-Ctrl-Q Macã§ç»é¢ãªãã®ã·ã§ã¼ãã«ããã欲ãâ¦
Mac ã®ãã´ãç®±ã空ã«ããããã³ãã³ããããã ã´ãç®±ã空ã«ãããã³ãã³ããããããã¨æã£ã¦ãAppleã®Developerãµã¤ãèªãã§ããã©ãããã£ã½ãã®ã¯ãªãã®ã§ãã·ã§ã«çµç±ã§ãã®ã³ãã³ãã§è§£æ±ºã find ~/.Trash -mindepth 1 -delete åç´ã« ~/.Trash ã®ä¸â¦
vscode å ¥ãããã¨ãããNot Found takuya@$ brew cask search vscode No Cask found for "vscode". ãããã»ã»ã»ï¼mac ã® brew cask ã£ã¦ VSCODE ããªããããªï¼ ã¨ããã£ãããååãéã£ãã ãã ã£ãã visual-studio-code ã§ããããã§ãã takuya@$brewâ¦
unar ãã·ã§ã«ã³ãã³ãçµç±ã§èªåå®è¡ãã¦ããã¨ã©ã¼ã«ãªã£ã unar: Uncaught exception NO Character Conversion Exception Unar Can't get cString from Unicode string ãªã©ã¨ã¨ã©ã¼ã«ãªãã 調ã¹ã¦ã¿ãã LANGãç¡ããã¨ãåå ã ã£ãã LANG=c ã®ç¶æ ã§zâ¦