Skip to content

Instantly share code, notes, and snippets.

@TylerFisher
TylerFisher / hosting-on-github.md
Last active September 8, 2026 17:25
Basic steps for hosting on Github

Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on github.com.
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
@bavanws
bavanws / reducing-comment-verbosity-claude-code.md
Last active September 8, 2026 17:22
Reducing code-comment verbosity with Claude Code: pre-hoc (CLAUDE.md rules) + post-hoc (comment-cleanup skill)

Reducing Code-Comment Verbosity with Claude Code

Claude Code over-comments. It narrates loops, restates signatures, leaves change-log notes addressed to a PR reviewer who'll never see them, and points at spec sections that have already moved. Two layers fix it and compound: a pre-hoc layer in CLAUDE.md that steers the model as it writes, and a post-hoc cleanup skill that reclaims the residue — plus everything verbose you inherited from past work and other contributors. Use both; neither is sufficient alone.

The whole thing is one principle applied twice. Code shows how. A comment earns its place only by carrying why — a non-obvious constraint, a deliberate deviation, a gotcha, a workaround, the reason a tempting simpler version is wrong. Everything else is restatement, and restatement rots: it drifts out of sync, adds diff noise, and trains readers to skim past comments entirely.

Layer 1 — Prevent it (CLAUDE.md)

The block I use:

@HelderMagalhaes
HelderMagalhaes / Windows-IFEO-PerfOptions.md
Last active September 8, 2026 17:21
Windows - Image File Execution Options (IFEO) - Performance Options (PerfOptions)
@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@rajatkumar1011
rajatkumar1011 / README.md
Last active September 8, 2026 17:20
Get $1000+ Worth of Free AI API Credits with AgentRouter and 13 Other Platforms — [Full Claude Desktop Setup]

Get $1000+ Worth of Free AI API Credits with AgentRouter and 13 Other Platforms — [Full Claude Desktop Setup]

Most people are paying for Claude Pro when they don't have to. These 14 platforms give you free API credits on signup, some with daily top-ups too. You plug your key into Claude Desktop's developer mode and get the same Opus 5 / Opus 4.8 experience — no subscription needed.

Note: GitHub account must be at least 1 year old to Sign Up.
[Some platforms may require more than one year.]

Free Credit Platforms

@teocci
teocci / how-to-ssh-into-windows.md
Created October 13, 2022 08:07
How to SSH into Windows 10 or 11?

How to SSH into Windows 10 or 11?

The latest builds of Windows 10 and Windows 11 include a build-in SSH server and client that are based on OpenSSH. This means now you can remotely connect to Windows 10/11 or Windows Server 2019 using any SSH client, like Linux distros. Let's see how to configure OpenSSH on Windows 10 and Windows 11, and connect to it using Putty or any other SSH client.

OpenSSH is an open-source, cross-platform version of Secure Shell (SSH) that is used by Linux users for a long time. This project is currently ported to Windows and can be used as an SSH server on almost any version of Windows. In the latest versions of Windows Server 2022/2019 and Windows 11, OpenSSH is built-in to the operating system image.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@revant
revant / file_uploader.js
Last active September 8, 2026 16:58
Multi Part Upload for Frappe
// Copyright (c) 2025, Revant Nandgaonkar and contributors
// License: MIT
// HTML Field has following options
// <div id="dropzoneTarget" class="fallback dropzone"> <input hidden name="file" type="file"> </div>
frappe.ui.form.on('File Uploader', {
refresh(frm) {
const url = '/api/method/multipart_upload.upload.multipart_file_upload';
const chunkSize = 20 * 1024 * 1024; // 20MB
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@tostadagertrudewza4e1-cmd
tostadagertrudewza4e1-cmd / strip-model.md
Last active September 8, 2026 16:53
Quit My 9-5 to Become a Stripchat Model — Here's Everything I Wish I Knew Before Starting (2026/2027 Complete Guide)

🔥 The ULTIMATE step-by-step guide to becoming a successful Stripchat model in 2026. Registration, equipment, earnings, tips & growth strategies revealed. No fluff, just real advice from someone who's been there. #stripchat #cammodel #workfromhome #makemoneyonline #onlyfansalternative

The ULTIMATE Guide to Becoming a Stripchat Model in 2026/2027 — Everything I Wish Someone Had Told Me Before I Started

By: Jessica M. | Former office worker, full-time cam model since 2022
Updated: July 2026 | Reading time: 22 minutes YOU CAN JOIN HERE CLICK and EARN HUGE $$$ AS MODEL

⚠️ Disclosure: This article contains affiliate links and personal income disclosures. I've been a full-time Stripchat model for over three years, and I earn between $4,000 and $12,000 per month depending on the season. Nothing in this guide will make you rich overnight — but if you're willing to put in the work, it absolutely can change your financial life.