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
bash ã®ã·ã§ã«ã¹ã¯ãªãããæ¸ãã¨ãã«ããã¤ãè³æ»ã§ä»¥ä¸ããã£ã¦ããã(ååãæ´åãã¦ããããã®ãã³ãããã¦ãã) ã¨ãã£ã¿ãªã CI 㧠shellcheck ãã¾ãã set -euxo pipefail ã¨åé ã«æ¸ã ãããªæã #!/bin/bash set -euxo pipefail ãã¤ã¾ã§ãã³ããã§ã¯ãããã«ã¢ã¬ãªã®ã§ãæå³ã調ã¹ãã¡ã¢ã shellcheck koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts ã¤ã±ã¦ãªãæ¸ãæ¹ã«è¦åãåºãã¦ããã ããããã®è¦åã«ã¯ã¨ã©ã¼ã³ã¼ãå²ãæ¯ããã¦ãã¦ã¨ã¦ãä¾¿å© ã¨ã©ã¼ã³ã¼ããã¨ã«æ£èª¤ä¾ã解説ãæ¸ããã¦ããã®ã§ãããããã SC1000 ã®ä¾ CI ãããã ããã¨ãã£ã¿ã®ãã©ã°ã¤ã³ãå å® ãã¦ããã®ã§ã¨ããããå ¥ãã¦ããã¨è¯ã set
ã·ã§ã«ã¹ã¯ãªããã®ä¸ãããå®è¡ããã¹ã¯ãªããã®ãããã£ã¬ã¯ããªãå¿ è¦ã¨ããå ´é¢ã¯ã¡ããã¡ããããã ãã¨ãã°ãã¹ã¯ãªããã®ä¸ã§ç¸å¯¾ãã¹ã使ã£ã¦å¥ã®ãã¡ã¤ã«ãèªã¿è¾¼ããããªå¦çãå ¸åçã ã¨æãã ãã®å ´åãã¹ã¯ãªãããå®è¡ããã¨ãã®ã«ã¬ã³ããã£ã¬ã¯ããªãèµ·ç¹ã¨ãã¦ç¸å¯¾ãã¹ãå¦çãã¦ãã¾ãã¨ä¸æããããªãã 代ããã«ãã¹ã¯ãªããã®ãããã£ã¬ã¯ããªãææ¡ããä¸ã§ããããèµ·ç¹ã«ç¸å¯¾ãã¹ãå¦çããå¿ è¦ãããã ä»åã¯ããããå®ç¾ããæ¹æ³ã«ã¤ãã¦ã¡ã¢ãã¦ããã 使ã£ãç°å¢ã¯æ¬¡ã®ã¨ããã $ sw_vers ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H15 $ bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19) Copyrig
å é±ãé²æãã£ã³ãã¨ããç¥ãåãã§éã¾ã£ã¦é²æãåºãä¼ã«è¡ã£ã¦ãã¦ããã㧠@haya14busa ããã¨è¡¨é¡ã®ä»¶ã«ã¤ãã¦è²ã 話ããã ãã®å¾å人çã«ææ³ãã«ã¤ã¼ã³ãããããã®ã§ãçµæãã¾ã¨ãã¦ããã AtCoder ã¨ã¯ http://atcoder.jp/ ç§èªèº«ããã¨ã¯ãã¨è¨ã£ã¦èªããã»ã©è©³ããã¯ãªãã®ã§ç°¡åã«èª¬æããã¨ã主ã«æ¥æ¬äººåãã®ç«¶æããã°ã©ãã³ã°ãµã¤ãã åé¡ã¯å ¨ã¦æ¥æ¬èªã§ãå®æçã«æ§ã ãªã³ã³ãã¹ããéå¬ããã¦ãããåé¡ã®é£æ度ãä½ãåå¿è åãã®ã³ã³ãã¹ã(AtCoder Beginner Contest é称 ABC)ãªãããããã®ã§ã競æããã°ã©ãã³ã°ã®å ¥å£ã¨ãã¦ã¯æé©ã ã AtCoder ã®å¯¾å¿è¨èª 競æããã°ã©ãã³ã°ã§ã¯ãã½ã¼ã¹ã³ã¼ããæåºããæåºãããã³ã¼ããæ£ããåããã©ãããµã¼ãå´ã§å®éã«åããã¦æ¤è¨¼ãè¡ããã¤ã¾ãããµã¼ãå´ã«åè¨èªã®å¦çç³»ãå¿ è¦ã§ããã競æã
ç®æ¬¡ æ¯è¼ããå¦çå 容Rubyã®å ´å ç´åãã¦ã³ãã¼ãThreadã§ä¸¦è¡ãã¦ã³ãã¼ãGoã®å ´å Go runã§å®è¡buildæ¸ã¿ãã¤ããªã§å®è¡Bashã®å ´åã¾ã¨ãRubyã§æ¸ããã³ã¼ããGoã§æ¸ãç´ãããã©ããããæ©ããªãããæ¤è¨¼ãããã¦ãã£ã¦ã¿ããã¤ãã§ã«Bashã§ãã©ããªãããæ¯è¼ããã ç»åãã¡ã¤ã«ããã¦ã³ãã¼ãããã ãã®åç´ãªå¦çã§ã®æ¯è¼ãè¤éãªå¦çã«ãªãã¨ã¾ãçµæã¯å ¨ç¶éã£ã¦ããã¨æãã¾ãããããããã æ¯è¼ããå¦çå 容100åã®ç»åããã¦ã³ãã¼ãããã³ã¼ãããµã³ãã«ã«ãã£ã¦ã¿ãã Rubyã®å ´åRuby 2.6 ã§æ¤è¨¼ã ç´åãã¦ã³ãã¼ãã¾ãã¯ä½ãèããé çªã«ï¼ã¤ï¼ã¤ãã¦ã³ãã¼ãããRubyã³ã¼ãã # no_thread.rb require 'open-uri' (1..100).each do |i| open("./images/#{i}.png", 'wb') do
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}