macOS
macOS Sequoia 15.1ã«ã¢ããã°ã¬ã¼ãããã¨ããã OSãããªã¼ãºãã ãã³ã¯ã¹ã¯ãªã¼ã³ï¼Windowsã®ãã«ã¼ã¹ã¯ãªã¼ã³ã»ESoDã«ç¸å½ï¼ Safariãè½ã¡ã ã¤ã©ã¬ãè½ã¡ã Anker 563 USB-C Hub (11-in-1)çµç±ã§ï¼Ethernet ãæ¥ç¶ã§ããªã ã¨ä¸å ·åãç¶åºãã¾ããï¼å ¨â¦
macOSã§ãããåæ¿æã«ã¹ã¯ãªãããèªåå®è¡ããæ¹æ³ã§ã IPã¢ãã¬ã¹ãå¤ãã£ãå ´åã« ssh ãåæ¥ç¶ããã wifiãéåãããããã»ã¹ãkillããã wifiãåæ¥ç¶ããããããã°ã©ã ãèªåèµ·åããã ã¨ãã£ãå ´åã«å©ç¨ã§ãã¾ã åä½åç èµ·åãããã³ãã³ãâ¦
mac ã® TeXç°å¢ã texlive2024 (BasicTeX) ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS 㨠Tex Live 2024 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼ https://pyopyopyo.hatenablog.com/entry/2022/04/06/211116 (TeX Live 2022ã®è¨äº) httâ¦
macbookï¼ã¤ã¾ãmacOSï¼ã¯bluetoothæ¥ç¶ã®ã¤ã¤ãã³ããããã»ããã®é³è³ªãæªããªãå ´åãããã¾ãï¼ä¾ãã°ï¼Windowsã¨ãã¢ãªã³ã°ããã¨ãã¯åé¡ããªãã®ã«ï¼åãããã¤ã¹ãmacã«ãã¢ãªã³ã°ããã¨é³ãæªããªããã¨ãããã¾ãï¼ä»¥ä¸ãã®åé¡ã®è§£æ±ºæ¹æ³ãã¾ã¨ãâ¦
ãã®è¨äºãèªã¿ã¾ããï¼zenn.devããããæ㯠"--helpâ ãªãã·ã§ã³ãè¦ãã¦ããã¾ãããï¼ å°ã£ãã "tar --help" â--help"ãæå®ãã¦tarã³ãã³ããå®è¡ãã¾ãï¼ $ tar --help 使ç¨æ¹æ³ã«é¢ãããã«ãï¼ç°¡æçãªããã¥ã¢ã«ï¼ã表示ããã¾ãï¼å é ãå¼ç¨ããâ¦
LinuxãmacOSã§è«çããã»ããµã®åæ°ã確èªããæ¹æ³ãã¾ã¨ãã¾ã nproc ã³ãã³ãï¼Linux, macOS) GNUã® coreutils ãã¤ã³ã¹ãã¼ã«ããã¦ããå ´å㯠nproc ã³ãã³ããå©ç¨ã§ãã¾ãï¼macOSã§ãcoreutilsãã¤ã³ã¹ãã¼ã«ãã¦ããã° nprocã³ãã³ãã使ãã¾ãï¼ $ â¦
Emacsã®lsp-modeãèµ·åããªããã°ã¨ãã®è§£æ±ºæ¹æ³ã§ã ä¸å ·åã®å 容 以ä¸ã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãåºãã¦ï¼lsp-modeãèµ·åããªããªãã¾ãï¼ Invalid Image type: 'svg' 解決æ¹æ³ init.el ãªã©ã«ä»¥ä¸ã®ï¼è¡ã追å ããã¨åé¿ã§ãã¾ã (add-to-list 'image-types 'svâ¦
ã¡ã¼ã«ã«æ·»ä»ããã winmail.dat ãéãæ¹æ³ã¯äºã¤ããã¾ãæ¹æ³ï¼ï¼ gmail ã§éã æ¹æ³ï¼ï¼ tnef ã³ãã³ãã§å¤æããgmailã«ã¡ã¼ã«ã転éããã¨ï¼googleã®ã·ã¹ãã ãããæãã«å¤æãã¦ããã¾ãï¼ç¬ï¼ï¼ä½ãèãããç¡ãå ´å㯠gmailã使ãã¾ãããï¼ ä»¥ä¸ã®â¦
ãã£ã¹ã¯ã¦ã¼ãã£ãªãã£.appã§åæåã§ããªããã£ã¹ã¯ï¼USBãã©ãã·ã¥ãã©ã¤ãï¼å¤ä»ãHDDï¼SDã«ã¼ããªã©ï¼ãåæåããæ¹æ³ã§ãmacOSæ¨æºã®ã¢ããªï¼ãã£ã¹ã¯ã¦ã¼ãã£ãªãã£.appã¯ãã¼ãã£ã·ã§ã³ãã¼ãã«ã®ç¶æ ã«ãã£ã¦ã¯ãã£ã¹ã¯ã®åæåããã¼ãã£ã·ã§ã³ãâ¦
詳細ãªæ å ±ãå¿ è¦ãªå ´åã¯ï¼"--json"ãã¤ããã¨JSONå½¢å¼ã§æ å ±ãåºåã§ãã¾ãï¼ã¤ã³ã¹ãã¼ã«æ¥æã ã¨ãï¼ããã±ã¼ã¸ã«å«ã¾ãããã¡ã¤ã«åãå¿ è¦ãªå ´åã¯JSONå½¢å¼ã使ãæ¹ãè¯ãã§ãããï¼ $ tlmgr info --only-installed --json JSONå½¢å¼ãªã®ã§ jq ã³ãã³ãâ¦
TeX Live ç°å¢ã®ã¤ã³ã¹ãã¼ã«æ¸ã¿ããã±ã¼ã¸ã®ãªã¹ããå¾ãã«ã¯ä»¥ä¸ã®ã³ãã³ãã使ãã¾ã $ tlmgr info --only-installed åºåã®æ¸å¼ã¯ i ããã±ã¼ã¸å: 説ææã§ã ããã±ã¼ã¸åã ãã欲ããå ´å shellè¸bash ã®ã¯ã³ã©ã¤ãã¼ $ tlmgr info --only-installedâ¦
mac ã® TeXç°å¢ã texlive2023 (BasicTeX) ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS 㨠Tex Live 2023 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼ https://pyopyopyo.hatenablog.com/entry/2022/04/06/211116 (TeX Live 2022ã®è¨äº) httâ¦
pdfimages ã³ãã³ãã使ãã¨ï¼pdfãã¡ã¤ã«ããç»è³ªãè½ã¨ããã«ç»åãåãåºããã¨ãã§ãã¾ãï¼ pdfimages ã®ã¤ã³ã¹ãã¼ã« Linuxï¼debianãubuntuã®å ´å $ sudo port install poppler-utils mac port ã®å ´å $ sudo port install poppler 使ãæ¹ pdfã®ãã¡ã¤â¦
Linuxã¨ãmacOSã§ããã«ã¼ã½ãç»é¢ãåºãæ¹æ³ãã¾ã¨ãã¾ã ã³ãã³ãã©ã¤ã³ã»ã¿ã¼ããã«ã§å®è¡ããç³» ã¿ã¼ããã«ãè¤æ°éãã¦ã以ä¸ã®ã³ãã³ããå®è¡ããã°ãããã£ã½ãé°å²æ°ãåºãã¾ã figlet, toilet, cowsay $ figlet hello world _ _ _ _ _ | |__ ___| |â¦
macããåãLANã«ã¤ãªãã£ã¦ããLinuxãã·ã³ï¼ubuntuã¨ãã©ãºãã¤ï¼ã®IPã¢ãã¬ã¹ã調ã¹ãæ¹æ³ã§ã dscacheutil ã³ãã³ã Linuxå´ã« avahi (mDNS)ãã¤ã³ã¹ãã¼ã«ããã¦ããã°ï¼"Linuxãã·ã³ã®ãã¹ãå.local "ã§IPã¢ãã¬ã¹ãå¼ãã¾ãé¢åãªãpingã³ãã³ããªã©â¦
pdfãå°å·ãããã¨ããã¨ï¼ããªã³ã¿ãã¨ã©ã¼ãåºãå ´åã®å¯¾å¦æ¹æ³ã§ã æé 1 ããªã³ã¿ã®ã¨ã©ã¼ã確èªããããªã³ã¿ã®æ©ç¨®ã«ãã£ã¦æ¹æ³ã¯éãã¾ããï¼ãããã以ä¸ã®ããããã®æ¹æ³ã«ãªãã¾ã PCããããªã³ã¿ã®ç®¡çç»é¢ãè¦ããå ´å 管çç»é¢ããã¸ã§ãã®ã¨ã©â¦
ç¹å®ã®ãã£ã¬ã¯ããªä»¥ä¸ã«ããå ¨ã¦ã®ãã¡ã¤ã«ã«ã¤ã㦠md5sum ãè¨ç®ããã¯ã³ã©ã¤ãã¼ã§ã find -type f -print0 | xargs -0 md5sum > md5sum.txt ã³ãã³ãã®æå³ã¯ find ã§å帰çã«ãã£ã¬ã¯ããªãæ¢ç´¢ãã¦ å ¨ã¦ã®ãã¡ã¤ã«åãstdoutã«åºå (-type f) xargs â¦
ã³ãã³ãã©ã¤ã³ã§ï¼unix timestamp ãæ¥ä»ãæå»ã«å¤æããæ¹æ³ãã¾ã¨ãã¾ã GNUç³» (linux, debian,ubuntu,redhat,centos) date ã³ãã³ã㧠"-d @ã¿ã¤ã ã¹ã¿ã³ãâ ã®æ¸å¼ã§ unixã¿ã¤ã ã¹ã¿ã³ããæå®ãã¾ã $ date -d @1595812200 Mon Jul 27 10:10:00 JST 2â¦
jupyter notebook ã®åºå㯠pdf å½¢å¼ã§ä¿åã§ãã¾ããã®æ¹æ³ã¯ï¼ç»é¢å·¦ä¸ã®ãã¡ãã¥ã¼ãã®ãååãä»ãã¦ãã¦ã³ãã¼ãããããPDF via LaTeX (.pdf)ããé¸ã¶ã ãï¼ãã ãï¼ãã®æ©è½ãæ£å¸¸ã«åä½ããããã«ã¯ LaTeX ãã¤ã³ã¹ãã¼ã«ããã¦ããã㨠æ¥æ¬èªç¨ã«â¦
macOS ã® TeXç°å¢ã texlive2020 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS 㨠Tex Live 2020 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼ http://pyopyopyo.hatenablog.com/entry/2019/07/04/150000 http://pyopyopyo.hatenablog.com/entâ¦
åç»ç·¨éã«ä¾¿å©ãª ffmpeg ã§ãã使ãã¯ã³ã©ã¤ãã¼ãã¾ã¨ãã¾ãï¼ãã®ã¨ã³ããªã¯ä»å¾ãéææ´æ°ããäºå®ã§ãï¼ ffmpeg ã®åºæ¬ åç»ã MP4å½¢å¼ã«å¤æãã $ ffmpeg -i å ¥ååç»ã®ãã¡ã¤ã«å åºååç».mp4 å ¥å㯠"-i å ¥åãã¡ã¤ã«å"ã§æå®ãã¾ãï¼ãã¡ã¤ã«å½¢â¦
å稿 A.pdf ã«ï¼å¥ãã¡ã¤ã« B.pdf ã®å 容ãéç³ããã¦ï¼æ°ãããã¡ã¤ã« C.pdf ã¨ãã¦ä¿åããæ¹æ³ã§ãpdfå½¢å¼ã§æç« ãå°å·ãã¼ã¿ãæ±ã£ã¦ãã㨠åãã¼ã¸ã«ï¼ããã¿ã¼ããããã¼ãèªåã§è¿½å ãã pdfå½¢å¼ã§ä½æãããã¹ã¿ã¼ã«å°å·ï¼è£æç¨ã®ãã³ããä»ãã â¦
ï¼ã¤ã® static libraryï¼ libX.a 㨠libY.a ãçµåã㦠libAll.a ãçæããæ¹æ³ã§ããã®è¨äºã¯ è¤æ°ã®éçã©ã¤ãã©ãª (.a) ãçµåããæ¹æ³ - pyopyopyo - Linuxã¨ãããã°ã©ãã³ã°ã®è¦ãæ¸ã - ã®æ¹è¨çã§ã Linux ã®å ´å (æ¹æ³1) ar scripts ã使ãã¾ãï¼ â¦
macOS mojave ã® TeXç°å¢ã texlive2019 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼2020å¹´6æ27æ¥è¿½è¨ï¼ Tex Live 2020çã®è¨äºãç¨æãã¾ããï¼ pyopyopyo.hatenablog.com ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS mojave㨠Tex Live 2019 ã«åããã¦æ´æ°ã»å çãããã®ã§â¦
macOS ã®ææ°ç Mojave ã«åãã㦠MacPorts ãæ´æ°ããã®ã§ï¼æé ãã¡ã¢ãã¾ã æ¦è¦ MacPortsã¤ã³ã¹ãã¼ã«æ¸ã¿ã® macOS ã Mojave ã«ã¢ããã°ã¬ã¼ãããã¨ä»¥ä¸ã®ãããªã¨ã©ã¼ã¡ãã»ã¼ã¸ãã§ã¦ MacPorts ã¯åä½ããªããªãã¾ã Error: Current platform "darwâ¦
macOS High Sierra ã® TeXç°å¢ã texlive2018 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ 2019å¹´7æ5æ¥è¿½è¨ï¼ Tex Live 2019çã®è¨äºãç¨æãã¾ããï¼ pyopyopyo.hatenablog.comãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS High Sierra 㨠Tex Live 2018 ã«åããã¦æ´æ°ã»å çâ¦
macOS Sierra ã® TeXç°å¢ã texlive2017 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS Sierra 㨠Tex Live 2017 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼ http://d.hatena.ne.jp/pyopyopyo/20161106 http://d.hatena.ne.jp/pyopyopyo/2015â¦
macOS Sierra ã® TeXç°å¢ã texlive2016 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ä»¥ä¸ã®ã¨ã³ããªã macOS Sierra 㨠Tex Live 2016 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼ http://d.hatena.ne.jp/pyopyopyo/20140815 http://d.hatena.ne.jp/pyopyopyo/2015â¦
Macbook Air (OS X Yosemite) ã® TeXç°å¢ã texlive2015 ã«æ´æ°ããã®ã§æé ãã¾ã¨ãã¾ãï¼ãã®è¨äºã¯ http://d.hatena.ne.jp/pyopyopyo/20140815 ã®å 容ã texlive2015 ã«åããã¦æ´æ°ã»å çãããã®ã§ãï¼2018å¹´5æ9æ¥è¿½è¨ï¼ Tex Live 2018çã®è¨äºãhttp:â¦
Appleã¯ç§ã«æ°OS(ã³ã¼ããã¼ã Yosemite)ãå ¬éããäºå®ã§ããï¼ãã®ãã¼ã¿çã MacBook Air ã«ã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ããï¼æé ã¨ãè¨å®ãªã©ãã¾ã¨ãã¾ãçµè«ããè¨ãã¨ä¹ãæãã¯ç°¡åã§ããï¼ææ³ã¨ãã¦ã¯ Yosemiteã¯ä¾¿å© iPhoneã®iOSã«ããè¿ããªã£ã æè¿â¦