2017-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ã³ãã³ãã Popen ã«æ¸¡ãã¨ãã« ã³ãã³ããçµã¿ç«ã¦ãæååãé åã§æ¸¡ããªããsplit ã便å©ã ãã©ãshlex.split ãªãããã«å®å ¨ã«æ¸¡ãããããã self.prcs = Popen( shlex.split(cmd), shell=False ) ãããã«æååãsplit ããã¨æ´èµ°ãããã®ãã ã¾ã sâ¦
mariaDB ã«ãã¾ããã mariaDB ã«å¤ããã®ã§ãPAMã«ããèªè¨¼é£æºã¯ãæåããä»å±ãã¦ã¾ãã便å©ï¼ mariadb ã§PAM Authãããã«ã¯ mysql ã®ç®¡çè (root) 㧠ãã°ã¤ã³ãã¦ãã©ã°ã¤ã³ãæå¹åãã INSTALL SONAME 'auth_pam'; ããã§ã»ã¨ãã©å®äºããã¼æ¥½ã PAâ¦
apt ã«ã¯ apt list âupgradable ããã åããã¨ã homebrew ã® brew ã³ãã³ãã§ããã«ã¯ã©ãããã°ããã outdated ã使ã brew outdated ããã§ãæ°ãããªã£ã¦ã brew ã®ããã±ã¼ã¸ã®ä¸è¦§ãåå¾ã§ããã åèè³æ https://stackoverflow.com/questions/129â¦
pkexec ãã¿ã¤ãªããªãã®ãã æ¢ããããpolicykit-1 ã¨ããããã±ã¼ã¸ã«å«ã¾ãã¦ãã http://manpages.ubuntu.com/manpages/xenial/man1/pkexec.1.html pkexec ã® pk 㯠policy kit ã®ç¥ãªãã§ãã ubuntu ã® LTS Serverã«ã¯å«ã¾ãã¦ãªãã£ããã§ãããããâ¦
unix:/var/.../unicorn.sock ã«ã¢ã¯ã»ã¹ã§ããªãã® nginx ã® ãããã·ã® upstream ã unix ãã¡ã¤ã³ã½ã±ããã«è¨å®ããã®ã ããã©åããªãã®ãã ã ãããã½ã±ãããæ£ããåãã¦ãããã¹ããã¦ã¿ããã£ãã®ã nc ã³ãã³ãã¨çµåãã¦ä½¿ããã¨ã§ããã¹ãã§ãâ¦
zip ãæ£ãã転éã§ãã¦ãªãå®é¨ããã¦ã¿ããã£ã zip ãã¡ã¤ã«ãã¢ãããã¼ãããããããã¯ã¢ããããããã¦ã¦ãããã¡ã¤ã«ãå£ãããã®ãæ¤åºããããããã£ããç¶æ³ãåç¾ããããªã¨æã£ã¦ãããç°¡åã«å£ãããã¯ããªãã®ã§ãå£ãããã¡ã¤ã«ãä½ãå¿ è¦ãâ¦
ãã¼ãã§ã¼ã³ã«ãã¹ã¯ã¼ããå ¨é¨å ¥ãã¦ãã ãã¼ãã§ã¼ã³ã¯ãã¹ã¯ã¼ãã®ç®¡çãã¼ã«ã¨ãã¦ã¨ã¦ãåªç§ã§ã OSã«ãã³ãã«ããã¦ãæãæ´ã«é åçãªãã§ãã ãã¹ã¯ã¼ããå ¥æããã«ã¯ãããã«ã¯ãªãã¯ã§éãããç¡ãã¨æã£ã¦ããã å³ã¯ãªãã¯ã§è¯ãã£ããã§ãâ¦
ãã¡ã¤ã«ãæ´æ°ãããã転éãããã php ã®ããã¸ã§ã¯ãã£ã¦ã¡ã¾ã¡ã¾è»¢éãã¦ãã¨ãé¢åããããã§ãããããã¡ã¤ã«ç£è¦ãã¦rsync ããã®ã«ãgrunt ã¨ãæã¡åºãã®ã馬鹿馬鹿ããã ãã¨ãã£ã¦ããµã¼ãã¼ã«ãã°ã¤ã³ãã¦vim ã§ç·¨éããã¨IDE使ããªãããã³ã¼â¦
/tmp ã®ãµã¤ãºãããã«å¤§ãã ããã¹ããã /tmp ã®ä¸ã« wifi ãã°ã£ã¦è¨ããã¡ã¤ã«ãï¼ï¼ï¼ããããã£ãããªãã§ãããã ãã°ãããããã sudo wdutil log -wifi ããã§ãã°ãåããªããªãã®ã§ãéã«ãªãã åèè³æ https://superuser.com/questions/106â¦
ã¢ã¼ãã«ã¦ã¤ã³ãã¦åºããã¤ã§è¯ãã®ããªãã jQuery ã«ä¾åãã¦ãããç´°ããªã¤ãã³ããåããªãã£ãããè¨å®ãç ©éã ã£ããããã£ã¨ç°¡åã«åºæ¥ãã ãããã¨æã£ã¦ããã© ãããæ¢ãã¦çã£ç«¯ãã試ãããã©ããããã¨ããã®ããªãã ä»æ¹ãªãã®ã§ä½ã£ããç»â¦
è¦ç´ ã®ã¹ã¿ã¤ã«ãè¦ãç®ããã®ã¾ã¾ä¿åããããªãã§ããï¼ åºæ¥ããã§ããã computedStyle ã使ãã°åºæ¥ã¾ãã 大æ㯠ç´Copiã¨ããã£ããããã®äººã¯ãã®ã¾ã¾ãã«ã¼ãªã«ä½ã£ããGyazoè²·åãã¦å¿ãããã§ããã©ãScrapBoxã¯ã¡ãã£ã¨ä¾åå¼·ããã¦ããã«ãªããªâ¦
以åãJSONã®stringify 㮠第äºå¼æ°ã®è©±ãæ¸ããã takuya-1st.hatenablog.jp ããããã°ãå®æå½¢ãæ¸ãã¦ãªãã JSONã§é¢æ°ãå«ãã¦ã·ãªã¢ã©ã¤ãºããä¾ã¯ããã é¢æ°ãå«ãã¦ã·ãªã¢ã©ã¤ãºãã¦ã³ãã¼ããã var a = { name: "takuya", say: function() { conâ¦
grep ãã¦ãããããè¡ã§ã¯ãªãããã¡ã¤ã«åã欲ãã æ¤ç´¢ãããã¼ã¯ã¼ããå«ããã¡ã¤ã«åãåãåºãã¦ããããå ¨é¨éãã¦å¦çãããã¨ãã« grep -l -l ãã¤ããã¨ãã¡ã¤ã«åã ããåãåºããã¨ãåºæ¥ãã è¦ãæ¹ l ãªã®ã§ line ã§ãã é¢é£è³æï¼ãã®ä»ã®grâ¦
unar / lsar ã³ãã³ããä¾¿å© unar ã³ãã³ãã§å±éããã¨æååãããã¾ãçºçããªãã unar ã¨ãã¢ã«ãªã£ã¦ã lsar ã³ãã³ããæååããä½ãèµ·ãããã«ãã¡ã¤ã«ãåãåºããã ã¾ãå±éã§ãã æå®ãããã¡ã¤ã«ã ããåãåºãã«ã¯ lsar ã§ä¸è¦§ãããã¡ã¤ã«â¦