2020-05-01ãã1ã¶æéã®è¨äºä¸è¦§
vimrc ã®è¨å®ãã¡ã¤ã«ã§et ãè¦ããã et ã£ã¦ãªãã ãï¼ã£ã¦ãã¨ãæããã®ã§ã¡ã¢ã set et " set expandtab ã¨åç set noet " = set noexpandtab noet 㯠no + et ã§ããã vimrcãªã©vim ã®è¨å®ãã¡ã¤ã« 㯠noXXX ã§è¡¨è¨ããããã¨ãå¤ãã§ãããset nonuâ¦
ruby ã§ã¡ã¼ã«ãéä¿¡ãã ruby ããgmail ãéä¿¡ããã«ã¯ã mail ã©ã¤ãã©ãªã ãã§ãåºæ¥ããã ãã©ã MIMEã¨ã³ã³ã¼ãããããã¼ã¿ãåãåã£ã¦ãã®ã¾ã¾ forward ããã«ã¯ãããå°ãããæ¹æ³ããªãããªã¨æã£ã¦èãã¦ããã ã¡ã¼ã«ãªã¬ã¼ã®ä¸éã«å ¥ã£ã¦ãæâ¦
redis ã«æ¥ç¶ããã¯ã©ã¤ã¢ã³ãã ãã¤ã³ã¹ãã¼ã«ããã redis ã®ã¯ã©ã¤ã¢ã³ã redis-cli ã¯æ¬¡ã®ã³ãã³ãã§ã¤ã³ã¹ãã¼ã«ããã sudo apt install redis-tools ãã㧠redisã«æ¥ç¶ãã¦ããã¼ã¿ã®ããåããã¢ãã¿ãªã³ã°åºæ¥ãã
non-sparse ãã sparse ãªãã¡ã¤ã«ã«ã³ãã¼ãã qemu ã§ä½¿ãã raw image ãªnon sparse㪠hdd ã¤ã¡ã¼ã¸ã qcow2 å½¢å¼ã® sparse ãªãã¡ã¤ã«ã«ããã çã¤ã¡ã¼ã¸ã ã¨ã©ããã¦ããã£ã¹ã¯å®¹éãç¯ç´ã§ããªãã®ã§åçã«ãã£ã¹ã¯å®¹éã確ä¿ããã»ããè¯ãããã vâ¦
Mac ãã iOS iphone / iPad ã®Safariã«ã¢ã¯ã»ã¹ã§ããªã iOS ã®Safari㧠JS / CSS ã®åä½ã確èªããªãããshortcut.app ã® ãã¼ã¸å javascript å®è¡ãæ¸ãã¦ãã®ã§ããã ã©ããè¬ã®javascript ã¨ã©ã¼ãåºãã®ã§ Macã«æ¥ç¶ã㦠iPhone Safari ã Web Inspecâ¦
LXC ã³ã³ããéã®éä¿¡ã§ãã¹ãåã使ãããã LXC ã®ã³ã³ããéã®éä¿¡ã§ãIPã¢ãã¬ã¹ããã¡ãã¡èª¿ã¹ãã®ãããã©ãããã docker-compose ã«è¨è¼ãããã¹ãéãªãããã¹ãåã§ã¢ã¯ã»ã¹ã§ããã®ã§ãããªããã¨ãLXCã§ãããããªã¨æã£ããã 調ã¹ããâåºæ¥ã â¦
iOS ã®Safari㧠hevc åçãã¦ã¿ããã ã¨ãããããffmpeg ã§ã±ã±ã£ã¨å¤æãã¦ã¿ãã æ®éã«ãlibx265 ã«ãããåºæ¥ãªãã ffmpeg -y -i ../video/sample.mp4 -vcodec libx265 -vf scale=720:-1 -acodec copy libx265.mp4 ããã ãã§ã¯ãåçãã§ããªãã tâ¦
dns ããããã³ã°ãunboundã§å®ç¾ããã ã¨ãã¡ãå 輩ãé¢ç½ãããªãã¨ããã£ã¦ããã®ã§ãã¡ãã£ã¨çä¼¼ã¦ã¿ãã ã¨ã ã¡ãæ¥è¨(Tomo cha) - å 大å¦çã®ï¼¯ï¼¬æ¥è¨- ã¡ã¾ãã§ãkawangoãæ´ãã¦ããDNSããããã³ã°ã¨ãããã¿ããããå ã å®è£ ãæ¤è¨ãã¦ãããã®â¦
VirtualBoxã®ã¤ã¡ã¼ã¸ãå¤æããã ã¾ããã®ã¾ã¾ã§ãåããã ãã©ã管çãçµ±ä¸ãããã®ã§ qcow2 ã«ããã ããã©ã¼ãã³ã¹äºã ã¯ããã ãããã©ãããã¾æ°ã«ããªããã¨ã«ããã qemu ã³ãã³ã 次ã®ã³ãã³ãã使ãã qemu-img convert ãã¡ã¤ã«åãæå®ããã â¦
ãªãã¨ãªã使ã£ã¦ããshutdown Ubuntu ãã¹ã¯ãããã使ã£ã¦ãã¨ããªãã¨ãªããreboot ã ã¨ã shutdown ã³ãã³ããæã¡è¾¼ãã§ããã§ãããã ä»ããã·ã£ãããã¦ã³ shutdown -h now å¼·å¶ã·ã£ãããã¦ã³ãããã¨æ°è»½ã«æã¡è¾¼ãã§ããã ãã©ãshutdown ã³ãã³â¦
NTT ã®å£ããéåIPv6網 NTTã®å£ããv6ã使ã£ã¦ããã¨ãIPoEãè¨å®ããªãéããå¤åãã®éä¿¡ãã§ããªãã v6ã®è¨å®ããããã触ã£ã¦ãããããã¨ãv6 㧠apt åºæ¥ããåºæ¥ãªãã£ããããã®ã§ãã¨ããã«ä¸ä¾¿ã«ãªãã ã¾ãå°ãã apt ãv6 ãã©ã¼ã«ããã¯å¾ ã¡â¦
ubuntuã·ã¹ãã ããã¡ã¼ã«ãéãããã ã¡ã¼ã«ãéããã¨ããã¨ãSMTPãã¤ãã£ã¦ãMIMEã§ã¨ã³ã³ã¼ãã㦠SMTP over TLSã§æ¥ç¶ãã¦ã¨ããããæé ãå¿ è¦ã ãã®æé ãrubygemã§ã¤ã³ã¹ãã¼ã«ãã¦ä½¿ãæ¹ã調ã¹ãã®ãé¢åã ãã¼ã«ã«ã® postfix ã«ãªã¬ã¼ããããâ¦
mac ã§ã ip / iproute2 ã³ãã³ãã使ãããã ã¤ãã¤ããç㧠ip route show ã£ã¦æã¡è¾¼ãã§ãã¾ããã§ããã æ§ãè¯ãBSDãªãã ã ifconfig / netstat ã使ãã°ãããã ãã©ã netstat -nr ã£ã¦è¦ãã«ãããããªãã§ããã iproute ã®ããªãããã·ã§ã¼ãã«â¦
" program files " ã®ãããªç©ºç½ãå«ããã¹åãæã£ãã³ãã³ãå ¨ä½ããå¤æ°ã«ä¿æãã¦ã¦ãããå®è¡ãããæ ãã®ã¾ã¾ã ã¨åããªãã ## ãããå®è¡ã§ããªãã cmd='ls ~/Library/Application\ Support/' $cmd 空ç½ãå«ããã¹åãå ¥ããã³ãã³ããæååã¨ãâ¦