Skip to content

Instantly share code, notes, and snippets.

@sweetim
sweetim / AGENTS.md
Last active May 14, 2026 02:35
backend-AGENTS.md

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Before implementing:

  • important Present your plan to the user and wait for their approval before writing any code.
  • State your assumptions explicitly. If uncertain, ask.
  • If multiple interpretations exist, present them - don't pick silently.
  • If a simpler approach exists, say so. Push back when warranted.
@sweetim
sweetim / get_wifi_password.ps1
Created January 28, 2023 01:53
get known wifi password in windows 11
(netsh wlan show profiles) `
| Select-String "\:(.+)$" `
| %{$network=$_.Matches.Groups[1].Value.Trim(); $_} `
| %{(netsh wlan show profile name="$network" key=clear)} `
| Select-String "Key Content\W+\:(.+)$" `
| %{$password=$_.Matches.Groups[1].Value.Trim(); $_} `
| %{[PSCustomObject]@{ NETWORK_NAME=$network;PASSWORD=$password }} `
| Format-Table -AutoSize