åé¡ ç¾å¨éçºãã¦ããChromeæ¡å¼µã«ããã¦ãFont Awesome ã®ã¢ã¤ã³ã³ã®ããã®ãã©ã³ããã¡ã¤ã«ãå ããå²åã大ãããã¨ãããã£ãã % ls -l dist/assets | awk '{print $5"\t"$9}' | sort -n 15463 Mado-c38406e7.js 77160 fontawesome-webfont.woff2 9802â¦
èæ¯ è»¢è·ããã®ã§ãå人ã®ãã½ã³ã³ãæ°èª¿ãã¾ãããMacBook Air M3 ã§ã å½æ¹ãGoã«ç¸ãããã®ã§ãGoã®ç°å¢æ´ãããã§ã Goã®ãã¼ã¸ã§ã³ããã¼ã¸ã£ Goã¯ããã±ã¼ã¸ããã¼ã¸ã£ã¯å ¬å¼ã® go mod ãé§ä½¿ããããããã ã¨æããã§ãããGoèªä½ã®ãã¼ã¸ã§ã³ããã¼â¦
åé¡ Docker Desktop ï¼GUIã¢ããªï¼ãèµ·åä¸ã«ã¯ã©ãã·ã¥ãã¦è½ã¡ã å½ç¶ããã®ç¶æ ã§cli㧠docker ps ã¨ããã¦ãããEngine not startedãã¿ãããªã¨ã©ã¼ãå¾ã Docker Desktop ãç«ã¡ä¸ãã£ãã¨ã¦ãDocker Engine ã®Startãä¸ççµãããªã tl;dr ä¸è¨ã®forâ¦
èæ¯ ãããããã10å¹´*1éçºãç¶ãã¦ããChromeæ¡å¼µ*2ãããããã®CI/CDã®çµæå ±åã«Twitterã®APIãç¨ãã¦ãããã¾ããã¦ã¼ã¶ã«ã¨ã£ã¦ããChromeæ¡å¼µä¸ã§Twitterèªè¨¼ãè¡ãç»åä»ããã¤ã¼ããè¡ããæ©è½ãæä¾ãã¦ããã ä»åããã®æ©è½ã以ä¸ã®ã¨ã©ã¼ãåâ¦
tl;dr support.google.com å¦ã³ ãã¡ã¤ã³ç§»ç®¡ã¯ããã¡ã¤ã³ç®¡çäºæ¥è å士ã®ããã¨ãã§å®çµãã ãã¡ã¤ã³ç§»ç®¡ã¯ã移管å äºæ¥è ãã移管å äºæ¥è ã¸è¦è«ãéããã¨ã§ããªã¬ã¼ããã ãã®éã«å¿ è¦ãªãã®ã¯ã移管å äºæ¥è ãçºè¡ãããèªè¨¼ã³ã¼ãããªãããAuthã³â¦
åé¡ è¶£å³ã¨ãã¦ãæå±ãã¦ãã社ä¼äººã¢ã¡ããé¨ã®åºæ¬ 確èªã»åå管çã¢ããªãã¹ã¯ã©ããã§æ¸ãã¦ããã®ã ããã©ãããã¨ãGitHub Actionsã§åãã¦ããèªååãããã¤ãã以ä¸ã®ã¨ã©ã¼ãåºãã¦å¤±æãã¦ããã # åç¥ Beginning deployment of service [dev].â¦
ãã®ã¨ã³ããªã¯Goã®ã«ã¬ã³ãã¼ | Advent Calendar 2022 - Qiitaã®13æ¥ç®ã§ããå¤ç¨®å¤æ§ãªGoã«é¢ããè¨äºãè¦ããã¨ãã§ãã¦ãã¨ã¦ãåºæ¿ã«ãªã£ã¦ã¾ãããããã¨ããã¯ãªã¹ãã¹ããããã¨ããã¢ããã³ãã«ã¬ã³ãã¼ãå½æ¹ã¯ã¨ããã¨ãæè¿ãµã¤ãã«ããã£ãåé¡â¦
åé¡ ã¯ã©ã¤ã¢ã³ãï¼HTMLï¼å´ <form method="GET" action="/form/submit?nickname=otiai10"> <input type="submit" value="éä¿¡" /> </form> ãµã¼ãï¼Goï¼å´ func HandleFormSubmit(w http.ResponseWriter, req *http.Request) { fmt.Fprintf("nickname: %s", req.URL.Query().Get("nickname")) } ãã©ã¦ã¶ã§è¦ããåºå nickname: ã¤ã¾ãæ¥ã¦ãªãã æ¤è¨¼æ¹æ³ ãã©ã¦â¦
åé¡ ä»¥ä¸ã®ããã«ãããã¤ã®GitHub Actionsãè¨å®ããããæ²é¡ã®ã¨ã©ã¼ãå¾ãã steps: - name: Clone repository uses: actions/checkout@v2 - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: project: "fresh-youtube" entrypoint: "./mâ¦
åé¡ cloud.google.com/go/datastore datastore package - cloud.google.com/go/datastore - pkg.go.dev ã使ã£ã¦Datastore | Google Cloudã«ãã¼ã¿ãPutãã¦ãã¦ãæ²é¡ã®ã¨ã©ã¼ãå¾ãã ev := models.Event{/* ãªãããã®å¤ */} if _, err := tx.Put(key, eâ¦
developer.mozilla.org const é¢æ°ãåããé¢æ° = (func) => { console.log(func, func.length); }; é¢æ°ãåããé¢æ°((x, y, z) => { console.log(x,y,z) }); // [Function] 3 DRYãªåå¿é²ã¨ãã¦
ãã®ã¨ã³ããªã¯ Go 2 Advent Calendar 2020 - Qiita ã®8æ¥ç®ã§ãã èæ¯ ãã2å¹´åã«ãªãã¾ãããã½ããã¦ã§ã¢ã主æ¥ã¨ããªãæ¥çã«è»¢è·ãã¾ãã æè¿ã¯ã¹ãã¬ã¹è§£æ¶ã«ã³ã¼ããæ¸ãã¦ãã¾ããä»äºã§ã¯ãã£ããã³ã¼ãæ¸ããªã ameshã³ãã³ããamesh-botã¯ä¾¿å©â¦
åå ã©ã¤ãã©ãªè¦ã¤ãããªãã£ã¦ 解決 export LIBRARY_PATH=/usr/local/Cellar/[email protected]/1.1.1h/lib éæ ã¤ããã
èæ¯ ä¸å¿Goããã£ã¦ããWebã®ããã³ãã¨ã³ããããç¨åº¦ãã£ã¦ããã®ã«ãWASMãªã«ã触ã£ããã¨ç¡ãã®ã¯ãããªãã®ã§è§¦ããã WASMã¨ãããã®ãä¸ä½ä½ãªã®ããä½ãã§ããããç¥ããªã tl;dr Goã§æ¸ããã³ã¼ããwasmã«ãããã©ã°ãã¤ãã¦ãã«ãããã¨.wasmãæâ¦
ãã ã®åå¿é²ã¨ã㦠ls -la /usr/local/bin | grep python mkdir ~/proj/python/my_project cd ~/proj/python/my_proj python3.8 -m venv .venv source ./.venv/bin/activate # .venvã®ä¸ã«ã³ã³ããã¹ãã移åãã¦ãã which python python -V which pip pipâ¦
åé¡ ãããããªã¹ãããã£ã¦ãããããã©ã³ãã ã«å¤ãæ½åºãããã 解決 = INDEX(A:A, RANDBETWEEN(1, COUNTA(A:A)), 1) ããã¾ã 解説 INDEX: å¤ãåç §ãè¡ãåãæå®ãã¦åå¾ãã RANDBETWEEN: ï¼ã¤ã®æ´æ°ã®éã®æ°ãã©ã³ãã ã«è¿ã COUNTA: åç §ã«ãããâ¦
èæ¯ Xcodeã®ããã¸ã§ã¯ãããã£ã¦ãã¦ãCI/CDãªã©ãæ´ãã¦ããã¨ãiOSããã¸ã§ã¯ãã®ãã«ããã¼ã¸ã§ã³ï¼ 1.0 (N) ã®Nã®é¨åï¼ãèªåã§ã¤ã³ã¯ãªã¡ã³ãã¨ãããããªããã¨ãããã PlistBuddyã使ã macOSã ã¨PlistBuddyã¨ããã³ãã³ãã/usr/libexec/PlistBuâ¦
åé¡ UITestå®è¡æã«ã以ä¸ã®ã¨ã©ã¼ãåºã¦ãã¹ããã³ã±ãã 2020-02-26 15:34:47.656498+0200 ExampleUITests-Runner[2134:4937234] +[CATransaction synchronize] called within transaction 2020-02-26 15:34:47.665527+0200 ExampleUITests-Runner[2134:4â¦
åé¡ pod installã§RxSwiftãã¤ã³ãã¼ãããã¤ããã ããViewControllerã§import RxSwiftã¨ããã¨ã No such module 'RxSwift' ã¨ãªãããã¡ãããã«ããRunãã§ããªãã 解決 .xcodeprojã§ã¯ãªãã.xcworkspaceããéãã No such module 'RestKit' with coâ¦
åé¡ iPhoneã®Safariã«ããã¦ã navigator.mediaDevices.getUserMediaã«ãã£ã¦ã videoãå«ãMediaStreamãåå¾ãã HTMLã®videoã¿ã°ã«åç»ãæç»ãããã¨ããã¨ã æåã®ãã¬ã¼ã ã ãæç»ãããã®ã¡ãããªã¼ãºãã¦ãã¾ãã 解決 getUserMediaãå¼ã¶åã«ãviâ¦
â» Xcodeã¯å¤åãæ©ãã®ã§æ¥ä»ã«æ³¨æãã¦ãã ãã ã´ã¼ã« Xcodeã®iOSããã¸ã§ã¯ãã§FontAwesomeã使ãã åè TTFã®è¿½å : Adding a Custom Font to Your App | Apple Developer Documentation iOS : How to use FontAwesome in Xcode project. - Umair Hassanâ¦
â» Xcodeã¯å¤åãæ©ãã®ã§è¨äºã®æ¥ä»ã«æ³¨æãã¦ãã ãã ã´ã¼ã« é·æ¼ããã¦ã¢ã©ã¼ãã¨ãåºããã¿ã³ãè¨ç½®ãã tl;dr override func viewDidLoad() { super.viewDidLoad() let recognizer = UILongPressGestureRecognizer(target: self, action: #selector(onLâ¦
ã¨ããæè¨ã§ã°ã°ãã°ãããã§ãåºã¦ãã¾ããã©ã tl;dr % pip install segno % segno "https://before11.hatenablog.com/" --output myblog.png --scale 8 ããããããããç»åã myblog.png ã¨ãã¦å¾ããã ããã¾ã ãã° % pip install segno DEPRECATIOâ¦
ãããããããâ cat ./testdata.txt | grep otiai JavaScriptã§ã const cat = spawn('cat', ['./testdata.txt']); const grep = spawn('grep', ['otiai']); cat.stdout.pipe(grep.stdin); grep.stdout.on('data', (chunk) => { console.log('[grep]'); conâ¦
ç®ç åããElectronãã¹ã¯ãããã¢ããªã«ããOAuthããã»ã¹ãç¥ã ããããåãããè¦ãã ã¯ãã github.com ã´ã¼ã« æå ã®Electronã¢ããªã§ããã°ã¤ã³ã¦ã¼ã¶ï¼ãã®å ´åãåèªèº«ï¼ã®APIãã¼ã¯ã³ã§ãGoogleã®ãªãããã®APIãå©ãã â ç»é²ããã¢ããªä¸ã§ãâ¦
tl;dr Elasticsearchãåãã³ã³ããã®ä¸ã«ä»¥ä¸ã®ç°å¢å¤æ°ãããããã°ããã åè: Running Elasticsearch 5 - Build Environment - CircleCI Discuss # ãã # transport.host=localhost # # ã¨ããã # bootstrap.system_call_filter=false # # docker runâ¦
TL;DR >>> { k:list(map(lambda s: int(s)**2, v.split('-'))) for (k,v) in src.items()} {'foo': [1, 4, 9], 'bar': [16, 25, 36]} ãããããã¨ å ¥å { 'foo': '1-2-3', 'bar': '4-5-6', } åºå { 'foo': [1, 4, 9], 'bar': [16, 25, 36], } ã¿ãããªãã¨â¦
tl;dr ããã®éãã§ã Quickstart for Go 1.11 in the App Engine Standard Environment | App Engine standard environment for Go 1.11 docs | Google Cloud ããããã¤ã§ã GitHub - otiai10/gae-go-sandbox ä½æ¥ç°å¢ % gcloud -v Google Cloud SDK 235.0â¦
èæ¯ tig好ããªãã§ãããã ãã©brewããå ¥ãããã¨ããã以ä¸ã®çç¶ã«ãªããã§ãæå ã§ã³ã³ãã¤ã«ãããããããã¨ãªãã¾ããã qiita.com tigã¨ã¯ ãã github.com tigã®è¯ãã«ã¤ãã¦éå»ã«åå¿é²æ¸ãã¦ããã¨æã£ããæ¸ãã¦ãªãã£ãã®ã§ãèªå使ãã®ä¾ã§â¦
èæ¯ èªåãé¢ãã£ã¦ããã¤ãã³ãã®ãã¼ã ãã¼ã¸ãGitHubã§ç®¡çãGitHub Pagesã§ãã¹ããã¦ãããã§ããã masterãã©ã³ããæ´æ°ããããèªåã§ãããã¤ããã ãã¼ã ãã¼ã¸ã®æ´æ°å 容ã£ã¦ã»ã¨ãã©ãã¤ãã³ãã«é¢ããæ°ããæ å ±ãã«ä»ãªããªãã®ã§ããããèªâ¦