Skip to content

Instantly share code, notes, and snippets.

Okay Claude, let's initiate your deep dive into this codebase. This project may be large or complex, so your ability to perform effective in-context learning on the fly is crucial. Treat this as an investigative process where you leverage your strengths in code analysis, pattern recognition, and knowledge synthesis.

Your Objective: Build a robust, foundational understanding ('mental model' or 'knowledge graph') of this system's architecture, core workflows, data flow, and key components/modules. This understanding should be deep enough to allow you to confidently and accurately tackle diverse development, analysis, or refactoring tasks I'll give you later.

Your Strategy - The 'Explore, Synthesize, Verify' Loop:

  1. Explore (Breadth-First): Start by getting the lay of the land.
  • Examine the primary entry points (e.g., main functions, API definitions, main application/server scripts, UI bootstrap files).
@Geczy
Geczy / readme.md
Last active November 7, 2025 20:02
Migrate Coolify to a new server
@rameerez
rameerez / exit_the_cloud.md
Last active November 25, 2025 22:41
☁️ How I got off the cloud and migrated everything from AWS to a VPS in Hetzner

☁️ How I got off the cloud and migrated everything from AWS to a VPS in Hetzner

This is an opinionated handbook on how I migrated all my Rails apps off the cloud and into VPS.

This is how I manage real production loads for my Rails apps. It assumes:

  • Rails 7+
  • Ruby 3+
  • PostgreSQL
  • Ubuntu Server 24.04
  • Capistrano, Puma, Nginx
@jangroth
jangroth / dendron-to-obsidian.py
Created March 25, 2023 04:53
Converts dendron note structure to obsidian note structure
# converts dendron note structure to obsidian note structure
# - removes frontmatter
# - adds tags
# - converts internal links
# - ignores empty (frontmatter-only) notes
#
# use at your own risk
import glob
import re
SN32F268 ATmega32U4 WeAct Blackpill - STM32F411 WeAct STM32F405 RP2040 Proton C - STM32F303xC Nice Nano (nRF52840)
Speed 48MHz 16MHz ~96MHz ~168MHz 2@ 133MHz 72MHz 64MHz
Voltage 3.3V 5V 3.3V with 5V capable pins 3.3V with 5V capable pins 3.3v 3.3V with some 5V capable pins 3.3v
Flash size 32kB (~28kB usable) 32kB (28kB usable) 512kB 1MB off-chip flash, up to 16MB 256kB
@plembo
plembo / pandocdocx2md.md
Last active November 19, 2025 10:56
Convert docx to markdown with pandoc

Convert Word documents to markdown with pandoc

I use pandoc to convert masses of Word documents to markdown. Still working on a generic script, but for now here's the "gist" of what I type into the terminal:

$ myfilename="example"
$ pandoc \
-t markdown_strict \
--extract-media='./attachments/$myfilename' \
$myfilename.docx \
@hasssan
hasssan / jiraToDendronTaskPage.js
Last active March 10, 2025 08:45 — forked from idelem/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) or Tasks - Usual for posting links to resources in README.md files
javascript: (function () {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData('Text', text);
} else if (document.queryCommandSupported && document.queryCommandSupported('copy')) {
var textarea = document.createElement('textarea');
textarea.textContent = text;
textarea.style.position = 'fixed';
/* Prevent scrolling to bottom of page in MS Edge.*/
@wlib
wlib / LICENSE
Last active April 30, 2024 17:07
Run a shell script with bash, line-by-line, prompted on each command. Useful for running unknown scripts or debugging. Not a secure substitute for understanding a script beforehand.
MIT License
Copyright (c) 2021 Daniel Ethridge
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@idelem
idelem / titleUrlMarkdownClip.js
Last active November 1, 2025 23:45 — forked from bradleybossard/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;