Skip to content

Instantly share code, notes, and snippets.

# brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# nodejs
brew install node
# bower
npm install -g bower
# python 3
brew install python3
@sureshdsk
sureshdsk / pg_lo_example.sql
Last active November 2, 2021 15:23
pg_lo_example.sql
# https://www.postgresql.org/docs/14/lo-funcs.html
INSERT INTO image (name, raster)
VALUES ('rich_python', lo_import('/Users/dsk/Downloads/rich_python.png'));
SELECT lo_export(image.raster, '/Users/dsk/Downloads/lo_export/rich_python1.png') FROM image
WHERE name = 'rich_python';
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en-US,en;q=0.9,en-IN;q=0.8,en-GB;q=0.7",
"cache-control": "max-age=0",
"priority": "u=0, i",
"sec-ch-ua": '"Microsoft Edge";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": '"Windows"',
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
@sureshdsk
sureshdsk / hacktoberfest.md
Created October 10, 2025 04:40
hacktoberfest instructions
@sureshdsk
sureshdsk / claude.md
Created October 28, 2025 16:24
Run Claudecode with Anthropic API Key

Add/edit ~/.claude/settings.json to add "apiKeyHelper":

~/.claude/settings.json

{

"apiKeyHelper": "~/.claude/anthropic_key.sh"

}