2023-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ Linuxã§ã¯ãªãããã¼ããæä½ããã®ã«ãxclipã¨ããã³ãã³ããããã®ãç¥ãã¾ãã¦ã è¦ãã¦ããã¨ä¾¿å©ããããªã¨æã£ãã®ã§ãã¡ãã£ã¨ã¡ã¢ãã¦ãããã¨ã«ãã¾ããã xclipãxsel ã¯ãªãããã¼ãã«ãã¼ã¿ãã³ãã¼ããããâ¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ ãã¡ãã®ã¨ã³ããªã¼ã®é¢é£ã§ãããã¾ãã Quartzã®ã¯ã©ã¹ã¿ãªã³ã°ã¯ã大éã®å°ããªã¸ã§ããå®è¡ããå ´åã¯ã¹ã±ã¼ã«ããªãã¨ãã話 - CLOVER Quartzã¯ã¹ã¬ãããã¼ã«ãå é¨ã§ä¿æãã¦ãã¾ããã1度ã®èµ·åã§å¦ç対象ã¨ããâ¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ åã«ãQuartzã®ã¯ã©ã¹ã¿ãªã³ã°ã«ã¤ãã¦ã¨ã³ããªã¼ãæ¸ãã¾ããã Quartzã®ã¯ã©ã¹ã¿ãªã³ã°ã試ãã¦ã¿ã - CLOVER ãã®æã«ãè² è·åæ£çãªãã®ã«ã¤ãã¦ã¡ããã¨è¦ã¦ããªãã£ãã®ã¨ãããã¥ã¡ã³ãä¸ã®æ³¨æäºé ãè¦è½ã¨ãã¦â¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ Java VMã®ãã¼ããµã¤ãºãæå®ãããªãã·ã§ã³ã¨ããã°ã-Xmsï¼ä¸éå¤ï¼ã¨-Xmxï¼ä¸éå¤ï¼ã ã¨æãã¾ãã ãããã®ãªãã·ã§ã³ã¯ããã¼ããµã¤ãºãç´æ¥æå®ãããã®ã§ããããã¼ã»ã³ãã¼ã¸ã§ãæå®ã§ãã-XX:InitialRAMPercenâ¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ ãã¡ãã®ã¨ã³ããªã¼ã®ã¡ãã£ã¨ããåãåºãã§ãã LocalStackå ã®AWS Lambdaé¢æ°ãããLocalStackã§åä½ãã¦ããå¥ã®AWSãªã½ã¼ã¹ã«ã¢ã¯ã»ã¹ããã«ã¯LOCALSTACK_HOSTNAMEç°å¢å¤æ°ã使ã - CLOVER å 容çã«ã¯ç¬ç«ãã¦ããâ¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ AWS Lambdaé¢æ°ã試ãæã«LocalStackããã使ãã®ã§ãããLocalStackå ã§åä½ããAWS Lambdaé¢æ°å ãããåãLocalStackä¸ã® ãªã½ã¼ã¹ã«ã¢ã¯ã»ã¹ããéã®æ¹æ³ãããå¿ããã®ã§ã¡ã¢ãã¦ãããã¨ã«ãã¾ããã localhostã§â¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ LocalStackããã使ã£ã¦ããã®ã§ãããèµ·åæã«LocalStackä¸ã®ãªã½ã¼ã¹ãä½ãæ¹æ³ããªãã®ããªã¨æã£ã¦èª¿ã¹ã¦ã¿ã¾ããã åæåããã¯ï¼Initialization Hooksï¼ã¨ãããã®ã使ãã¨ãLocalStackã®ã©ã¤ããµã¤ã¯ã«ã«åããâ¦
ããã¯ããªã«ããããã¦æ¸ãããã®ï¼ Node.jsã§ç°å¢å¤æ°ããã¡ã¤ã«ããèªã¿è¾¼ããã¨ãã§ããdotenvã¨ãããã®ããããããã®ã§ã試ãã¦ã¿ããã¨ã«ãã¾ããã dotenv dotenvã®GitHubãªãã¸ããªã¼ã¯ããã¡ãã GitHub - joho/godotenv: A Go port of Ruby's doâ¦