2019-02-01ãã1ã¶æéã®è¨äºä¸è¦§
Linux ã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ããèªãã ã®ã§ã¡ã¢ãå ¬éãã¾ãï¼Linuxã«ã¼ãã«ãèªãéã®åèã«ãªãã°å¹¸ãã§ã. ä»åã®ãé¡: dmesg ã³ãã³ã ä»å㯠dmesg ã³ãã³ãã«é¢ä¿ããé¨åãèªã¿ã¾ããï¼printkã /dev/kmsg çãé¢ä¿ããé¨åã§ãï¼ã½ã¼ã¹ã³ã¼ãã®ãã¼â¦
çµã¿è¾¼ã¿Linuxã®ãããªå°ã¡ã¢ãªã®ç°å¢ã§ã¯æ°ãã¤ããªã㨠rsync ãåå ã§ã·ã¹ãã ãã¯ã©ãã·ã¥ããå ´åãããã¾ãï¼ ã¯ã©ãã·ã¥ããçç±ã¯ã¡ã¢ãªä¸è¶³ rsync ã¯ãã¡ã¤ã«ã転éããåã«å ããã¡ã¤ã«ã®ãªã¹ããä½ãã¾ãï¼ãªã¹ãã¯ã¡ã¢ãªä¸ã«ä¸æä¿åããã¾ãï¼â¦
dmesg ãå®è¡ããã¨ã¨ã©ã¼ãåºãå ´åãããã¾ã $ dmesg dmesg: read kernel buffer failed: 許å¯ããã¦ããªãæä½ã§ã ããã¯ï¼Linuxã«ã¼ãã«ã®è¨å®ã§ã¢ã¯ã»ã¹å¶éãæãã¦ããããã§ãï¼ ã¢ã¯ã»ã¹å¶éã®è¨å® ã¢ã¯ã»ã¹å¶éãå¤ãã«ã¯ sysctl ã使ãã¾ãï¼/eâ¦
Linuxã®èµ·åããã®ãããé ãï¼ï¼ï¼åãããæããï¼ãããã質åãåããã®ã§åå 調æ»ã®æé ã¨è§£æ±ºæ³ãã¾ã¨ãã¾ãï¼ èµ·åæã®ãã°ãè¦ãæ¹æ³ systemdã«ã¯ã·ã¹ãã èµ·åæã®ãã°ãåæããæ©è½ãããã¾ãï¼ä½¿ãæ¹ãç°¡åã¾ã㯠systemd-analyze ãå®è¡ãã¾ã $â¦
bash ã sh ã®ã·ã§ã«ã¹ã¯ãªããã§ã¨ã©ã¼ã¡ãã»ã¼ã¸ãè¦åã¡ãã»ã¼ã¸ãã«ã©ãã«ã«è²ä»ããã¦è¡¨ç¤ºããã³ã¼ããå ¬éãã¾ãï¼ã¹ã¯ãªããã®éå½¢ã«ã©ããï¼ãªããªã便å©ã§ãï¼ ã¹ã¯ãªããã®éå½¢ #!/bin/bash # Colorize output only if stdout referers to terminaâ¦
Cè¨èªãC++ã®æ¬ ç¹ã®ä¸ã¤ã¯ï¼ãããã¡ãªã¼ãã¼ããã¼ããªã¼ãã¼ã©ã³ãèµ·ããããããã¨ã§ãï¼ããã¯æ¬ ç¹ã§ããã¨åæã«C/C++ã®å©ç¹ã§ããã¨è¨ã人ããã¾ãï¼ã¤ã¾ãï¼ã¡ã¢ãªé¢é£ã®ãã§ãã¯ãçç¥ãããã¨ã§ï¼çç¥ããåC/C++ã¯ãªã¼ãããããå°ãªãé«éãªããâ¦
C++11ã使ãã¨ç¶ºéºã«å®è£ ã§ãã¾ã ã¾ã format() ã¨ãããã³ãã¬ã¼ãé¢æ°ãä½ãã¾ãï¼C++11ã§æ°ããå°å ¥ãããï¼å¯å¤å¼æ°ãã³ãã¬ã¼ãï¼ããã³ std::snprintf() ã使ãã¾ãï¼ #include <string> #include <cstdio> #include <vector> template <typename ... Args> std::string format(const std::string</typename></vector></cstdio></string>â¦
ãã®åã qrcode ã¨ãã python ã¢ã¸ã¥ã¼ã«ãããã¾ã qrcode ã¨ããpythonã®ã¢ã¸ã¥ã¼ã« "qr" ã¨ããã³ãã³ãã©ã¤ã³ã®ãã¼ã« ãç¨æããã¦ããã®ã§ï¼ç°¡åã«QRã³ã¼ãï¼ï¼æ¬¡å ãã¼ã³ã¼ãï¼ãçæããããã°ã©ã ãã¹ã¯ãªãããå®è£ ã§ãã¾ã ã¤ã³ã¹ãã¼ã« pipçµâ¦
iOSã®ãã©ã¦ã¶(Safari)ã¯ããã«ã¿ããã§ãã¼ã¸ã®æ¡å¤§ç¸®å°ãåºæ¥ã¾ãï¼ãã®æ©è½ãç¡å¹ã«ããã«ã¯ï¼JavaScript 㧠"touchend" ã¤ãã³ãã横åããã¾ã /* ããã«ã¿ããã«ããæ¡å¤§ç¸®å°ãç¦æ¢ */ document.addEventListener('touchend', function (event) { evenâ¦