Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2018-01-01 to 1 month

How to escape special characters in PowerShell

Ways to escape special characters in PowerShell are different between its context, and so complecated... # Context Escaped char " ' \ ` `` 1 String with " " ✓ ✘ ✘ ✓ ✘ 2 String with " $ ✘ ✘ ✘ ✓ ✘ 3 String with " ' - - - - - 4 String wi…

キーノートとプレゼンと卒論発表の違い

卒論発表なのにAppleのキーノートみたいになっているケース、この辺を取り違えているのかなぁ、という印象。 キーノート プレゼン 論文(卒論とか)発表 聞く人は話の内容に興味があるの? 興味があるから聞きに来てる 商品やサービスがよく分からないから話…

Cupheadの元ネタ、あまり触れられていなさそうなところ

Super AttacksのGiant Ghost これは妖怪道中記のご先祖様じゃないのかなぁ…… Wally Warbles (Phase 1) グラディウスII (VULCAN VENTURE)のステージ1ボス(フェニックス)っぽい。「ドンキーコング リターンズ」が元ネタじゃないの、とも言われてるみたいだけ…

Invoke-RestMethod to GitLab API causes mojibake

Context In PowerShell, You can call REST API with Invoke-RestMethod like: Invoke-RestMethod -Headers $headers -Method Get -Timeout 10 -Uri "https://api.github.com/users/octocat/orgs" Problem The result of Invoke-RestMethod causes mojibake …