csvãã¡ã¤ã«ãæ±ãã¨ãã«ãã¤ããªããã³ãã³ãããã£ãã¯ãï¼ï¼ã£ã¦ã°ã°ããã¨ããå§ãã¦ãã¾ãã®ã§ã¡ã¢ã ããã¥ã¡ã³ã ã¤ã³ã¹ãã¼ã«æ¡ä»¶ Just Python 2.5 and up or Python 2.4 with sqlite3 module installed. Python 3.x is not supported yet. ã¤ã³ã¹ãã¼ã« macã ã¨brewã§ã§ããããã
GameWith Developer Blogä¼ç¤¾ã®æè¡ããã°ã§å·çããè¨äºãããã¤ãããã¯ã¢ãããã¦ãã¾ãã 2020 å¹´ã«èµ·ããã¯ã¼ã¯ã¹ã¿ã¤ã«ã®å¤åã¨ããããã«ã¤ã㦠#GameWith #TechWith - GameWith Developer Blogãã®è¨äºã¯ GameWith Advent Calendar 21 æ¥ç®ã®è¨äºã§ãã æè¿ãããã°æ´æ°ãæ ã£ã¦ãã @serima ã§ããSplatoon 2 ã§ãã¯ããªããã«ãããæ¥ã ãéã£ã¦ãã¾ããããä»äºã§ã¯éçºããã¼ã¸ã£ã¼ããã¦ãã¾ãã 2020 å¹´ã¯æ°åã³ããã¦ã¤ã«ã¹ã®å½±é¿ã§ä¸ççã«åãæ¹ã®å¤é©ãæ±ããããå¹´ã§ãããå¼ç¤¾ GameWith ãä¾å¤ã§ã¯ããã¾ããã§ããã ãã®ãã¹ãã§ã¯ãã«ãªã¢ã¼ãã¯ã¼ã¯ã¸ã®åãæ¿ãã«ããã¦æ°ãã¤ãããã¨ããç¾å¨ã®èª²é¡ã¨è©¦ã¿ã«ã¤ãã¦ç°¡åã«ç´¹ä»ã§ããã°ã¨æãã¾ãã ãªããç¾æç¹(2020 å¹´ 1
è¤æ°ã®è¦ç´ ãå¦çãããæã ãã¼ã¿ãåã£ã¦ãã(fetch) -> æ½åº(filter) -> åæ(foreach, map) ã¨ããå®åçãªæ çµã¿ã®ä¸ã§å¦çãè¡ããã¨ãå¤ãã¨æãã¾ããä¾ãã°ãã¹ã¯ã¬ã¤ãã³ã°ã¨ãã§æãåºããè¤æ°ã®åç»ãé³å£°ãã¡ã¤ã«ã®ãªã¹ããä¸æ¬ãã¦ã³ãã¼ããããã¨ãã ããããã®ã¯ãã§ããã ã(Pythonãshellãªã©ã®)ã¹ã¯ãªããã¨ããæ¸ããã«ãcommandã®ã¿ã§ãµã¯ãã¨æ¸ãã¦æ¸ã¾ãã¦ãã¾ããããã®ã§ãã ãã¼ã¿ãåã£ã¦ãã(fetch)ã«é¢ãã¦ã¯ããªã¢ã¼ãã®ãã®ãfetchãããªãcurlã¨ãããã§ã«ãã¼ã«ã«ã«ãããªãcatã¨ãããããããªã¨ã¼ã·ã§ã³ã¯ããããã§ãã ä¸æ¹ã§ãæ½åº(filter), åæ(foreach, map)ã«é¢ãã¦ã¯æ±ç¨çãªcommandã¯ã¾ããéããã¦ã㦠æ½åº(filter) åæ(foreach, map) ã§å¦çãããã¨ãã§ãã¾
ä¹ ãã¶ãã«ä»äºã§bashãæ¸ãã¾ããã ãdateãã³ãã³ãã§âæ¥åï¼âæ¥å¾ã®æ¥ä»ãåå¾ããæ¹æ³ã§ã å°ãã ãããããã®ã§ãè¦æ¸ã¨ãã¦æ¸ãã¦ããã¾ãã Linuxç³»ã®å ´å ãªãã·ã§ã³"--date"ã§"â day(s)"(âæ¥åã®å ´åã¯"ago"ãä»ãã)ãæå®ããã $ date +"%Y%m%d" 20090609 $ date +"%Y%m%d" --date "1 day" 20090610 $ date +"%Y%m%d" --date "7 days" 20090616 $ date +"%Y%m%d" --date "1 day ago" 20090608 $ date +"%Y%m%d" --date "7 days ago" 20090602 BSDç³»ã®å ´å ãªãã·ã§ã³"-v"ã§"+âd"(âæ¥åã®å ´åã¯"-")ãæå®ããã $ date +"%Y%m%d" 200906
xargs ã¯ä¾¿å©ãªã³ãã³ãã§ãã xargs ã使ããã¨ã«ãããè¤éãªããã°ã©ãã³ã°ãããªãã§ããæ軽ã«ä¸¦åå¦çãå®ç¾ã§ãã¾ãã æºå å®é¨ç°å¢ ä»åå®é¨ã«å©ç¨ããç°å¢ã¯ CentOS 6.4 ã§ãã xargs 㯠Linux 系㨠BSD ç³»ã§ãªãã·ã§ã³ãç°ãªãã¾ãã®ã§ãã注æä¸ããã å®é¨ç¨ã¹ã¯ãªãã ä»åã®å®é¨ã«å©ç¨ããã¹ã¯ãªããã§ãããã®ã¹ã¯ãªããã xargs ã®å¼æ°ã«æ¸¡ãã¾ãã 以éããã®ã¹ã¯ãªããã®æ§ã« xargs ã«æ¸¡ãã³ãã³ããã xargs å¼æ°ã³ãã³ã ã¨å¼ã¶ãã¨ã«ãã¾ãã #!/bin/sh # å®è¡æéãæ¬æ sleep 1 # ã³ãã³ãå¼æ°è¡¨ç¤ºæã®æ大æåæ° max_len=50 # æ大æåæ°ãè¶ ããå ´åã®ããªãã³ã° a=$@ if [ $max_len -lt ${#a} ] then a="${a:0:$max_len}..." fi # ããã»ã¹çªå·
ãé¡ã®éãã§ãã ä¾ãã°ã常é§åã®ããã»ã¹ããã£ã¦ãcron ã§ãã®ããã»ã¹ã®æ»æ´»ãã§ãã¯ãè¡ããæ»ãã§ãããããã»ã¹ã復活ããããå ´åãªã©ã«ä½¿ãã¾ãã ps ã§ããã»ã¹ã表示ã grep ã§ããã»ã¹ããã£ã«ã¿ãªã³ã°ã grep -v grep ã§ãgrep èªèº«ã®ããã»ã¹ãé¤å¤ã || ã§ã¤ãªãã§ãã³ãã³ãã失æï¼ããã»ã¹ãåå¨ããªãï¼å ´åã«ã³ãã³ããå®è¡ã
ããã«ã¡ã ã°ãã¼ãã«ã»ã³ã¹æ ªå¼ä¼ç¤¾ã®skanehiraã§ãã ä»åã¯ps+killããåæ¥ãã¦ã¿ããããªã¨æã£ã¦ãã¾ãã ããã©ãããããªã®ã§ã極åçãå½ä»¤æã§å¹çããããã»ã¹ãkillãããã®ãç®çã§ãã ã©ãããã°ç°¡æ½åã§ãã¦é¢åãã¸ãã®ããèãã¦å®è·µããããã©ããããå±ã¯ ãã£ã¨äººçã®å¾åã¯æ¥½ã§ãã¾ãï¼å ã¯ããã« Linuxä¸ã§ã¢ããªã®ç°å¸¸ç³»ã®ãã¹ããè¡ããã¨ããã°ãã°ããã¨æãã¾ãã ããã»ã¹ãã¦ã³ã¯å¿ ãã¨è¨ã£ã¦è¯ãã»ã©è©¦é¨è¦³ç¹ã«å«ã¾ããã®ã§ã¯ãªãã§ããããã Linuxã§ããã»ã¹ãå¼·å¶çµäºãããããã«ã¯ ããã»ã¹IDã調ã¹ã killã³ãã³ãã§ããã»ã¹IDãæå®ãã¦å¼·å¶çµäº ã¨ããæé ãè¸ãå¿ è¦ãããã¾ãã ãã£ã¨ç°¡æåã§ããªãããªãã£ã¦èãã¦ãã¾ããã ã¯ã³ã©ã¤ãã¼ã¯ããã¾ã§ãè¤æ°è¡ã®ã³ãã³ãã1è¡ã«ã¾ã¨ãããããªæããªã®ã§ æã¤æåæ°ã¯ãããªã«æ¸ãããã§ã¯ãªãã®ã§ãããã
<ITæè¡ã®å¦æ¹ç®ï¼æå®æ¥ä»ä»¥åã®å¤ããã¡ã¤ã«ãåé¤ããã移åããæ¹æ³> ã·ã¹ãã ãéç¨ãã¦ããã¨ã ãã°ãã¡ã¤ã«ããã¼ã¿ãã¡ã¤ã«ãªã©ã ã©ãã©ãæºã¾ã£ã¦ããã¾ããã ãããªãã¡ã¤ã«ããã¤ãã¯ç§»åãããåé¤ããå¿ è¦ãããã¾ããã âããã«ã¯ãfindã¨xargsããã¾ã使ãã¨ã³ãã³ãä¸çºã§å¯¾å¦ã§ãã¾ãã ï¼ä¾ï¼ï¼ find ./ -mtime +50 -name "*.txt" | xargs mv --target-directory=./aaa ãã¡ã¤ã«åã«.txtãã¤ãã¦ãæå¾ã«ä¿®æ£ãããã®ãï¼ï¼æ¥ããåã®ãã®ãã aaaã¨ãããã£ã¬ã¯ããªã«ç§»åãããæ¹æ³ã§ãã ï¼ä¾ï¼ï¼ find ./ -mtime +50 -name "*.txt" | xargs rm -f ãã¡ã¤ã«åã«.txtãã¤ãã¦ãæå¾ã«ä¿®æ£ãããã®ãï¼ï¼æ¥ããåã®ãã®ãã åé¤ããæ¹æ³ã§ãã ï¼è§£èª¬ï¼ xargsã¯ãæ¨
âªãã¼ã¿ã®éè¨ã§ã¯sort | uniq -c ãã·ã§ã«è¸ã§è¯ã使ããã©å¤§éãã¼ã¿ã«ã¯åããªãã®ã§awkã§ãã£ã¨é«éãªå¦çãæ¸ãâ¬ShellScriptAWK sort | uniq -c ã¨ããæä½ã¯ããã¼ã¿ã®éåãã件æ°ãæ°ããã®ã«ãã使ãã¾ããã uniq ã¯ãã¼ã¿ããéè¤ãã¼ã¿ãåãé¤ããããéè¤ãããã¼ã¿ã ããåãåºãããããããã¯ä»¶æ°ãæ°ãããã¨ããå¦çãã§ããã³ãã³ãã§ãããå®è¡æã®åææ¡ä»¶ã¨ãã¦äºãã½ã¼ãããããã¼ã¿ãå¿ è¦ã§ããã ããå ã« sort ãã¦ãã¾ãã ããããã¼ã¿ã®æ¯éå£ã大ãã㨠sort ã®å¦çæéãããã«ããã¯ã¨ãªã£ã¦ãæ°ååä½ã®ãªã¼ãã¼ã§å¦çå¾ ã¡ãèµ·ãããã¨ãããã¾ãããã®ãããªå ´åã« sort | uniq -c ã¨ã¯éãæ¹æ³ã§éè¨ãè¡ãã°ãå¦çé度ãå¤§å¹ ã«æ¹åã§ããå¯è½æ§ãããã¾ãã ä¾ï¼1ãã1000ã¾ã§ã®ã©ã³ãã ãªå¤ã®éå1å件ã«ã¤ãã¦ãå¤ãã¨ã®
Win + R ãã¼ã§éããããã¡ã¤ã«åãæå®ãã¦å®è¡ãã å°å³ã«ä¾¿å©ãªã³ã¤ãã®ä½¿ãããªãè¡ï¼ã¨ä¸é¨ããã¢ãã¯ãªãã¿ï¼ããå±ããã¾ãã ãªãããã¡ã¤ã«åãæå®ãã¦å®è¡ãã使ãã®ï¼ ã©ã® Windows ã§ã使ãããã Windows ã«æ¨æºã§åãã£ã¦ããæ©è½ãªã®ã§ãã©ã® Windows ã§ã使ãã¾ããå ±æ PCãä»®æ³ãã·ã³ãå¾è¼©ã® PCã客å ã® PC ãªã©ã§ããµã¯ã£ã¨ä½¿ãã¾ãã 軽ãã¦éãã¦ã·ã³ãã«ã ãã ä¸æãªããã°ã©ã ã©ã³ãã£ã¼ããã軽ãã¦ãéãã¦ãã·ã³ãã«ãªã®ã§å°å³ã«ä½¿ããããã§ãã è¦ãã¦ããã¨ä¾¿å©ãªã³ãã³ã å³å¯ã«åãä¸ããã¨é·æã«ãªã£ã¡ããã¾ãããç§ããã使ãã³ãã³ããæãã¦ããã¾ãã æ¨æºã¢ã㪠ã³ãã³ã åè
俺ã®æç¨ã¯ã³ã©ã¤ãã¼ãWebä¼æ¥ã®ã¨ã³ã¸ãã¢16人ã«èãã¾ãã ã¨ã³ã¸ãã¢ã®çãããæç¨ããèªä½ã®ã¯ã³ã©ã¤ãã¼ã£ã¦ã©ããªãã®ï¼Webä¼æ¥ã§åãã¨ã³ã¸ãã¢ã®æ¹ã ã«ãç§èµã®ã¯ã³ã©ã¤ãã¼ãèãã¾ããã ã¯ã³ã©ã¤ãã¼ã¨ã¯ãä½ãç¹å®ã®å¦çãããã£ã1è¡ã®ããã°ã©ã ãã ãã§å®ç¾ãããã®ã§ãããµã¼ãã¹éç¨ã«æºããã¨ã³ã¸ãã¢ã®çããããæç¨ãã¦ããç¬èªã®ã¯ã³ã©ã¤ãã¼ãæã£ã¦ããã®ã§ã¯ãªãã§ããããããç¬èªã®ã¯ã³ã©ã¤ãã¼ãã¨ã¯ãã¨ã³ã¸ãã¢å人ã®ãã¬ãã¸ããã¦ãã¦ãè©°ã¾ã£ã¦ããã¨ãèãããã¾ãã æ¬ä¼ç»ã§ã¯ãã¾ãã¾ã¸ã£ã³ã«ã§æ´»èºããã¨ã³ã¸ãã¢16人ã«ãæ¥åãæ¯ãã¦ãããã¯ã³ã©ã¤ãã¼ãç´¹ä»ãã¦ãããã¾ãããåèã«ä½¿ã£ã¦ã¿ããè¯ããçºãã¦æ¥½ãããè¯ããåæ§ããµããè²´éãªããªã¬ãªã¬ã»ã¯ã³ã©ã¤ãã¼ãã®æ°ã ãã覧ãã ããï¼ â»åã«ãã´ãªã¼å ã§ã¯æå±ä¼æ¥åã®50é³é ã«æ²è¼ãåçè ã¯æ¬ç§°ç¥ã¨ããã ãªã½ã¼ã¹ç®¡ç ããã»ã¹ã
æ¦è¦ ãåç¥ã®æ¹ãå¤ãã¨æãã¾ãããå°ããªã³ã¼ãçãå ±æã»ãã¼ã¸ã§ã³ç®¡çã§ããGist (https://gist.github.com/) ã¨ãããµã¼ãã¹ãããã¾ããGistã¸ã®æ稿ã¯åºæ¬çã«ãã©ã¦ã¶æä½ã§è¡ãã¾ããã ãããã¿ã¼ããã«ããè¡ãããæ稿ã®èªååã楽ã«åºæ¥ãããè²ããªå ´é¢ã§ä¾¿å©ã ãªã¨æããæ¹æ³ã調ã¹ã¾ããã ç°å¢ã¯ä»¥ä¸ã®ã¨ããã§ãã
æ¥å¸¸ãã使ããUnixç³»OSæ¥åå¹çupæ æ°å転æã«ãæ®æ®µããLinuxã§ä½æ¥ããä¸ã§å²ã¨ä¾¿å©ãªãã¼ã«ã ã£ããå°æãå ±æãã¾ããç¥ã£ã¦ãããããã ä¸å¿å ¨é¨Macã§ãLinuxã§ãåãã¯ãã§ãã é«éåç³» axel , aria2c http://qiita.com/sarumonera/items/2b30999d7d41a4747d74 https://goo.gl/gsFrCT https://wiki.archlinuxjp.org/index.php/Aria2 http://qiita.com/TokyoMickey/items/cb51805a19dcee416151 ããã¤ãã¯å²ã¨æåï¼ï¼ï¼ããªã¨æãã¾ãããã£ã¦ããã¨ã¯curlãwgetã¨ã»ã¨ãã©å¤ãããããµã¼ãã«HTTPãªã¯ã¨ã¹ããéã£ã¦ã¬ã¹ãã³ã¹ãåã£ã¦ããã ããªã®ã§ããããã¦ã³ãã¼ããé«éåããããã«tcpã³ãã¯ã·
ãã®è¨äºã¯.emacs Advent Calendar 2016ã®10æ¥ç®ã§ãã æ¦è¦ Emacs ã使ãå§ãã¦3ã¶æç®ã«ãã¦ã CUI ã® Emacs ãã GUI ã® Emacs ã«ç§»è¡ãã¾ããã ç°å¢ã¯ Arch Linux ã§ãã ãã®ããã«å¿ è¦ã ã£ããã¨ãã§ããããã«ãªã£ããã¨ãæ¸ãã¦ãã¾ãã Linux ãªã®ã§ããã£ããã¨ã¯ Linux ã®ã¦ã£ã³ãã¦ã·ã¹ãã ã«é¢ä¿ããããã®ã大åã§ãã ç¹ã«ãç¾å¨ CUI ã® Emacs ã使ã£ã¦ãããã GUI ã® Emacs ã使ãããã¨ããæ¹ã«ãèªã¿ããã ããã°å¹¸ãã§ãã åæ© 3å¹´ããã Vim ã使ã£ã¦ãã¾ããã Vim ã§ã¯èµ·åãéããã¡ã¢ãªãæ¶è²»ããªãã GUI ã®ç¡ãç°å¢ã§ãä¸è²«ãã¦åä½ããããªã©ã®çç±ãããããã¹ãã¨ãã£ã¿ãã¿ã¼ããã«ã§åãããã¨ã«ä¸ç¨®ã®ç¾å¦ãæãã¦ãã¾ãããï¼ä¸äºç ï¼ Emacs ã使ãå§ããæããåãçç±ã§
ç®æ¬¡ Macç¨ã®Emacs ã¤ã³ã¹ãã¼ã« è¨å® æ®æ®µä½¿ãããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« Macç¹æã®è¨å® optionãã¼ãMetaãã¼ã« ãã©ã³ããµã¤ãº æ¥æ¬èªå ¥åæã«ã«ã¼ã½ã«ã®è²ãå¤ãã ãããããã¡å ¥åæã«èªåçã«è±èªå ¥åã¢ã¼ãã« cmigemoã®ã¤ã³ã¹ãã¼ã« èµ·åæ¹æ³ããµã¼ãã¼é¢ä¿ ã¨ã¤ãªã¢ã¹ pythonç¨ã«jediãã¤ã³ã¹ãã¼ã« Macç¨ã®Emacs ---------- 2018/11/23 è¿½è¨ ---------- æ°ããMacã«Emacsãå ¥ããã®ã§æ´æ°ãã¦ãããOSã¯macOS Mojave 10.14.1ãGUI対å¿ã®ææ°ã®Emacs 26.1ãå ¥ããã Emacsã«ã¯Macã«å¯¾å¿ãããã®ãå ¬å¼ã«ããã GNU Emacs For Mac OS X ãããcaskãªã©ã§å ¥ãã¦ãããããæ¥æ¬èªå ¥åã«ã¡ãã¤ãåé¡ãªã©ãããã®ã§ã ãã¯ãä¸è¨ã®railwaycatæ°ã®emacs
ã¯ãã㫠使ã£ã¦ããmacãä¿®çã«åºããã¨ã«ãªã£ãã ãã®æ©ã«ãæä½éã®æé ã§éçºç°å¢ãæ´ããéã«å©ç¨ããè¡åãã¡ã¢ããã åºæ¬çã« homebrewã¨mas-cli ã§ç®¡çã Brewfileãªã©ãããã«èªååã§ããæ¹æ³ã¯ãããã ãã®ãããã®èªååãã¼ã«ã¯1å¹´ãããããªã¯ã³ã³ã«ãªã£ã¦ãããããã®ã§ã æä½éã®å¼ã£è¶ããã§ããã°ãããã¨ãã人éãæ¸ãã¦ããã OSç°å¢ OS : OS X El Capitan v10.11.6 ãã®ä»ãè¨å®ã移è¡ããã¢ããªã±ã¼ã·ã§ã³ å©ç¨ããè¨èª : Ruby, PHP, Go å©ç¨ããã·ã§ã« : bash, zsh, fish ã¨ãã£ã¿ : emacs, atom éçºç°å¢ : docker ã¿ã¼ããã«ç°å¢ : iTerm2 + tmux ãã¼ãã¼ãè¨å® : Karabiner å©ç¨ããã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ åºæ¬çã«ã¯mas-cliãå©ç¨
VimGolf.com Real Vim ninjas count every keystroke - do you? Head on over to vimgolf.com, pick a challenge, and show us what you've got! Each challenge provides an input file, and an output file Your goal is to modify the input file such that it matches the output Once you install the vimgolf CLI, pick a challenge, open a prompt and put away! When you launch a challenge from the command line, it wi
æ¨æ¥åã® Twitter ã¿ã¤ã ã©ã¤ã³ã§ q ã¨ãããã¼ã«ã話é¡ã«ä¸ãã£ã¦ãã¾ããã GitHub - harelba/q: q - Run SQL directly on CSV or TSV files Text as Data q is a command line tool that allows direct execution of SQL-like q... https://github.com/harelba/q æ¨æºå ¥åã SQL ã§æ½åºã§ããã¨ããç©ã§ãããã å人çã«ã¯ãããããã® python ãããªã㦠Go ã§ãã«ãããã¦ãã¨å©ããããªã¼ãã¨æã£ãã®ã§ q ã¨åãæ§ãªåä½ã«ãªããã¼ã«ãä½ã£ã¦ã¿ã¾ããã GitHub - mattn/qq Select stdin with query https://github.com/mattn/qq ä¾ãã° msys2 ã®ã·
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}