1module JSAN 2 class Context 3 WHITE_SPACES = [" ", "\t", "\r", "\n"] 4 NUMBER_LETTERS = '0123456789+-.eE' 5 HEX_LETTERS = '0123456789abcdef' 6 def initialize(s) 7 @buf = s 8 @index = 0 9 @length = s.size 10 end 11 def skip_white 12 while WHITE_SPACES.include?(@buf[@index]) do 13 @index += 1 14 end 15 end 16 def has_next? 17 @index < @length 18 end 19 def next 20 b = @buf[@index] 21 @index += 1 22
ä»äºã§ãµã¼ããéç¨ãã¦ããã¨æå½ããã®ã¢ã¿ãã¯ãããããå¤ãã®ã ãã©ãåºæ¥ãã°æ©æ¥ã«ãããã¯ãã¦ãã¾ãããã£ãã®ã§ IP ã¢ãã¬ã¹ãã whois ãå¼ã㦠CIDR å½¢å¼ã§è¡¨ç¤ºåºæ¥ããã¼ã«ãä½ã£ããæã¯ããããã® Perl ã§æ¸ããæ°ãããã GitHub - mattn/iputil https://github.com/mattn/iputil ã©ã¤ãã©ãªã¨ãã¦ä½ã£ããã©ãã³ãã³ããç¨æãã¦ããã¾ãã $ go get github.com/mattn/iputil/cmd/iprange å®è¡çµæã®ã¤ã¡ã¼ã¸ã¯ãããªæãã $ iprange [IPã¢ãã¬ã¹] XXX.XXX.XXX.XXX/16 YYY.YY.YYY.YY/16 ... ãã¨ã¯ãã®çµæã使ã£ã¦ ufw (Universal FireWall) ã使ã£ã¦ããã®ã§ããã° $ iprange [ã¤ããIPã¢ãã¬ã¹] |
Windows 㨠Linux éã§ã¡ãã£ã¨ãããã¡ã¤ã«è»¢éããããã¨æã£ãæã« msys2 ã® ssh ã³ãã³ãã WinSCP ãå ¥ã£ã¦ãªãã¦ãããã«ã¬ã¸ã¹ããªãªã©ãæ±ããããªãç°å¢ã§æ軽ã«ä½¿ãã使ãããã¡ã¤ã«è»¢éã½ããã欲ããã£ããLinux å´ãã Samba ã§ç¹ãã§ãè¯ããã ãã©ããã®ç¨éã®çºã ãã« Samba ãããããªããªã¨æã£ãã®ã§ãã¤ããªã1åãã³ã¨ã³ãã¼ããã°ä½¿ããç©ãä½ã£ãã GitHub - mattn/ft ft is CLI tool that transfer files. https://github.com/mattn/ft 使ãã«ã¯ä¸¡æ¹ã®ç«¯æ«ã« ft ã¨ããã³ãã³ããã¤ã³ã¹ãã¼ã«ããã¦ããå¿ è¦ãããããGo ãå ¥ãããããªã msys2 ã(ryãã¨ãè¨ããã¦ãã¾ãããã ãã©ãå®éã«ããããç°å¢ãè¦ä»¶ã£ã¦ããã®ã§ãããã¯ãã Go ã§æ¸ããã®ã§ go
æ¨æ¥åã® 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 ã®ã·
13å¹´åãå㯠vim-dev (Vim ã®éçºã°ã«ã¼ã)ã« Vim ããã½ã±ããéä¿¡ãåºæ¥ãé¢æ°ç¾¤ã®ããããæ¸ãã¦éãã¾ããã Socket functions for vim. - Yahoo! Groups https://groups.yahoo.com/neo/groups/vimdev/conversations/topics/32576 ãã®æ㯠Bram (vimboss) ã«ãPython ã Perl ã¤ã³ã¿ãã§ã¼ã¹ã使ããããªããããããã¯å¤é¨ã³ãã³ãã¨ããã¨è¿ããã¦ãã¾ãã¾ããã確ãã«è¨èªæ¡å¼µã使ãã°åºæ¥ã¾ãããããã«å¦çãããããã³ã°ã ã£ãã®ã§å®ã¯ããã»ã©æçã§ã¯ç¡ãã£ãããç¥ãã¾ããã ãã®å¾ããã®ã½ã±ããéä¿¡ã®ããã㯠vimproc ã®ä¸é¨ã«åãè¾¼ã¾ããã·ã¼ã±ã³ã·ã£ã«ãªã½ã±ããéä¿¡ã¯åºæ¥ãæ§ã«ãªãã¾ãããããã Vim ã«ã¯éåæã¤ã³ã¿ãã§ã¼ã¹ãããã¾ããã
Who are you and what do you use Vim for? Iâm Yasuhiro Matsumoto working as system engineer in japan . I met vim 15 years ago. I used Stevie (itâs vi clone) on HP-UX. Iâve known vim in later but didnât use vim because I didnât know well. I often tried many vi clones. Elvis, Stevie, nvi etc. Then I met a japanese localization of vim called jvim. jvim was useful but it didnât upgrade even though vim
2015å¹´ç·æ¬ ä»å¹´ã沢山ãè¯ã Vim ãã©ã°ã¤ã³ãèªçãã¾ããã ã¾ãçããããã幾度ã vim-jp ã« vim ã®ä¸å ·åå ±åãé ããvim-dev ã«ãããã¨ãã¦éå ããäºãåºæ¥ã¾ãããæ¬å½ã«ãããã¨ããããã¾ãããããã«å人çã«ã¯æè¡è©è«ç¤¾åºçã®ãSoftware Designãã§é£è¼è¨äºãVim ã®ç´°éããå·çããã¦é ãäºã«ãªã1ãèªä»å ±ã«ãã ãã ãã1å¹´ã ã£ãã¨æãã¾ãã ãããä»å¾ãçããã使ãããã¹ãã¨ãã£ã¿ã¯çããèªèº«ãèãã¦è¯ããã¦ãããããããæ°æã¡ãæã¡ãªããå¼ãç¶ã Vim æ´»åãç¶ãã¦è¡ãããã¨æãã¾ãã ã㦠2015å¹´ã¯å¦ä½ã ã£ãã§ãããããVimmer ã«ãªãããã¨æã£ã¦ãã人ãã¡ã¯ Vimmer ã«ãªããã§ãããããVimmer ã®ä¸éä¸è¬ã®ã¤ã¡ã¼ã¸ã¨è¨ãã° vimrc ã°ããå¼ã£ã¦ãã ãã©ã°ã¤ã³ã°ããä½ã£ã¦ãã ç¾ä»£ã§ã vim ãæå¼·ã ã¨æã£ã¦ã
åããµã¯ã©ã¨ãã£ã¿ããVimã«ä¹ãæããã¾ã§ - ITã¯è¸è¡ã åããµã¯ã©ã¨ãã£ã¿ããVimã«ä¹ãæããã¾ã§ ã¨ãã£ã¿ ã¯ããã« ææã®ã¨ãã£ã¿ãVimã åã¯ãã®éã¾ã§ãã£ã¨ãµã¯ã©ã¨ãã£ã¿ãæç¨ãã¦ãã¾ããããæè¿ Vim ã使ãããã«ãªãã¾ããã ãããVim... http://d.hatena.ne.jp/JunichiIto/20120101/1325420213 Vimãã¯ããã¯ãã¤ãã«ã®èè ç¥æ´ã§ãæ¸ãããã©ãåã¯ãç涯Vimã使ããã¨æ±ºãããåã®ããã°ãèªãã§ããã¦ãã人ãªããã ãããã®äººã¯åãVimã使ã£ã¦ããã®ã¯ç¥ã£ã¦ãã¨æããã©ãä»æ¥ã¯ããªãåãVimãé¸ãã§ããã®ãããæ¸ããã¨æãã ãããªåã ãã©ãVim以å¤ã使ããªã訳ãããªããPCã«Vim以å¤ã®ããã¹ãã¨ãã£ã¿ãå ¥ã£ã¦ãªã訳ã§ããªããEmacsãä¸å¿ã¯ä½¿ããããã¡ããEmacsãxyzzyãsakuraã¨ãã£ã¿
æå¤ã¨ç¥ããã¦ããªããã§ããããã¸ã¥ã¢ã«é¸æã£ã¦ vimã§é¸æç¯å²ãç½®æ ããã¼ãããããããããã£ããã ãã¼ï¼ç¥ããªãã£ããã¼ï¼ åããã¿ã説æãã¦ãé¢ç½ããªãã®ã§ãä»æ¥ã¯ãã¸ã¥ã¢ã«é¸æå¾ã«è¡ãã¢ã¯ã·ã§ã³ã«ã¤ãã¦... ã'<'>ãã®å¾ã«ã¯ããs(substitute)ãã ãã§ãªããg(global)ãããv(vglobal)ããæ¸ãäºãã§ããè¡åä½ã§ã®ãã¸ã¥ã¢ã«é¸æ(æ£å¼ã«ã¯linewise-visualé¸æ)ãè¡ã£ãè¡ã«å¯¾ãã¦çµè¾¼ã¿ãè¡ãããã®ä¸ã§ç½®æãè¡ãäºãåºæ¥ã¾ãã ä¾ãã° åé¡ â»ä»¥ä¸ã®é¿è¤ã«ã¤ãã¦ééã£ã¦ããç©ã«Ããå ¥ãã (  ) 俺ã¯é¿è¤ä¼ã (  ) 俺ããé¿è¤ä¸ä½ã (  ) åãé¿è¤åã (  ) ãªããã«é¿è¤è²·ãã (  ) å®ã¯ç§ã®å¾å å¼ãé¿è¤å¿«ã (  ) åç¶ãé¿è¤é£¼ãã (  ) æµ·ã§é¿è¤è²ãæ¾ã£ã (  ) ãåãé¿è¤ç²ææ§ãã㪠ãããªããã¹ããªãã°
github 㧠git diff from..to ã表示ãã - #çåæ¦ç¥ ããã㯠- subtech 㧠text/plain 㪠diff ã表示ãããã.. ãããªã㦠... ã http://subtech.g.hatena.ne.jp/secondlife/20121225/1356421602 github ã®ã³ããããã¼ã¸ URL ã¯ãå®ã¯åãè¯ãåºæ¥ã¦ããã ä¾ãã° pull request ã®ãã¼ã¸ Add each Gem bundled data pointer in mrb_state by masuidrive - Pull Request #605 - mruby/mruby - GitHub Showing 17 changed files with 183 additions and 36 deletions . Show Diff Stats H
Vim Advent Calendar 2012 ã® 4 æ¥ç®ã®è¨äºã§ãã ããã£ãï¼ã³ã³ãã¬ãã£ã§ Vim åºãï¼ã ãã ã£ã¦åã®å½¼æ°ãVim 使ããããªãã£ããã ãããããã¯ããã«ãåºå¡ããä¸ç·ã« Vim ãªã©å¦ä½ã§ããï¼ãã ãããªè¨èãèãããæ§ã«ãªã£ã¦éåã¨çµã¡ã¾ãã(è¦åºå ¸)ã æ¨ä»ãVim ã¯ããã¹ãã¨ãã£ã¿ã®æ ãè¶ ããã¢ããªã±ã¼ã·ã§ã³ãã©ãããã©ã¼ã ã¸ã¨å¤ããã¤ã¤ããã¾ãã vital.vim çã使ãäºã§ç°¡åã«ã¢ããªã±ã¼ã·ã§ã³ãä½ãäºãåºæ¥ãæ§ã«ãªãã¾ãããæåå³åã§ã¯ããã¾ãã webapi-vim ã®ä¸é¨ã vital.vim ã«åãè¾¼ã¾ãã¦ãã¾ãã ãã®ããã°ã§ãçµæ§åãä¸ãã¦ãã¾ãã webapi-vim ã¨ã¯ä¸ä½ä½ããååã®éããWeb Application Programming Intreface ãæ±ããã©ã¤ãã©ãªã§ãã webapi-vim ã¨ã¯ we
ã¡ãã£ã¨åã« PostgreSQL ã«é¢ããè¨äºãè¦ããæè¿ PostgreSQL ãã¢ãã¤ãããã PostgreSQLã«èå³ããã人åãã«ã¾ã¨ãã¦ã¿ããï½PostgreSQLï½ãä»äºã¡ã¢ï½Pictnotes Q. FDWã£ã¦ãªã«ãï¼ A. FDW(Foreign Data Wrappe),å¤é¨ãã¼ã¿ã©ããã£ã¦ãããã¤ã§ãSQL/MED(Management of External Data)ã®è¦æ ¼ã®ä¸ã¤ã§ç°¡åã«ããã¨ãPostgreSQLã«QUERYãçºè¡ããããããä¸æè°ãå¤é¨ã®(ãã¨ãã°MySQLã¨ãCSV)ãã¼ã¿ãåå¾ã§ããã¨ããå¤æ æ©è½ã twitterAPIã«å¤æ´ãããããããä»å¾ã¯ãããã«ãã©ãtwitterã®ãã¼ã¿ãåã£ã¦ããã¨ããã§ãããã¨ãããã©ããã¼ãç¨æããã¦ãã(ã¡ãªã¿ã«ä½¿ã£ã¦ã¿ãã楽ããã£ãï½) http://www.pictnotes.jp/memo/arc
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}