Skip to content

Instantly share code, notes, and snippets.

@toomanybrians
toomanybrians / ai-second-brain-starter-prompt.md
Last active February 17, 2026 17:24
Starter prompt for your AI to interview you and set up an AI second brain / AI personal knowledge system

Build your own AI second brain starter prompt

A starter prompt you can drop into any AI platform to get going. From Brian Madden's Wharton Technology Conference 2026 talk, February 2026.

This was generated by my second brain by asking it to generate a starter prompt that others could use to build a similar system. I have no idea if it's any good. Fork / branch / modify / share / try it!

See my related Linkedin article which explains more about my experience using this, and the implications to knowledge work once everyone is working this way.


@pferreirafabricio
pferreirafabricio / png-to-base64.ps1
Last active July 14, 2024 03:41
🖼 Convert an image to a Base64 string with PowerShell
<#
OBS:
The AsByteStream parameter was introduced in Windows PowerShell 6.0
If your PowerShell version (run `(Get-Host).Version` to find out) is lower than 6 then use the version for Powershell 5.1:
#>
$pathToImage = "/home/user/development/image.png"
# For Powershell 5.1
[String]$base64 = [convert]::ToBase64String((Get-Content $pathToImage -Raw -Encoding Byte))
// vscode-keybindings for navigation with I/J/K/L and additional functionality with surrounding characters
// Place your key bindings in this file to overwrite the defaults
// ALT + I/J/K/L: up/left/down/right
// ALT + SHIFT + I/J/K/L: mark text up/left/down/right
// CTRL + J/L: send cursor to start/end of line
// CTRL + ALT + J/L: send cursor to start/end of word
// CTRL + ALT + U/O: send cursor to "wordPartLeft"/"wordPartRight"
// CTRL + ALT + SHIFT + U/O: mark from cursor to "wordPartLeft"/"wordPartRight"
// CTRL + ALT + Y: got to declaration