You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
The Gopher character is based on the Go mascot designed by Renee French. TIGã®è¾»ã§ãã Go 1.17é£è¼ã®5æ¥ç®ã®è¨äºã§ããæ¬è¨äºã§ã¯Go1.17ã® go get ã«é¢ããã¢ãããã¼ãã®è©³ç´°ããä¼ããã¾ãã go get ã«é¢ããå¤æ´ç¹ãµã㪠ã¢ã¸ã¥ã¼ã«å¤ããã® go get ã«ãããã³ãã³ãã¤ã³ã¹ãã¼ã«æã«ãè¦åãåºåãã go get ã® -insecure ãã©ã°ã¯ä½¿ããªããªã£ãã代ããã«ç°å¢å¤æ° GOINSECURE ã使ã ã¢ã¸ã¥ã¼ã«å¤ããã® go get ã«ãããã³ãã³ãã¤ã³ã¹ãã¼ã«æã«ãè¦åãåºåããgo get æã®è¦åGo1.16ã®ãªãªã¼ã¹ãã¼ãã§ããã³ãã³ãã®ã¤ã³ã¹ãã¼ã«ã§ go get ã使ãã®ã¯éæ¨å¥¨ãã¨ãç¥ãããããã¾ããããGo1.17ã§ã¯ãã¢ã¸ã¥ã¼ã«å¤ããã³ãã³ãã®ãã¤ããªã go
ã¯ããã«TIGçéã§ãã Go 1.16é£è¼ã®2ã¤ç®ã¨ãªããã®è¨äºã§ã¯ãGo 1.16ã§æ©è½è¿½å ããã go install ã«ã¤ãã¦èª¬æãã¾ãã go installã®æ°æ©è½Go 1.16ãã go installã«æ°æ©è½ã追å ããã¾ãããgo install èªä½ã¯å¾æ¥ããåå¨ãã¦ããã®ã§å ¨ãæ°ããã³ãã³ããå¢ããããã§ã¯ãªããæ©è½æ¡å¼µãããã¤ã¡ã¼ã¸ã§ãã ç¾æç¹ã®ãªãªã¼ã¹ãã¼ãã®è¨è¼ã¯ãã¡ããå ã®Issueã¯ãã¡ãã§ãã起票ããã¦ããåå¹´å¼±ã§ãªãªã¼ã¹ã«å«ã¾ãã¾ããã go installã®æ©è½æ¡å¼µé¨åã§ããç°¡åã«è¨ãã¨ããã¼ã¸ã§ã³æå®ã§ããããã«ãªãã¾ãããè¨ã£ã¦ã¿ãã°ããã ãã§ããå¬ãããã¨ã¨ãã¦ãããã«ãã£ã¦go.modã®æ¸ãæãç¡ãã«ãã¼ã«ãªã©ã®ã¤ã³ã¹ãã¼ã«ãè¡ãããããªãã¾ãããã¡ãªã¿ã«ãã¤ã³ã¹ãã¼ã«ã¨ã¯ã³ã¼ããã³ã³ãã¤ã«ãã¦ã$GOPATH/binã¨ã$HOME/go/bi
èæ¯ Pythonã§ã¯å¤§ä½pytestã使ãã®ã§ãããåºç¤ã§ããããããã©ãæ¯ååå ãå¿ãã¦ãã¾ã£ã¦æãåºãã¾ã§ã«æéãããã£ã¦å°ã以ä¸ã®pytestå©ç¨æã®ã¨ã©ã¼ã«ã¤ãã¦ã®åå¿é²ãæ¸ãã¦ããã¾ã E ModuleNotFoundError: No module named 'hogehoge' ç¾ç¶ ããã§ã¯ä»¥ä¸ã®ãã£ã¬ã¯ããªæ§æã®ããã¸ã§ã¯ããæ³å®ãã¦ãã¾ãã . âââ poetry.lock âââ pyproject.toml âââ src â  âââ mypkg â  âââ func.py âââ tests âââ test_mypkg âââ test_app.py [tool.poetry] name = "pytest_test" version = "0.1.0" description = "" authors = ["hogehoge"] [tool.p
Pythonã«ãæ¨æºã§ã¤ã³ã¹ãã¼ã«ããã¦ããé¢æ°ã ã¨ãã¦ããçµã¿è¾¼ã¿é¢æ°ä»¥å¤ã®é¢æ°ã使ãã«ã¯ãå ã«ã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ãå¿ è¦ãããã¾ãã ãã®ãã¢ã¸ã¥ã¼ã«ã¨ã¯ä½ãï¼ããç解ãã¦ããã¨ãå¦ç¿ã®å¹çãæ©ã¾ãã¾ããã¾ããPython ã§ã¯ã沢山ã®ã¢ã¸ã¥ã¼ã«ãç¨æããã¦ããã¨ãããã¨ãç¥ã£ã¦ãããã¨ã§ãå°æ¥ãå¿ è¦ãåºã¦ããæã«ã使ããé¢æ°ãèªåã§è¦ã¤ããããããã«ããªãã¾ãã ãã®ããã«ããããã§è©³ãã解説ãã¦ããããã¨æãã¾ãã 1. Pythonã®ã¢ã¸ã¥ã¼ã«ã¨ã¯ 1.1. ã¢ã¸ã¥ã¼ã«ã¨ã¯ãé¨åãã®ã㨠ã¢ã¸ã¥ã¼ã«ã¨ã¯ãå ã ã¯ã家ãç«ã¦ãããå®¶å ·ãä½ã£ããããæã®ãä¸ã¤ä¸ã¤ã®é¨åï¼ãã¼ãï¼ã®ãã¨ã§ãã建ç¯ã®éã¯ããããããæ¸ãã¦ããå³é¢ã®éãã«ããã¼ããä½ã£ã¦ãããæå¾ã«ããããã®ãã¼ããçµã¿åããã¦å®æããã¾ãã ããã°ã©ãã³ã°ãããã¨åãã§ããã¼ãæ¯ã«ãã¡ã¤ã«ãåãã¦ãä¸ã¤ãã¤å®æããã¦ããã¾
ã¯ããã« Golangç°å¢ã¯ãè·å ´ã§ãæ°å¹´å©ç¨ãã¦ãã¾ããã Macãæ°ãããªã£ã + æ¥ã«æ¥ã«æ°ãããªã£ã¦ããã®ã§ãããæ©ã«localç°å¢ãä½ããªããã¦ã¿ãã¡ã¢ã§ãã ã¢ã¸ã§ã³ã ä»åã®æ§æ goenvã§goããã direnvã§localè¨å®ãã go modã§package管çãã å®è¡ãã¦ã¿ã 1. ä»åã®æ§æ å ´æã¯ã©ãã§ãè¯ãã®ã§ããã 以ä¸ã«sampleãããã¨ä»®å®ãã¦é²ãã¾ãã $ cd $HOME/sample $ pwd $HOME/sample 2. goenvã§goããã goenvã¯ãgoè¨èªã®ãã¼ã¸ã§ã³ã管çãããã®ã§ãã rbenvãnodebrewã使ã£ã¦ã人ã«ã¯ååãè¦ãããããããã¾ããï¼ goenvã®install $ go version go version go1.12.4 darwin/amd64 $ brew install goenv $
æè¿ã¯ Ansible 㧠Mac ãã»ããã¢ããããã®ãæµè¡ã£ã¦ããããã§ããã ãæ°å¹´åº¦ã®çµç¹å¤æ´ã®ã¤ãã§ã« Mac ãæ¯çµ¦ãããã¦ã§ã¼ã¤ããªã®ãæ©ã« Ansible ã«è§¦ã£ã¦ã¿ããã¨ããæ¹ãå¤ãã®ã§ã¯ãªããã¨æãã¾ãã ã¨ããã Ansible ã®ãã®æ軽ããããå ¥éã«éãã¦èª°ããã¤ã¾ããã®ãã ãã°ã°ãè¨äºã©ããããããæççãã¤ä¿ºæµã§ãæ§æ管çã®ä½æ³ãæ£è§£ãããããªã... (ââ¸â)ã ã¨ããç¹ã§ã¯ãªãã§ããããã ããã§ãã®è¨äºã§ã¯ãæççãªåå¥äºä¾ã§ã¯ãªããAnsible ã®åºæ¬æ¦å¿µã Mac ã¸ã®é©ç¨æ¹éãªã©ãæ§æ管çãµã¤ã¯ã«å ¨è¬ã®è¨è¨ã«å½¹ç«ã¤ãããã¯ãç¶²ç¾ çã«è§£èª¬ãã¦ã¿ããã¨æãã¾ãã ãã£ãã macOS Sierra + Ansible 2ç³»ã®ç°å¢ãæ³å®ãã¦ãã¾ãããåºæ¬ã¯ã©ã®ãã¼ã¸ã§ã³ã§ã大ããéããªãã¯ãã§ãã ãåèã«ãªãã°å¹¸ãã§ãããã¾ãï¼ (à¹Ë̵á´Ë̵)
DjangoãRuby on Railsã¨ãã£ããã«ã¹ã¿ãã¯ãã¬ã¼ã ã¯ã¼ã¯ã¯ãã·ã³ãã«ãªCRUDã¢ããªã±ã¼ã·ã§ã³ãç´ æ©ãæ§ç¯ãããã¨ãã§ããããè¤éãªã¢ããªã±ã¼ã·ã§ã³ã®è¨è¨ãã©ãããã°ãããã¨ããåé¡ã«ã¯ãã¤ãæ©ã¾ãããã ã©ã®ãããªããã¸ã§ã¯ãã«ãããã¯ã±ã¼ã¹ãã¤ã±ã¼ã¹ã ããèªåã®ä¸ã§ããããåºã¾ã£ã¦ããã®ã§ããããã¾ã¨ãã¦ã¿ãã Djangoã®å ´åããã¬ã¼ã ã¯ã¼ã¯ãå¿ è¦ã¨ããã¢ã¸ã¥ã¼ã«ã¯settings.pyã¨models.pyããããªã®ã§ãåDjangoã¢ããªã±ã¼ã·ã§ã³å ã§ã¯å²ã¨èªç±ã«ã¢ã¸ã¥ã¼ã«ãå®ç¾©ã§ããã èªåã¯ä»¥ä¸ã®ãããªèªä½ã¢ã¸ã¥ã¼ã«ãé ç½®ããããã«ãã¦ããã commands query services utils commands ã¾ãã¯ãcommandããã®commandã¯GoFã®Commandãã¿ã¼ã³ã®ãã¨ã§ã¯ãªããCommand-Query Responsibil
éå±ãªãã¨ã¯Pythonã«ããããã âãã³ããã°ã©ãã¼ã«ãã§ããèªååå¦çããã°ã©ãã³ã°posted with ã«ã¨ã¬ãAl Sweigart ãªã©ã¤ãªã¼ã¸ã£ãã³ 2017-06-03 Amazonã§æ¤ç´¢æ¥½å¤©å¸å ´ã§æ¤ç´¢Yahooã·ã§ããã³ã°ã§æ¤ç´¢ ç®æ¬¡ ç®æ¬¡ ã¯ããã« Can I use python3ã§ã©ã¤ãã©ãªãpython3ã§å©ç¨ã§ããã確èªã§ãã pythonã®ãªãã¸ããªã®æ§æ withæ§æããã¾ã使ã ã³ã¼ãã®ãããã°ãããã¨ãã¯ãã¹ããã¡ã¤ã«ãä½ãã tkinterã¯ãã¼ã¸ã§ã³8.0ããå¤è¦ãæ´ç·´ããã ãã®ã³ã°ã print ããåªãã¦ããçç± Pythonã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ã«ã¯Noseã使ã Python製ã®CIãµã¼ã Buildbot Pythonã®ä¸¦åå¦çã«ã¯concurrent.futuresã使ã åèè³æ MyEnigma Supporters ã¯ããã« P
ããã«ã¡ã¯ãhachi8833ã§ããä»åã®ç¿»è¨³è¨äºã¯ãRubyãªãã§ã¯ã®ãã¶ã¤ã³ãã¿ã¼ã³ã¨ã§ãè¨ãã¹ããModule Builderãã¿ã¼ã³ãã®è©³ç´°ãªè§£èª¬ã§ããRubyã®Moduleãå®ã¯ã¯ã©ã¹ã§ãããã¨ããã¾ãå©ç¨ãã¦ãã¦ãRailsãªã©ã®ãã¬ã¼ã ã¯ã¼ã¯å´ã§æç¨æ§ãé«ããã¿ã¼ã³ã§ããããã«æãã¾ããã å è¨äºãé常ã«é·ãã®ã§æ¬¡ã®ããã«åå²ãã¾ããã #1 ã¢ã¸ã¥ã¼ã«ã¯ã©ã®ããã«ä½¿ããã¦ãããï¼æ¬è¨äºï¼ #2 Module Builderãã¿ã¼ã³ã¨ã¯ä½ã #3 Rails ActiveModelã§ã®å©ç¨ä¾ ãã¨ãã: Module Builderãã¿ã¼ã³ã¨ããååã«ã¤ã㦠追è¨ï¼2017/10/27ï¼ å è¨äºããTechRachoã«ãªã³ã¯ããã ãã¾ããð shioyamaãããRailsã«æãããã«ãªã¯ãç¥ããã¦ããã ãã¾ãã: #30895 Convert AttributeMetho
ãLinuxbrewããã¨ã¦ã便å©ã ã ã½ã¼ã¹ã³ã¼ããããã«ããã¦checkinstallã¨ãã§ç®¡çãã¦ãããã®ããLinuxbrewããã¤ã³ã¹ãã¼ã«ããããã«ããã¤ãåãæ¿ãã¦ããã ææ°çã®ffmpegã¨ãã½ã¼ã¹ãããã«ããããã¨æãã¨ã4åãããmakeã³ãã³ãå©ããªãã¨ãããªããã ãã©ãããã ã¨ä¸çºã§æ¸ãã Linuxbrewã¨ã¯ Linuxbrewã¯ç°¡åã«ããã¨Homebrewã®Linuxçã ã (Linux|Home)brewã¨ã¯ãHomeãã£ã¬ã¯ããªä»¥ä¸ã«ä»»æã®ããã±ã¼ã¸ãã½ã¼ã¹ããã¤ã³ã¹ãã¼ã«ãããã¨ãåºæ¥ãããã±ã¼ã¸ç®¡çãã¼ã«ã Macã使ã£ã¦ãªãèªåã«ã¨ã£ã¦Homebrewã使ããã¨ã¯ç¡ãã ããã¨æã£ã¦ããã®ã§ãLinuxbrewã®åå¨ãç¥ã£ãæã«ã¯ã¡ãã£ã¨ã¯ã¯ã¯ã¯ããã ããã¦ãå®éã«ä½¿ã£ã¦ã¿ãã¨ãã®å®æ度ã®é«ãã«é©ãã¦ããã åã¦ã¼ã¶ã¼ã好ãåæã«ããã±ã¼ã¸ãå ¥ãã
æ¦è¦ åçåä»ãè¨èªã§ããä¸ã§ãèªç±åº¦ã®é«ã Perl ã ããããã§ãã³ã¼ãã®å ç¢æ§ããªãã¹ã確ä¿ãã§ããç¯å²ã§è³ªãä¸ããæ¹æ³ãèãã¦ã¿ããã¨ããã話ãã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããéã«ããç¨åº¦å®ç¨çã ã¨æãããææ³ã®ã¿ã¾ã¨ãã便å©ã ããã©ãè¶ å¤æ çãªã¢ã¸ã¥ã¼ã«ãªã©ã¯å¤ãã¦ããã 注æ å人çãªèãæ¹ã»ææ³ã®ã¡ã¢ã«éããªãã®ã§ããã¹ã¦ããã®ã¾ã¾å°å ¥ããã®ã¯ãã±ã³ã§ããã¾ãã¯èªã¿ç©ã¨ãã¦ã©ãããä¸ç´è åãã ãªããPerl ã«èå³ããæ¹ã«ã¯ Perl å ¥å¦å¼ ã¨ããæå¿ã®å ¥éè åãå®æã¤ãã³ããããã¾ãã ã¢ãµã¼ã·ã§ã³ï¼è¡¨æï¼ãæ´»ç¨ãã ä»ã®ï¼ç¹ã«éçåä»ãï¼è¨èªã§ã¯ããè¨åãããã®ã« Perl ã§è©±é¡ã«ãªããã¨ã¯ãã¾ããªããã¢ãµã¼ã·ã§ã³ãå ç¢ãªããã°ã©ã ãæ¸ãã«ã¯æ¬ ãããªãéå ·ã§ã端çã«ã¯ããã°ã©ã ã«åãè¾¼ãå°ããªãã¹ãã¨è¨ãããCarp::Assert ã¢ã¸ã¥ã¼ã«ã使ãã assert()
ããããããã°ã©ã ã§ã¯ãªãã®ã ãã©ãå人çãªãã¡ã¤ã«çæã¨è§£æã«å½¹ç«ã£ãã®ã§ã®ã£ãã¨ãã¾ãã 使ãæ¹ begin # Excel ãªãã¸ã§ã¯ããçæ excel = EXCEL::Excel.new() # Sheet1 ãåå¾ sheet = excel.sheet("Sheet1") # 1è¡ç®ãã5è¡ç®ã¾ã§ããããã sheet.each(:row => 5){|row| # 1åç®ã«è¡çªå·ãã»ãã row.set_value(1 , row.index) # 1åç®ã®æåè²ã赤㫠row.set_color(1,"#FF0000") # 2åç®ã«è¡çªå·ãã»ãã row.set_value("B" , row.index) # 2ååã®èæ¯è²ãç·ã« row.set_background_color(2,"#00FF00") } # ã·ã¼ãã追å excel.add_seet("AAA
ã¯ããã« ããã§ã¯ï¼Excel ããã°ã©ãã³ã°ï¼åç´ç·¨ï¼ ã§ä½ã£ã Excel ã¢ã¸ã¥ã¼ã«ãç¨ãã¦ææ¸ãä½æãããã¯ããã¯ãç´¹ä»ãã¾ãããï¼ Excel ææ¸ä½æããã°ã©ã ã¯ï¼ã¨ãããã°ã·ã¼ãã®ã»ã«çªå·ãªã©ãå ¥ãä¹±ãï¼è¤éã§ç®¡çãã«ãããã®ã«ãªã£ã¦ãã¾ããã¡ã§ãï¼ããã«æ¸ãããæ¹æ³ããã¿ã¼ã³ã使ãã°ï¼ããã»ã©æéãå²ããªãã¦ã Excel ææ¸ä½æããã°ã©ã ãæ¯è¼çç°¡åã« Ruby ã§æ¸ããããã«ãªãã¨æãã¾ãï¼ ã¨ããã§ï¼ãªãããã¾ã§ã㦠Excel ãã¡ã¤ã«ã®èªåçæãããªããã°ãªããªãã®ãï¼ã¨çåã«æã人ãããããããã¾ããï¼ç¨åº¦ã®åé¡ãããã¾ããï¼ããããæ¹ãããä¸çªã®çç±ã¯ï¼ã¢ãã«ã¨ãã¥ã¼ã®åé¢ ã§ãï¼ææ¸ã®ãã¿ã XML ãã¡ã¤ã«ãªã©ã®ã¢ãã«ã¨ãã¦ä½æãï¼æåºããªããã°ãªããªã Excel ãã¡ã¤ã«ããã¥ã¼ã¨ã¿ãªãã°ï¼ãã®å©ç¹ãç解ãã¦ããããã§ããããï¼ ãªãã¸ã§ã¯ãæåã§ã
æ¦è¦ ä¼ç¤¾ã§ã¯ä½ãã¨Excelã使ãç¾½ç®ã«ãªããã½ããã®ãã§ãã¯ã·ã¼ããä½ããã¨ãããããä½ãã®éè¨çµæãå¥ã®äººã«æ¸¡ãã¨ãã«ã¯Excelã§ã®æåºãè¦æ±ãããã ã¨ãã£ã¦ããExcelä¸ã§æå ¥åã§ãã¼ã¿ãå ¥ããã®ã¯é¿ããã»ããããããããªãã¨ããã¦ãã¾ãã¨ãå¾ã§ãã¶ã¤ã³ãå¤ããªãããããªããªã£ãã¨ãã« å°çãè¦ããã¨ã«ãªãã ããããèªä½ãé¿ããããã«ãExcelã«ãVisual Basicã§ãã¼ã¿ã®å ¥åãªã©ãèªååããæ©æ§ããããããããããè¨èªãVisual Basicã§ããã VBã§ã®ããã°ã©ãã³ã°ã¯ãã¾ã幸ãã¨ã¯æããªãã WIN32OLEã使ãã¨ãRubyããExcelã®åãªãã¸ã§ã¯ãã«ã¢ã¯ã»ã¹ã§ãããããRubyã§Excelãèªç±èªå¨ã«ã³ã³ããã¼ã«ã§ããã ãããªãã楽ããããã°ã©ãã³ã°ã§ããã¨ãããã®ã ãä¾ãã°ã以ä¸ã®ã³ã¼ãã¯1çªç®ã®ã¯ã¼ã¯ã·ã¼ãã®B5ã»ã«ã«"Hello"ã¨æ¸ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}