dstask A CLI TODO manager with git-based sync + markdown notes.
追è¨(2022/03/20) Linuxéå®ã ãæ¦è¦ã¬ãã«ã ãã©å æ¬çãªããã¥ã¡ã³ãããã£ãã 2. Keyboard generalities ãã¼å ¥åããã¨ãã«èµ·ãã¦ãããã¨ã説æãã¦ããã ãã¼ãã¼ãã³ã³ããã¼ã©ã¯ãã¼ãã¼ããã©ã¤ãã«ã¹ãã£ã³ã³ã¼ããéä¿¡ãã ï¼ã¹ãã£ã³ã³ã¼ãã¢ã¼ãã®ï¼ãã¼ãã¼ããã©ã¤ãã¯ã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ã«ã¹ãã£ã³ã³ã¼ããéä¿¡ãã ï¼ãã¼ã³ã¼ãã¢ã¼ãã®ï¼ãã¼ãã¼ããã©ã¤ãã¯ãã¼æ¼ä¸ããã¼é¢ä¸ããããã®ã¹ãã£ã³ã³ã¼ãããã¼ã³ã¼ãã«å¤æããã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ã«éä¿¡ãã ï¼ãã以å¤ã®ï¼ãã¼ãã¼ããã©ã¤ãã¯ãã¼ã³ã¼ãã§ãã¼ããããè¾æ¸å¼ããã¦ãçºè¦ããæååï¼ã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã¹ã®å ´åãããï¼ãã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ã«éä¿¡ãã ãã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ã«éä¿¡ãããã¯ãå®éã«ã¯ã端æ«ãã©ã¤ãã«éä¿¡ãããã«ç¸å½ããã ï¼ç«¯æ«ãã©ã¤ã=sttyãªã®ããªï¼
ãè¨å®ãã¦ããå度試ããæ bar ã表示ããããbackupcopy ã¯ç·¨éä¸ã®ãã¡ã¤ã«ã«ãã£ã¦èªåã§å¤å¥ãã auto ãããã©ã«ãã«ãªã£ã¦ããçºã試ãéã«ã¯æ示çã« yes ã«è¨å®ããªãã¨ãããªãã bash ã®å®è£ ç¢ºèª evalstring.c ã® parse_and_execute ã§ã³ãã³ããå¦çããã¦ãããinput.c ã® with_input_from_buffered_stream ã§èªã¿è¾¼ã¿ã®æºåãè¡ããã¦ããããããã¡ã®èªã¿è¾¼ã¿ã®æ¬ä½ã¯ y.tab.c ã¤ã¾ããã¼ãµããç´æ¥å¼ã°ãã¦ããããã®ãã¼ãµã¯ fgets(3) ã§èªã¿è¾¼ã¾ãã¤ã¤å®è¡ãããçºãä¸æ¬ã§ãã¡ã¤ã«ãèªã¿è¾¼ã¾ãã¦ãã訳ã§ã¯ãªãã while/do ã§ã«ã¼ãå®è¡ããéã«ããã¡ã¤ã«ãæ¸ãæãããããæ»ãå ã¯ã©ããªãããã«ã¤ãã¦ã¯ã¹ã¯ãªããã¯ãããã¡ä»ãã§èªã¿è¾¼ã¾ãã¦ããããã®ãããã¡ããã¡ã¤ã«ã·ã¹ãã ããèª
ããã«ã¡ã¯ãhachi8833ã§ãã社å Slackã§è¦ãããmorimorihogeããã®ä»¥ä¸ã®æ¸ãè¾¼ã¿ã§ç®ããé±ãè½ã¡ã¾ããã ~/.bashrcã§ä½ããåºåãã¦ãã¾ãã¨ãrsyncãªã©ã®sshãã¤ãã§åé¡ãçãããã¨ãããããã§ãã åè: ç¥ããªãã¨rsyncã§ããããã·ã§ã«åæå - Qiita ããããã£ããã«ãã§ãããããä¸æ¬¡æ å ±ãå ã«ãªãã¹ãä¸è¬çã«ãªãããã«ã¾ã¨ãã¦ã¿ã¾ããã ã·ã§ã«ã¹ã¯ãªããï¼.bashrcã.bash_profileãªã©ãå«ãï¼ã¯ãã¾ãã«èªç±ã«æ¸ãã¦ãã¾ããLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãmacOSã«ãã£ã¦ä½æ³ãã¾ã¡ã¾ã¡ã ã£ããããã®ã§ãå¤ãã¦ã¯ãããªããã¤ã³ããã©ãããç¥ãããã£ãã®ã§ããã 対象ã¯bashã¨shï¼Bourne Shellï¼ã«éå®ãã¾ããã¾ãããã¹ã¯ãããGUIã®è¨å®ãã¡ã¤ã«ã«ã¤ãã¦ã¯æå°éã«ã¨ã©ãã¾ãã bashã®manãã¼ã¸ å è¨
Bashã¯LinuxãUnixã§ãã£ã¨ãåºã使ããã¦ããã·ã§ã«ããããã¯ã³ãã³ãè¨èªã®1ã¤ã§ããå¤ãã®Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ãã¯ããmacOSãWindows 10ã®Linuxäºææ©è½ã§ããWindows Subsystem for Linuxãªã©ã§ã¯Bashãæ¨æºã®ã·ã§ã«ã¨ãã¦è¨å®ããã¦ãã¾ãã GNUããã¸ã§ã¯ãã¯ããã®Bashï¼Bourne Again Shellï¼ã®ææ°ãã¼ã¸ã§ã³ã¨ãªãBash 5.0ã®ãªãªã¼ã¹ãã¡ã¼ãªã³ã°ãªã¹ãã§çºè¡¨ãã¾ããã Bash 4.0ã®ãªãªã¼ã¹ã¯2009å¹´2æã®ãã¨ã§ãããããç´10å¹´ã¶ãã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããã2016å¹´9æã«ç»å ´ããBash 4.4ããã¯ç´2å¹´4ã«æã¶ãã¨ãªãã¾ãã ãã°ãã£ã¯ã¹ã¨æ°æ©è½ Bash 5.0ã®å¤§ããªå¤æ´ç¹ã¯ãããã« bash 4.4ã§çºè¦ããã大ããªãã°ã®ä¿®æ£ã¨ããã¤ãã®æ°æ©è½ã®è¿½å ã ã¨èª¬æããã¦ãã¾ãã
æå¼·ã®ãã¹ããªè£å®ãæ±ã㦠ã·ã§ã«ãã¹ããªã«ä¸æºãæã£ã¦ããã®ã§èªä½ãã¾ãããä»ã®èªåã«ã¨ã£ã¦ã¯å¿ è¦ãªæ©è½ãçãè¾¼ãã§ãã¦ä¾¿å©ã«ä½¿ãã¦ãã¾ããã誰ãã«ã¨ã£ã¦ã¯ããããã¯æ°ã«æå¾ã®èªåã«ã¨ã£ã¦ã¯ããããæå¼·ãããªããããããªãã§ãã 以åãã®ãããªã¨ã³ããªãæ¸ãã¾ããã www.tellme.tokyo ãã®ãããã (ãããã£ã¨åãã) ã·ã§ã«ã®ãã¹ããªè£å®ã«ä¸æºãæã£ã¦ãã¾ããã åç´ã«ããã©ã«ãã® C-r ã ã¨ç®çã®ãã®ãæ¢ãã¥ãã ä¾ãã°ã³ãã³ãåã®ä¸é¨ã ãã ã¨ãã¤ãºãå¤ããã ãã©ãã£ã¬ã¯ããªã¯è¦ãã¦ããããããã§ããã£ã«ã¿ããããã¨ã ä»ã«ãè²ã ãã£ã¦ (ãã®çç±ã«ã¤ãã¦å ã®ã¨ã³ããªãè¦ã¦ãããã¨ãã¦) zsh-history ã¨ãããã¼ã«ãæ¸ãã¾ããã GitHub - b4b4r07/zsh-history: A plugin for zsh history extended
fillinã¨ããã³ãã³ãã©ã¤ã³ãã¼ã«ãä½æãã¾ããã ã³ãã³ãã®ä¸é¨ãå¤æ°åãã¦ãå¥ã®å±¥æ´ã«ä¿åãã¦ããããã¼ã«ã§ãã ã¹ãã¼ã¸ã³ã°ç°å¢ã¨æ¬çªç°å¢ã®ããã«ãåãã³ãã³ãã§è¤æ°ã®ç°å¢ãåãæ¿ããã®ã«ä¾¿å©ã§ãã zshã®æ¬ (ã¨ãã»ã³ã·ã£ã«ã½ããã¦ã§ã¢ã¬ã¤ãããã¯) ä½è :åºç¬ éäºçºå£²æ¥: 2009/06/17ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ ã©ããã¦ä½ã£ãã® ã³ãã³ãå±¥æ´ã£ã¦ä¾¿å©ã§ãããã ç§ã¯ããã³ãã³ãå±¥æ´ããã³ãã³ããé¸ãã§å®è¡ãã¦ãã¾ãã ã·ã§ã«ã«ä»å±ãã¦ããããã©ã«ãã®å±¥æ´ã使ã£ã¦ããæ¹ãããããã§ãããããfzfãpecoã®ãããªã¤ã³ã¿ã©ã¯ãã£ããªçµãè¾¼ã¿ãè¡ãªã£ã¦ããæ¹ãããã§ãããã ç§ãä¸çªå°ã£ã¦ããã®ããèªè¨¼ãã¼ã®æ±ãã§ãã webã¢ããªãä½ã£ã¦ãã¦curlã§ç´ æ©ã確èªããã¨ãã«ãèªè¨¼ãã¼ãã¢ã¯ã»ã¹ãã¼ã¯ã³ãæã¤ãã¨ãããã¾ãã ã¢ã¯ã»ã¹ãã¼ã¯ã³ã®ãããªã©ã³ãã ãªè±
ããã©ã«ã ã®è¨å®ã貧弱âfishãªãã° ç¡è¨å®ã§ä¾¿å©æ©è½æºè¼ ã·ã§ã«ã¹ã¯ãªãã ãè¦æâfishã¹ã¯ãªãããªãã° ã·ã³ãã« ã§ãããããã ç¡é§ã« å¤æ©è½ ã§è¦ããããªãâfishã¯å¿ è¦ãªæ©è½ã å³é¸ ãã¦ãã ããã¥ã¢ã«ã ãããã¥ãã âfishã®ããã¥ã¢ã«ã¯ å ·ä½ä¾æºè¼ ã§ãããããã è¨å®ãã¡ã¤ã« ãæ¸ãã®ãé¢åâfishãªãã° Webãã©ã¦ã¶ ã§è¨å®ã§ããï¼ è£å®è¨å® ãæ¸ãã®ãé¢åâfishãªãã°manãã¼ã¸ã解æã㦠èªå㧠è£å®è¨å®ããã¦ããã ã·ã³ã°ã«ã¯ã©ã¼ã ä¸ã«ã·ã³ã°ã«ã¯ã©ã¼ããæ¸ããªãâfishãªãã° \â ã¨æ¸ãã é¢æ°ãç°å¢å¤æ°ãä¿å ããã®ã«è¨å®ãã¡ã¤ã«ã®æ¸æããé¢åâfishãªãã°ãã®å ´ã§ æ°¸ç¶å ã§ãã å訳 ããã¥ã¢ã«ããªãâfishã® ææ°çå ¬å¼ææ¸ãå ¨è¨³æ¸ ä»ã«ããããªä¾¿å©æ©è½ãããã¾ãã Webãã©ã¦ã¶ã®ãã㪠Auto suggestion ã¾
« golang ã§ç»åã¢ãããã¼ããç°¡åã«åºæ¥ã go-imageupload ã使ã£ã¦ã¿ãã | Main | SQLite3ã§ã«ã¸ã¥ã¢ã«ã«ãºã³ãã³ãã¨ã· » ã³ãã³ãã©ã¤ã³ãã JSON ãæ±ããã¼ã«ã¨ãã¦ã¯ jq ãä¸è¬çã§ãããä¾ãã° ls ãå®è¡ããçµæã JSON ã® Array ã«ãããã§ãã£ãããã³ãã³ãã©ã¤ã³å¼æ°ããç°¡åã« Object ãä½ãããã¨ãã£ãå ´åã«ã¯ä¸æ¦èãè¾¼ã¾ãªãã¨ãããªãããã使ãæ¹ãé£ããã£ãããã¾ãããããªä¸ã§ã²ããã¨ç¾ããã®ã jo ã§ãã GitHub - jpmens/jo: JSON output from a shell JSON output from a shell https://github.com/jpmens/jo ä½è ã§ãã jpmens ããããªã jo ãä½ãã«è³ã£ãããããã°ã«æ¸ãã¦ãã¾ãã Jan-Piet Mens
ãã®è¨äºã¯ Shell Script Advent Calendar 2015 10æ¥ç®ã®è¨äºã§ãã 9æ¥ç®ã®è¨äºã¯ryoana14ããã®éºããawkã®ä¸çã§ããã Shellã¹ã¯ãªããããã¤ã¾ã§çµã£ã¦ãã¾ã¨ãã«æ¸ããªãMasWagã§ããæ¸ããªããªãã«ã人ã®æ¸ãã(æã®èªåãæ¸ãããã®ãå¤ãå«ã)ã¹ã¯ãªãããè¦ã¦ããã¯é ããªã¨æããã¨ã¯ãã¾ã«ããã¾ããæ¸ãæ¹ã®ã³ãã¨ãããèãæ¹ãå¹¾ã¤ãããã¨æãã®ã§ã¾ã¨ãã¦ã¿ããã¨æãã¾ããåºæ¬çãªè©±ãªã®ã§å¤åShellã¹ã¯ãªãããããã¾ãæ®æ®µæ¸ããªã人åãã ã¨æãã¾ããShellã¯Bashãåæã¨ãã¦æ¸ãã¾ããzshã ã¨ãã£ã¨è²ã ã§ããã®ãããããªãã§ããç´°ãã説æã¯(ãããªã«ç´°ãããªãã¦ãï¼)çãã¦ããã®ã§é©å®manãinfoãåç §ããã¨è¯ãã§ãããã forkãæ¸ãã Shellã§ã³ãã³ãã使ãã¨ãããã¨ã¯å¤ãã®å ´åããã»ã¹ãforkãã¦ãããã¨ã«ãª
tl;dr ãã使ãããã³ãã³ãã®ä¸ã¤ã« cd ã³ãã³ããããã¾ããã¿ã¼ããã«ç活㮠80% è¿ã㯠cd 㨠ls ã§ãããã¨ããè±æè¨äºãä½å¦ãã§è¦ããã¾ããããããå¹çåãããã¨ãã Tips ã§ãã ç®ç cd ã¯ãã使ãããã®ã«ä½¿ãåæãæªãã³ãã³ãã§ããæ°ããã¦ãªãã¾ãããcd ã³ãã³ãã¯æå¹ãªãã¹ï¼ç¸å¯¾ãã¹ã絶対ãã¹ã¯åããï¼ãã解éãã¦ãããªãããã§ããã¤ã¾ããåå¨ãã¦ãã¦å°ä¸ã¤ãã¹ã解決ã§ãããã®ã«éãã®ã§ããä¾ãã°ããã¼ã ãã£ã¬ã¯ããªã«ããã¨ãã«ã/home/lisa/work/dir ã«è¡ããã¨ã㦠cd dir ã¨ã ãã¿ã¤ããã¦ã no such file or directory ï¼ãããªãã£ã¬ã¯ããªã¯è¦å½ãããªããï¼ï¼ã¨è¨ããã¦ãã¾ãã¾ãããã¡ãã¨ããçµè·¯ã§ãªããã°ãªããªãã®ã§ãããã¡ãã¡ãã¹ãè¦ãã¦ããªãå ´åããé¨åçã«ããæãåºããªãå ´åã«ã¯çµæ§é¢åã§ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}