è¥ãä¸ä»£ãä¸å¿ã«äººæ°ã®ãã£ãã¯ããã¯ï¼Tik Tokï¼ã«ã¤ãã¦ãããã«æ½ãã§ããå±éºæ§ã¨ããã®å±éºæ§ã«é©åã«å¯¾å¦ããæ¹æ³ã解説ãã¾ãã
èªåãæ°ã«ãªã£ã¦ããã主ã«æè¿ã®ããã°ã©ãã³ã°è¨èªã§ãã³ããã¼ã¯ããã£ã¦ã¿ã¾ãããæ¹æ³ã¯ã42çªãã®ãã£ããããæ°åã®å¤ãè¨ç®ããæéã測ãã ãã§ãããã£ããããã§å種è¨èªããã³ããã¼ã¯ - satosystemsã®æ¥è¨ ãåèã«ããã¦ããã ãã¾ããã 注æ çè ã¯Pythonããããã使ã£ããã¨ãªãç´ äººã§ã è¨èªç´¹ä» 測å®ããè¨èªã¯ã以ä¸ã®11種é¡ã§ãã C Dart Go JavaScript Julia Lua Nim Python Ruby Rust Vim Script é¸æåºæºã¯ã ã¡ã¸ã£ã¼ã£ã½ã èªåãç¥ã£ã¦ãã èªåãæ°ã«ãªã£ã ç°å¢æ§ç¯ã楽ã ã£ãï¼or ãã§ã«æ§ç¯æ¸ã¿ã ã£ãï¼ æããªã ãªã©ã§ããæ°åã¨æéã§é¸ã³ã¾ããã 測å®æ¡ä»¶ ä¸è¨ã®è¨èªã§ãã£ããããæ°åã®42çªç®ã®æ°ãæ±ããæéã測ãã¾ããã42çªç®ãªã®ã¯ãªãã¨ãªãå ¨é¨ã®è¨èªãã¾ã¨ãã«æ¸¬å®ã§ããç¯å²ã«åã¾ã£ãããã§
ç§ä¼ã®ã¿ã¬ã¨ãªã£ãEmacsã®è¨å®ãgitã§ç®¡çãããªã©ãã¦, è¤æ°ã®ç°å¢ã§åãè¨å®ã使ãããã«ããã®ã¯ããªãä¸è¬çã«ãªã£ã¦ãã¾ãã. ãã , 使ã£ã¦ããéæ¨æºããã±ã¼ã¸ãå«ãã¦ãã¡ãã¨ç®¡çãããã¨æãã¨ãã£ãã大å¤ã§ã. ã¨ãã«, 以ä¸ã®ãããªç¹ã¯ãã²ã¨ãå®ç¾ãããã¨ããã§ãã, (ããã¾ã§ã¯)ãªããªãé£ããé¨åãããã¾ãã. 使ã£ã¦ããããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«ãèªååããã ãããããªé å¸å (GitHub, Emacs Wiki, å人Webãµã¤ã, etc.)ããã¤ã³ã¹ãã¼ã«ããã ãã¡ãã¨åããã¨ãããã£ã¦ããããã±ã¼ã¸ãã¼ã¸ã§ã³ã«åºå®ããã æ°ããããã±ã¼ã¸ãç°¡åã«è©¦ããã ããã±ã¼ã¸ã¨è¨å®ã®å¯¾å¿ãããããããããã ãã®ç®çã®ããã«, æè¿ã¯Caskã使ãã®ãæµè¡ã£ã¦ããããã§ãã, ä¸ã«æãããã¤ã³ãããã¹ã¦è§£æ±ºãã¦ããããã§ã¯ããã¾ãã. çè ã®ã¾ããã§ã, Caskã使ã£
Railsã§ã¦ã¼ã¶ã®ãã©ãã¼ããããã¯ããã¥ã¼ãããããã¯è¨äºã¸ã®ãããæ©è½ãªã©ãç°¡åã«å®è£ ã§ããacts_in_relationã¨ããGemãå ¬éãã¾ããã ã¤ã³ã¹ãã¼ã«æ¹æ³ Gemfileã«ä»¥ä¸ãæ¸ãã¦bundleããã ãã§ä½¿ãã¾ãã gem 'acts_in_relation' 使ãæ¹ acts_in_relationã¯ã(1)Userã¨Userã¨ãã£ãåä¸ã¢ãã«ã¸ã®é¢ä¿ã(2)Userã¨Postã¨ãã£ãç°ãªãã¢ãã«éã®é¢ä¿ãã®2ã¤ã®å®è£ ããµãã¼ããã¦ãã¾ãã ããã§ã¯ããããã«ã¤ãã¦èª¬æãã¾ãã (1) ã¦ã¼ã¶ã¸ã®ãã©ãã¼æ©è½ã®å®è£ ãã¨ãã°ã¦ã¼ã¶å士ã«ãã©ãã¼æ©è½ãå®è£ ããã¨ãã¾ãã ã¾ããUserãFollowåã¢ãã«ãçæãã¾ãã $ rails g model User name:string $ rails g model Follow user_id:integer t
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}