2022-01-01ãã1å¹´éã®è¨äºä¸è¦§
Goã®IP Routing Tableã®å®è£ ã«ã¤ãã¦èª¿ã¹ã¦ã¿ãã¨ãããã ãããOSã®Routing Tableãæä½ããç³»ã®ã©ã¤ãã©ãªããããã *1ãããã§ã¯ãªãã¦ã¼ã¶ã¼å´ã³ã¼ãã§Routing Tableç¸å½ã®å®è£ ã»å¦çããããæã«ä½¿ããããªã©ã¤ãã©ãªãããã¨è¦å½ãããªãã£ãã®ã§ããâ¦
ä¾ãã°ä»¥ä¸ã®ãããªGoã®ã³ã¼ããæ¸ãã package main import "C" import ( "fmt" ) //export DoSomething func DoSomething(cstr *C.char) { fmt.Printf("Go: %s\n", C.GoString(cstr)) } func main() { } go build -buildmode c-shared -o libdosomething.sâ¦
TypeScriptã®ãªãã¸ã§ã¯ããAmazon DynamoDB Attributes (æ£ç¢ºã«ã¯ aws-sdk-js-v3 ããµãã¼ããã Record<string, AttributeValue>) ã«èªåå¤æããTypeScript Transformer Pluginã§ããts-dynamodb-attributes-transformerããªãªã¼ã¹ãã¾ãããnpmããããå©ç¨ããã ãã¾ããããã¯T</string,>â¦
TL;DR docker compose up --abort-on-container-exit[追è¨]docker compose run ã ã¨redis serviceãstopããªããããã¡çãªè©±ï¼â r7kamura (@r7kamura) 2022å¹´9æ19æ¥ docker compose run --rm ${service_name} ã§è¯ãã£ã...... [追è¨ããã¾ã§] ä¾ãã°ãªãâ¦
dependabotã ã¨ãrenovateã ã¨ãã使ã£ã¦ã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³ã¢ããã®pull requestãèªåçã«éã£ã¦ããããã¨ãããããªæ©æ§ãå©ç¨ããã¦ããæ¹ãå¤ãã¨æãã¾ãã 常ã«ãããã®pull requestã«ç®ãå ããã¦ããã¦å¸¸ã«åãè¾¼ã¿ç¶ããã¨ããã®ãçæ³çãªå½¢â¦
TL;DR zig ccã使ãã¨è²ã ã¨ç°¡åãç¹ã«static linkãããå ´åã¯ãããã«ãã楽ãªã®ã§ã使ããå ´åã¯ä½¿ãã¨è¯ãããã§ãã zig ccèªä½ãgccãclangã®drop-in replacementãç®çã¨ãã¦åºæ¥ãCã³ã³ãã¤ã©ãªã®ã§å¤ãã®å ´åã¯ãã®ã¾ã¾ãã³ã¨ä¹ãæ¿ããã§ãããã§â¦
Linux Desktopä¸ã§terminalã使ã£ã¦ããæã«OSã®ã¯ãªãããã¼ãã¨tmuxã®ã³ãããããã¡ãç´çµããããã¨ãã話ã§ãã ã¤ã¾ã Prefix + [ çã§tmuxä¸ã§ç¯å²é¸æãã¦Enterãå©ããæã«ãã®å 容ãOSã®ã¯ãªãããã¼ãã«æ ¼ç´ãããPrefix + ]ã§ãã¼ã¹ãããæã¯OSâ¦
S3ã«ãã¹ãããã¦ããprivateãªMaven Repositoryã¨ãããã®ãããããããMaven (pom.xml) ããåç §ããå¿ è¦ããã£ãã®ã§ã®æ¹æ³ã«ã¤ãã¦ã®ã¡ã¢ãGradleã¨ãsbtã¨ãããã¯å²ã¨ä½¿ã£ããã¨ã¯ãã£ãã®ã ããã©ãMavenããã¯ç¡ãã£ãã®ã§â¦â¦ <project> ... <repositories> <repository> <id>your-repositor</id></repository></repositories></project>â¦
ãªãã¨ãªãZigã触ã£ã¦ããã®ã§ããããããã·ããæ¼ç®ãç¬ç¹ã®æåã§é¢ç½ãã£ãã§ãã const n: u8 = 0b00000001; const shifted: u8 = n << 1; std.debug.print("{b}\n", .{shifted}); // => 0b00000010 ããã¯ç´æçãªã³ã¼ãã§ããããn ã1ãã¤ãå·¦ã«ã·â¦
é人ãæããWebããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã° ãISUCONããå¦ã¶é«éåã®å®è·µä½è :è¤å ä¿ä¸é,é¦¬å ´ ä¿å½°,ä¸è¥¿ 建ç»,é·é é åº,éå éå,èé ç¿æè¡è©è«ç¤¾Amazonèè ã®id:catatsuyãããããæµæããã ãã¾ããããããã¨ããããã¾ããå®ã¯èè ã®æ¹ããæ¬ãâ¦
protobufã§ã¹ãã¼ããæ¸ã㦠protoc-gen-java-dynamodb ã«é£ãããã¨ããã®ã¹ãã¼ãã®Javaã®çæã³ã¼ãã«ãçæãããDynamoDBã®ã¨ã³ãã£ãã£ã¯ã©ã¹ã®ã³ã¼ãããè¯ãæãã«ããè¾¼ãã§ãããã¨ããprotocãã©ã°ã¤ã³ãæ¸ãã¾ããã syntax = "proto3"; packageâ¦
github.comããå»å¹´æ¸ãããã¼ã«ãªã®ã§ãã¤ã®è©±ããã¦ããã®ãã¨ããæãã§ãããã©ããä¸å®ã®ã¤ã³ã¿ã¼ãã«ã®éã« stdin çµç±ã§ä½ããã¼ã¿ãæ¥ãæãããã¯æ¥ãªãã£ãæã«ä»»æã®ã³ãã³ããå®è¡ãããã¼ã«ãæ¸ãã¦ãã¾ããã使ãæ¹ã®ä¾ã¨ãã¦ã¯ $ ./do_somethâ¦
openapi-generator ã使ã£ã¦ go ã®ã³ã¼ãçæãããã¨ã // Linger please var ( _ context.Context ) ã¨ããä¸è¦ä¸è¦ãããªå¤æ°å®£è¨ãã³ã¼ãä¸ã«åºã¦ãã¾ããããã¯ãªããªã®ã§ããããï¼ ãæ®ãã¦ããã¦ããã¨ã¯æ¸ãã¦ããã¾ããâ¦â¦ TL;DR ãã¶ãããéå»ã®â¦
APIã®ãªã¯ã¨ã¹ãã«ããã¬ã¹ãã³ã¹ã«ãããã¿ã¤ã ã¹ã¿ã³ããå©ç¨ããã¨ããã®ã¯ãããã話ã§ãã ãã®æããã®ã¿ã¤ã ã¹ã¿ã³ãã®ãã©ã¼ããããã©ãããã®ãè¯ãã®ãã¨ãã話é¡ã§ããIDLã使ã£ã¦ç¸ãã¨ããã¨ããã®ã¯è¯ãèãã ã¨æãã¾ãããIDLã使ãã«ããâ¦
[追è¨] å®è¡ä¸ã®ã·ã§ã«ã¹ã¯ãªãããchattr(1)ã使ã£ã¦immutableã«ããã¨ããã®ã¯ã©ãã - ãã®æã®å¹³ã¯å°»ãã¤ãããã調ã¹ã¦ã¿ããã©ãããè¯ããã <a href="https://stackoverflow.com/a/3399850/1921216" target="_blank" rel="noopener nofollow">https://stackoverflow.com/a/3399850/1921216</a>2022/01/02 17:02b.hatena.ne.jp ãã®ããã¯ãã¼ã¯ã³ã¡ã³ãã§â¦