This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
ã¨ã³ã¸ãã¢ã«ãªã£ã¦ä»¥æ¥ãã¾ãã·ã§ã«ã触ããã¨ããªããå¿ è¦ã«è¿«ããã¦ã·ã§ã«ãæ¹ãã¦åå¼·ãå§ãã¦ããã¯ãã·ã§ã«ã®è¡¨ç¾åã®é«ããããããå®æãã¦ãã¾ãã ä»åã¯ã³ãã³ãã©ã¤ã³ã§JSONãæä½ããjqã§å°ãè¤éãªæ¡ä»¶å¼ãæ¸ãæã®ãµã³ãã«ãã¾ã¨ãã¦ã¿ã¾ããã selectã§ãã£ã«ã¿ãªã³ã°ããã ã¾ãã¯ãã®ãããªJSONãã¼ã¿ãç¨æãã¾ãã(ä»åã¯ã¹ãã¼ã¹ã®é½åä¸ãé åã«ä¸ã¤ã®è¦ç´ ã ããå«ã¿ã¾ãããå®éã«ã¯ä¸ç¹å®å¤æ°ã®è¦ç´ ãå ¥ã£ã¦ãããã¨ãæ³å®ãã¾ã) { "items": [ { "rendered_body": "<h1>Example</h1>", "body": "# Example", "coediting": false, "comments_count": 100, "created_at": "2000-01-01T00:00:00+00:00", "group": { "create
jqã§ãã¼ã¿åæ awkã®ä»£æ¿ã¨ãã¦ã®jq ã³ãã³ãã©ã¤ã³ã§ã®ã¢ãããã¯æ§ãé«ãåæã¯æ代ã®å¤åã¨ã¨ãã«ãcsvããxml, æè¿ã¯msgpack, jsonãªã©ã®ãã¼ã¿ãã©ã¼ããããå©ç¨ããã¾ã jsonã¯ãã®çãç«ã¡ããè¨è¨ã»éçºããããã®ã§ã¯ãªããJavaScriptã®ãã¼ã¿ãã©ã¼ãããããå¶ç¶çºè¦ããããã®ã§ãã Apache HadoopãAWS EMRãGoogle Dataflow, Apache Beamãªã©ã§ä»»æã®ã·ãªã¢ã©ã¤ãºæ¹æ³ãå©ç¨ã§ãã¾ããããã®ä¸ã§ãå²ã¨ä¸è¬çãªæè¡ãjsonã§ãã ããã°ãã¼ã¿ã§å©ç¨ããã¦ããç¥è¦ããã¼ã«ã«ã§ãå©ç¨ã§ããä¸ã¤ã®æ段ã¨ãã¦jqã¨å¼ã°ããJavaScriptã®jsonãã©ã¼ãããå å·¥ã«æé©åãããã¤ã³ã¿ããªã¿ã¼ãå©ç¨ã§ãã¾ã ã³ã¼ãã®å ¨ä½ã¯ããã«ä¿åããã¦ããã®ã§ãé©å®åç §å©ç¨ãã¦ãã ãã jqã«csvãæå ¥ããåã«åå¦ç jqã ãã§
Before I commit my staged Python files, black formats my code and flake8 checks my compliance to PEP8. If everything passes, the commit is made. If not, then I the perform necessary edits and commit again. Less time is spent on code formatting so I can focus more on code logic. Code reviews are fun! They enable me to learn from otherâs code while providing an opportunity to teach what I know. Howe
ãã®è¨äºã¯Pythonã®AdventCalandar2016ã®15æ¥ç®ã®è¨äºã§ãã Goã§ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã®æ稿ã«å¼ãç¶ããPythonã§ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã® ããã¤ãã®ãã¿ã¼ã³ãå®è£ ãã¦ã¿ã¾ããã®ã§ãµã³ãã«ã³ã¼ãã¨ç°¡åãªè§£èª¬ããããã¨æã£ã¦ã¾ãã 以åããã®Linuxãããã¯ã¼ã¯ããã°ã©ãã³ã°ãã¤ãã«ãèªã㧠第5ç« ã®IOã®å¤éåã®é¨åãé常ã«èå³æ·±ããã³ãºãªã³ãã¦ãã¡ãã¨ç解ãããã¨æã£ã¦ãã®ã§ Cè¨èªã§æ¸ããã¦ãããã¸ãã¯ãPython3.5.2ã§æ¸ãç´ãã¦ã¿ã¾ããã ã¾ããæ稿ã¿ã¤ãã«ã®ãããã¯ã¼ã¯ããã°ã©ãã³ã°ã«ã¤ãã¦ã¯ã TCPãããã³ã«ãå©ç¨ãããµã¼ãå´ã®Socketéä¿¡ã®å®è£ ãæãã¦ã¾ãã Socketéä¿¡ã«ã¦ãã·ã³ãã«ãªéä¿¡ããI/Oå¤éåãéåæI/Oããã³ããããã³ã°I/Oãå©ç¨ãããã¿ã¼ã³ãç´¹ä»ãã ãããã®å®è£ ãå®ç¾ããããã®æè¡ã¨ãã¦ãsele
udomomo.hatenablog.com 以åã®è¨äºã§ãjqã使ã£ã¦å°ããªå°ããã¨ã解決ãããã¨ãæ¸ããããããããå®éã«jqããããããªå ´é¢ã§ä½¿ãå§ãã¦ãããã¨ã¯ããæåã¯ãã£ãã試è¡é¯èª¤ããã®ã§ãå®éã«ä½¿ã£ãã³ãã³ããå¿ããªãããã«è¨é²ãã¦ããããã jqã¨ã¯ 以åã®è¨äºã§ãæ¸ããããjqã¯JSONãã¼ã¿ã«ç¹åããsedã³ãã³ãã®ãããªãã®ã§ãJSONã®ç¹å®ã®ãã¼ã®å¤ã使ã£ãæ¤ç´¢ã»ã½ã¼ãã»ç½®æãªã©ãç°¡åã«ã§ããã(以ååããããã¨ãsedãawkã§ãããã¨ãããã¨ãããããããªãæéãããã£ãã®ã§ããããã¯ããªã) JSONã§åããã大éã®çãã¼ã¿ã»ãã°ãã¼ã¿ãéè¨ãããã¨ããªã©ã«é常ã«éå®ããã ä»åã¯ãµã³ãã«ã¨ãã¦ä»¥ä¸ã®ãããªJSONãã¡ã¤ã«ãä½ã£ã¦ã¿ãã1è¡ãã¨ã«JSONã1ã¤åãåºãããå½¢å¼ã ã # test.json {"x":"hoge","y":"foo","s":{
解説åç»ï¼ãå³è§£ãExcelï¼ã¨ã¯ã»ã«ï¼ã®ããã¼ãã£ã¼ãä½æãçéåãã¦ããã5ã¤ã®ãã¯ãã㯠ãã®è¨äºã®å 容ã¯ä¸è¨ã®åç»ã§ã解説ãã¦ãã¾ãã ã¯ããã« æ¬é¡ã«å ¥ãåã«ããã®è¨äºããããããªäººãæãã¦ã¿ã¾ãã ã¨ã¯ã»ã«ã§ããã¼ãã£ã¼ããã¤ãããã人 ã¨ã¯ã»ã«ã®ä½æ¥å¹çãä¸ããã人 ã¨ã¯ã»ã«ã«éããOfficeã¢ããªã±ã¼ã·ã§ã³ã§å³å½¢ãæ±ãæ©ä¼ããã人 ãããããããã¼ãã£ã¼ããã©ãä½ã£ãæ¹ãè¯ãããã®åæã¯ãã¡ãã®è¨äºã«ã¾ã¨ãã¦ãã¾ãã ã¾ã èªãã§ãªãæ¹ã¯ããã¡ããèªãã§ããæ¬è¨äºãèªããã¨ããããããã¾ãã âãExcelããã¼ãã£ã¼ãä½æâ¡ãã¨ã¯ã»ã«ã§è¦ãããæ¸ æ¸ããããã«éè¦ãª7ã¤ã®ãã¤ã³ã ããã¼ãã£ã¼ãä½æã®ä½æ¥å¹çãã¢ãããã¦ããããã¯ããã¯5é¸ ãããªãæ¬é¡ã§ããã次ã®5ã¤ã®ãã¯ããã¯ã§ãã å³å½¢ã¯ã³ãã¼ï¼ãã¼ã¹ãã§ä½¿ãåã å³å½¢ã®ç§»åã¯[Alt]ãã¼ãæ¼ããªããè¡ã éãå³å½¢
主ã«Cï¼ããã£ã¦ããç§ã¯C#ã¨Rubyã§è¥å¹²æè¦ãéãã¾ããã çµè«ããè¨ãã¨mapã使ãã¾ãã C#ã®æè¦ã ã¨selectã使ããããªã®ã§ãããselectã ã¨ãã¾ãããã¾ããã map select class Person attr_accessor :name, :sex def initialize(name, sex) @name = name @sex = sex end end people = [Person.new("John", "M"), Person.new("Kid", "F")] p people # => [#<Person:0x007f8cf58aacd0 @name="John", @sex="M">, #<Person:0x007f8cf58aac58 @name="Kid", @sex="F">] p people.map { |person| pe
PythonãHaskellãErlangã«ã¯ãªã¹ãå å 表è¨ã¨å¼ã°ãã ãªã¹ãã®ä¸ã§æ°ããªãªã¹ããçæããæ§æãããã ä¾ãã°Rubyã§ãªã¹ãã®è¦ç´ ã®å¤ãåã«ãããå ´å㯠Array#mapã使ããã l = [*1..10] l.map { |i| i*2 } # => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] ãããErlangã®ãªã¹ãå å 表è¨ã§ã¯ä»¥ä¸ã®ããã«æ¸ãããã L = lists:seq(1,10). [X*2 || X <- L]. % => [2,4,6,8,10,12,14,16,18,20] ãªã¹ãLããXãé¸ã³åºãããã«2ãæãããã®ãè¿ã ã¤ã¾ã || ã®å·¦è¾ºã«ã¯åºåã¨ãªãå¼ã å³è¾ºã«ã¯éå®åãæ¸ã X <- Lã¯Erlangã§ã¯Generatorã¨å¼ã¶ãããã 次ã«ãªã¹ãããå¶æ°ã ããé¸ã㧠ããããåã«ãããå ´åãèããã Ru
æé ãã¼ãã«ã¢ã¼ã(ESCãã¼)ã«ã¦ãæåãæ¿å ¥ãããä½ç½®ã¸ã«ã¼ã½ã«ã移åããã ç©å½¢é¸æããããããctrlï¼vãã¼ãæ¼ä¸ãããï¼ãã®ã¨ãVISUAL BLOCKã¨è¡¨ç¤ºãããï¼ æ¿å ¥ãããè¡æ°åãâãã¼orâãã¼ã§ç¯å²ãæå®ããã æ¿å ¥ã¢ã¼ãã«ãªããããShiftï¼iãã¼ãæ¼ä¸ãããï¼ãã®ã¨ãINSERTã¨è¡¨ç¤ºãããï¼ æ¿å ¥ãããæåãå ¥åããå¾ãESCãã¼ãæ¼ä¸ããã 説æ vimã®ã¢ã¼ãã«ã¤ã㦠ãã¸ã¥ã¢ã«ã¢ã¼ã ãã¼ãã«ã¢ã¼ãã«ã¦vãã¼ãæ¼ä¸ããã¨ãç¯å²æå®ã§ããç¶æ ã«ãªãã â»å ¥åã¢ã¼ãã¸åãæ¿ããéã«ãiãã¼ãæ¼ãã®ã¨åãããã«vãã¼ãæ¼ãã¾ãã â»ã:set showmodeãã§ç¾å¨ã®ã¢ã¼ãã表示ããããã«è¨å®ããã¦ããã°ããVISUALãã¨è¡¨ç¤ºããã ç©å½¢ãã¸ã¥ã¢ã«ã¢ã¼ã ãã¼ãã«ã¢ã¼ãã«ã¦ctrlï¼vãã¼ãæ¼ä¸ããã¨ãç©å½¢é¸æã§ããç¶æ ã«ãªãã â»ã:set showm
vimã§ã¯è¤æ°è¡ãç©å½¢é¸æãã¦sã§ããã¹ãå ¥ããã¨ãåããã®ãã»ãã®è¡ã«ãå ¥ã£ã¦ããã¾ãã from éãããããã sã ã¨é¸æç¯å²ãæ¶ãã¦ãã¾ãã®ã§Iã®ã»ãããããã¨ã from secondlifeãã ããï¼ãããã¨ããããã¾ããä¼¼ããããªãã¨ãããã§ã§ãã¾ããã ã¾ã¨ããã¨ãvimã§ã¯ä»¥ä¸ã®æé ã§Columun Typingãå¯è½ã«ãªãã¾ãã Ctrl+vã§çå½¢é¸æ s or I (sã ã¨ç½®ãæããIã ã¨æ¿å ¥) æååå ¥å ESC
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}