2019-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã©ã³ã¬ãã«ã¨ã¿ã¼ã²ãã SystemV 㧠runlevel ã¨å¼ã°ãã¦ãããã®ã¯ ï¼systemd 㯠target ã¨å¼ã°ããï¼å¯¾å¿é¢ä¿ã¯ä»¥ä¸ã®ã¨ãã SysV runlevel systemd ã® target 3 multi-user.target ãã«ãã¦ã¼ã¶ï¼Xãèµ·åããªã (ã³ã³ã½ã¼ã«ã®ã¿) 5 graphical.target ã°ã©â¦
TeXã«svgãè²¼ãå ´åã¯ä¸åº¦ inkscape ã§ãã¡ã¤ã«ãå¤æããå¿ è¦ãããã¾ãï¼è©³ããæé ã¯éå»è¨äºãããããã ããï¼TeX ã« svg ãè²¼ãæ¹æ³ - pyopyopyo - Linuxã¨ãããã°ã©ãã³ã°ã®è¦ãæ¸ã -svgããã±ã¼ã¸ã使ãã¨ï¼ãããèªååã§ãã¾ã \usepackage{svg}â¦
ï¼ã¤ã® static libraryï¼ libX.a 㨠libY.a ãçµåã㦠libAll.a ãçæããæ¹æ³ã§ããã®è¨äºã¯ è¤æ°ã®éçã©ã¤ãã©ãª (.a) ãçµåããæ¹æ³ - pyopyopyo - Linuxã¨ãããã°ã©ãã³ã°ã®è¦ãæ¸ã - ã®æ¹è¨çã§ã Linux ã®å ´å (æ¹æ³1) ar scripts ã使ãã¾ãï¼ â¦
ä¹ ãã¶ãã«Subversionã®ãªãã¸ããªãgitã«ç§»è¡ããã®ã§æé ãã¾ã¨ãã¦ããã¾ã2020/11/30 追è¨ï¼å çããã¨ã³ã㪠http://pyopyopyo.hatenablog.com/entry/2020/11/30/154224 ãæ°ããç¨æãã¾ããï¼ subversionå´ã®ç¶æ³ã確èªãã SVNã§checkoutæ¸ã¿ã®ä½æ¥â¦
jupyter notebook ã以ä¸ã®ã¨ã©ã¼ãåºãã¦èµ·åããªãå ´åã®å¯¾å¦æ³ File "*********/.local/lib/python3.7/site-packages/tornado/netutil.py", line 174, in bind_sockets sock.bind(sockaddr) OSError: [Errno 99] Cannot assign requested address ã¨ããâ¦
2019å¹´7æ28æ¥ã« Debianãèµ·åããªããªãã¾ããï¼åå 㯠sid(unstable)ã¨å¼ã°ããéçºçã®ã¿ã«åå¨ãããã°ã§ãï¼ãã°ã¬ãã¼ããåºã¦ãã¾ãï¼çç¶ã¨ãã¦ã¯ï¼ã·ã¹ãã ãåèµ·åããã¨" logsave not found - requires manual a fsck "ã¨è¡¨ç¤ºãããã ãã§ã·ã¹ãâ¦
macOS mojave ã® TeXç°å¢ã texlive2019 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼2020å¹´6æ27æ¥è¿½è¨ï¼ Tex Live 2020çã®è¨äºãç¨æãã¾ããï¼ pyopyopyo.hatenablog.com ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS mojave㨠Tex Live 2019 ã«åããã¦æ´æ°ã»å çãããã®ã§â¦
ã©ãºãã¤ãPC Linuxã§æ§ç¯ãããµã¼ãæ©ã§ã¯ï¼ ãã°ã®ç£è¦çµæãªã©ãã¡ã¼ã«éä¿¡ã§ããã¨æ ¼æ®µã«ä½¿ãåæãåä¸ãã¾ãï¼ãããä»ã®ã¤ã³ã¿ã¼ãããã¯è¿·æã¡ã¼ã«å¯¾çããã£ãããã¦ãã¾ãï¼ä¾ãã° ãããã¤ãã®Outbound Port 25 Blocking SPFã«ããéä¿¡ãã¡ã¤ã³èªâ¦
Linux ã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ããèªãã ã®ã§ã¡ã¢ãå ¬éãã¾ãï¼Linuxã«ã¼ãã«ãèªãéã®åèã«ãªãã°å¹¸ãã§ã. ãé¡ï¼ list.h ååã®ç¶ãï¼ãªã¹ãæ§é ã®å®è£ ã§ãï¼ååã®ã¨ã³ããªã¯ãã¡ã http://pyopyopyo.hatenablog.com/entry/2019/06/30/150000 ãªã¹ãã®â¦
Linux ã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ããèªãã ã®ã§ã¡ã¢ãå ¬éãã¾ãï¼Linuxã«ã¼ãã«ãèªãéã®åèã«ãªãã°å¹¸ãã§ã.ä»åã®ãé¡: include/linux/list.h ä»åã¯ã«ã¼ãã«å é¨ã§å¤ç¨ããã¦ãããã¼ã¿æ§é ã®ä¸ã¤ã¨ã㦠linked list ã®å®è£ ãèªã¿ã¾ããï¼ä¸»ãªãã¡ã¤ã«ã¯ â¦
HDDãSSDã®å¥åº·ç¶æ ã¯S.M.A.R.Tæ å ±ã調ã¹ãã¨ç¢ºèªã§ãã¾ãï¼ã¨ãããå¤ä»ããã©ã¤ããªã©ã§ã¯å°ã工夫ããªãã¨SMARTæ å ±ãè¦ããªãå ´åãããã¾ãï¼ SMARTæ å ±ãè¦ããªãçç± ããã¯ï¼PCã¨HDD/SSDã¨ã®æ¥ç¶ã«ä»¥ä¸ã®ãããªæ§ã ãªçµã¿åããããã£ã¦ CPU â SATAâ¦
python ã®ããã±ã¼ã¸ãã³ãã³ãä¸è¡ã§ææ°çã«ã¢ãããã¼ãããæ¹æ³ã§ã ã³ãã³ã æ®æ®µ sudo ã使ããã«ï¼--user ã¤ãã¦pipãå®è¡ãã¦ããå ´å $ pip3 list --format freeze --outdated | while IFS='==' read pkg dummy; do pip3 install --user --upgrade â¦
pipã³ãã³ã㧠PyGObjectãã¤ã³ã¹ãã¼ã«ãããã¨ãã㨠$ pip3 install PyGObject以ä¸ã®ã¨ã©ã¼ãåºãå ´åããã Package gobject-introspection-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gobjecâ¦
vfatå½¢å¼ã®ãã©ã¤ã(USBã¡ã¢ãªãªã©ï¼ãï¼sambaãªã©ã§ãããã¯ã¼ã¯çµç±ã§ãã¦ã³ãããã¹ãã¬ã¼ã¸ã«å¯¾ã㦠rsync ã使ãå ´åã¯ï¼ããã¤ããªãã·ã§ã³ã¤ããªã㨠rsync ã®æ¬æ¥ã®æ§è½ãçºæ®ããã¾ããï¼rsyncã®ç¹å¾´ï¼ä¾ãã°å·®åã³ãã¼ã«ããé«éãã¡ã¤ã«ã³ãã¼ãªâ¦
TeXã§ãã¼ã¸çªå·ãå·¦ä¸ã«è¡¨ç¤ºããå ´å㯠fancyhdr ããã±ã¼ã¸ã使ãã¾ã fancyhdr ã®ä½¿ãæ¹ \usepackage{fancyhdr} \pagestyle{fancy} \rhead{\thepage} ããã¿ã¼ã®ãã¼ã¸çªå·ãæ¶ãã«ã¯ããã« \cfoot{ } ã¨ãã¾ã fancyhdrã®ä»çµã¿ fancyhdrããã±ã¼ã¸ã使â¦
Linux ã«ã¼ãã«ã®ã½ã¼ã¹ã³ã¼ããèªãã ã®ã§ã¡ã¢ãå ¬éãã¾ãï¼Linuxã«ã¼ãã«ãèªãéã®åèã«ãªãã°å¹¸ãã§ã. ä»åã®ãé¡: kernel.panic ä»åã¯ã«ã¼ãã«å é¨ã®ã¨ã©ã¼å¦çï¼ã«ã¼ãã«ãããã¯ï¼ã®é¨åã§ãï¼ã½ã¼ã¹ã³ã¼ãã®ãã¼ã¸ã§ã³ã¯ linux-5.0.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â¦