Set CORS to Google Cloud Storage
Posted: December 06, 2022gsutil terraform
gsutil terraform
そういえばGoogle Workspaceに課金してたのでAWSをSSOログインしようと思い立ったメモです。 AWS IAM Identity Center(AWS SSO…
tl;dr 月1回 1時間くらい おじさんとお話しましょう https://forms.gle/Aw25psyqE4GqDdme8 背景 私も現職で色々な方から相談に乗っていただいたことがあります。 特にDB負荷がヤバすぎて日付超えないと帰れない時なんかは、当時L…
以前やろうと思ったら4000円くらいして意外と高かったので断念してたんですが、たまたまつけてたTVの有吉いいeeeeで「あ、目黒川だ。OGGI…
tl;dr ref: https://stackoverflow.com/questions/11087059/mysql-how-do-i-update-50-of-the-rows-randomly-selected https://stackoverflow.com…
tl;dr use command, if you can. https://www.gnu.org/software/bc/manual/html_mono/bc.html Motivation I’d like to calculate that how much size…
tl;dr Don’t use resources result value directly, but use variables. Example Problem Whenever I did or without any changes, some…
OS設定 一般 ダークモード サイドバーアイコンサイズ: Small スクロールバー表示: Always ブラウザ: Chrome Handoff設定: マシン次第 デスクトップ スクリーンセーバー: Flurry 開始時間: 5min…
(last updated on Jan 1st, 2022) Expected Employment Status Anything! Expected Working Place US Warmer areas are preferable… 🌞 Visa support…
tl;dr Before , I should do . Then all I have to do to fix stash confliction is, When I got CONFLICT error of git stashing… Imagine I got…
Use the right version https://github.com/flutter/flutter/issues/54538#issuecomment-616733091 Configure Auth setting Follow the instruction…
is a modular Slack RTM bot kit for Golang. To customize your bot, just add your own commands or written by other developers. Link: https…
You can have Google Home speak a text. Link: https://github.com/evalphobia/google-home-client-go Overview Google Home can play audio file…
You don’t have to type branch name when you push to origin like But just using is enough to push current branch, Every time I’ve typed the…
Setup Create secrets View secrets Use Credential on Cloud Run I prefer use a berglas-only bucket and add view/read permissions to custom SA…
and command memo; gcloud Accounts gsutil (for Cloud Storage) Firebase
When you develop with golang in a team, sometimes someone (it’s me!) forget to include , or forget to run . Then the diffs will be…
This article is a sequel article from Creating a static site: large size file uploader by Firebase Hosting and Storage | Part.1…
Background I need a file uploader for some people. I never met them and they also don’t know me. I just want to gather movie clips from them…
tl;dr use option. serverless-chrome(headless-chromium): v1.0.0-55 ChromeDriver: v2.42 Selenium for Python: v3.14.1 Error on AWS Lambda…
tl;dr use Errors of pip and upgrading Successed with and options So, my Dockerfile for serverless Python is below now
tl;dl Use custom docker image. Error on sls deploy When I used and through , I got error on (。ŏ﹏ŏ) Solution Use custom docker image.…
tl;dr Alias It’s useful to add it as alias command. Problems alpha channel(transparency) is not saved in the output png by So is used as a…
tl;dr Ref: GitHub: Permission denied before running with sudo #416
In my case, the underlying type is not . https://play.golang.org/p/cLSmvB4bZD2
Answer is from: stackoverfrow | How do I verify/check/test/validate my SSH password? has many feature…
DML Search: 検索 /_search 全indexを対象に検索 /,,
tl;dr use
copied from https://certsimple.com/blog/nginx-http2-load-balancing-config https://github.com/certsimple/nginx-http2-load-balancing-config
axis=0: 行を対象に処理を実行axis=1: 列を対象に処理を実行 level=[0,1,2]: や で使われるMultiIndexに対して、対象となるIndex(順番)の指定 df.stack // 列を行に旋回(ピボット)するdf.unstack…
tl;dr Install build tool and create symbolic link for locale. happy python life 🙂 error messages Before install g++, I got error below, And…
パラメトリック検定 データの分布に制限有り t検定(t.test) 分母が同じ場合にしか使えない 外れ値に弱い ノンパラメトリック検定 データの分布によらず使える仮説検定 カイ二乗検定(chisq.test) データが…
HTTPのレスポンス速度を計測するのに、普通にabとかgoのVegetaを使えばいいっちゃいいんですが、リアルタイムでソース修正して、手軽に改善結果が出たかどうかを見るのに、curl…
公式ドキュメントのこれだった。 Update By Query API なんだけどうまくいかず、結局はクエリと設定の両方の問題でした。 設定 探した限りでは実行時の設定API…
申し込み 以下のフォームから申し込みをします。https://docs.google.com/forms/d/1qfRFysCikpgCMGqgF3yXdUyQW4xAlLyjKuOoOEFN2Uw/viewform…
5月23日に全世界でやっていたらしい http://nodeschool.io/international-day/ 日本では東京と大阪の2都市だったのかな?CAの大きな会場に結構人が集まってた(101人くらいとか言っていた気がする) 同日に隣の部屋でCA Tech Kids…
ずっとやらずに放置してきたR言語だったけど、ようやく先週からcourseraのR Programmingという授業を始めてみた。 コースのWeek1のメモ。 Rの型 基本の型 ベクトル値(≒ 同型の配列): 実数(number) 末尾にLをつけると 整数(integer…
アグリゲーション・フレームワーク – Aggregation Framework 参考 Aggregation Introduction (MongoDB Manual) Aggregationとは Aggregationとは「集合」を意味する英単語です。MongoDB…
Background “Windows8 is very cheap!” and bought it. Buy VMWare Fusion and install it on Mac Mini. Install VMWare Fusion on MBA. ⇒ After…
When I upload image file on Mezzanine, I got error message like below Goddxxn! Install PIL The pill (*1) is expensive in Japan, but this PIL…
K社のアクセルメールのメールファイルを直接コンソールで読むときのコマンドメモ 今更ながらとらドラ!見終わった あみちゃんかわゆす