Skip to content

Instantly share code, notes, and snippets.

# I Built and Deployed a Viral Web App for $0/Month (And You Can Too)
### The Modern Indie Hacker Blueprint: Neon, Render, Vercel, Cloudflare, Resend, AdSense, and GEO
For the last twenty years, the internet has done everything possible to make links tiny. Bitly, TinyURL, and t.co turned the web into a sea of opaque 6-character strings that look like spam and tell you nothing about where you’re going.
So, naturally, I built the exact opposite: **[WhyShorten](https://whyshorten.com)** — a reverse URL shortener that takes a short link and expands it into an absurd, 750-character passage from *Frankenstein*, *Moby-Dick*, or Apollo 11 lunar flight transcripts.
```
Original: https://github.com/torvalds/linux
WhyShorten: https://whyshorten.com/l/it-was-on-a-dreary-night-of-november-that-i-beheld-the-accomplishment-of-my-toils-houston-tranquility-base-here-the-eagle-has-landed-6319e2
@muhadmr
muhadmr / gist:3fe1431076d9946f4183b82887763c9b
Last active July 8, 2026 01:53
A command file for use with AI coding harness, to automate creation of structured changelog entries.
---
description: Append release notes to RELEASE_NOTE.md from staged/unstaged changes
release-note is a custom Kilo CLI command that automates the creation of structured changelog entries.
It scans the working directory for staged and unstaged changes (git diff --name-only HEAD), presents a summary of modified files,
then interactively prompts for a version number, a descriptive heading, and one-line summaries for each change group.
It maps each change to the relevant files and appends the entry — version, heading, numbered descriptions,
and file paths — directly under the # CHANGELOG header in RELEASE_NOTE.md, with the newest entry always at the top.
This ensures every release is consistently documented without manual formatting.
@muhadmr
muhadmr / html2Wordopenxml
Last active January 27, 2025 08:50
using openxml to convert html to word - c#
// nuget
// Install-Package HtmlToOpenXml.dll -Version 2.1.0
// Install-Package DocumentFormat.OpenXml -Version 2.11.3
// using DocumentFormat.OpenXml.Packaging;
// using DocumentFormat.OpenXml.Wordprocessing;
// using HtmlToOpenXml;
public async Task TryConvert()
@muhadmr
muhadmr / connectToApacheDS.cs
Created October 9, 2023 03:51
Connect to ApacheDS using C# and Novell Directory Ldap library
// HOWTO
// 1. Bring up docker, get the image xaked/apacheds:latest
// 2. Make sure to expose the port, here i use 10389
// 3. Open Apache Directory Studio, try connect to the server. use username = uid=admin,ou=system, password = secret (from xaked/apacheds)
// 4. If can connect, create a few entries. see http://krams915.blogspot.com/2011/01/ldap-apache-directory-studio-basic.html as example
// 5. look at the code, below. look at documentation https://www.novell.com/documentation/developer/ldapcsharp/?page=/documentation/developer/ldapcsharp/cnet/data/front.html
using Novell.Directory.Ldap;
// show pdf in the editor
// pdf is uploaded using the video/media button
// then its tag is converted from video to pdf at beforeSetContent
tinymce.init({
selector: 'textarea#Description',
plugins: 'print preview fullpage paste importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help charmap quickbars emoticons ',
menubar: 'file edit view insert format tools table help',