Skip to content

Instantly share code, notes, and snippets.

View dsmith73's full-sized avatar
✔️
grind

Dan dsmith73

✔️
grind
View GitHub Profile
@dsmith73
dsmith73 / slack.md
Last active December 15, 2022 13:03
Things I learned while working with the Slack API

Slack API

I learned a few things while working with the Slack API

Slack oauth

No one seems to mention is, but when you want to auth with slack you need to pass

headers:
  Authorization: "Bearer <token>"

I know it's a standard, but it's not really mentioned anywhere...

@dsmith73
dsmith73 / wsl_error_1.md
Last active October 11, 2024 09:32
Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/E_ACCESSDENIED

After cumulative updates on my Windows 11 computer, I ran into this issue:
Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/E_ACCESSDENIED
and WSL exited with code -1

For reference, my WSL environment is
Ubuntu version: 22.04.3 LTS
Windows version: 10.0.26100.2152

I'm writing this here so that I don't need to search so dilligently again to find this information

Wiring GFCI plugs

Something that should be simple, and if I thought about it like a 3rd grader, I probably wouldn't have had any problems...

Recently, I was replacing a few old recepticals in my bathroom and I decided to install GFCI since they were within 3 feet of a water source.

Everything went exceedingly quick -

  • I identified the correct breaker and turned it off
  • I installed the GFCI plugs
  • I turned the breaker back on and tested the circuit