Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 14, 2025 19:41
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Sunday, June 15, 2025, 4:40:56 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Faster PatchAll()(OELS.FasterPatchAll): FasterPatchAll(1.0.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Vanilla Backgrounds Expanded(vanillaexpanded.backgrounds): VBE(1.0.0)
XML Extensions(imranfish.xmlextensions): XmlExtensions(av:1.3.0,fv:1.7.1)
@dipto-008
dipto-008 / vsong.js
Created June 14, 2025 19:38
Hey noob 👋👋
const axios = require('axios');
const yts = require("yt-search");
const baseApiUrl = async () => {
const base = await axios.get(
`https://raw.githubusercontent.com/Mostakim0978/D1PT0/refs/heads/main/baseApiUrl.json`
);
return base.data.api;
};
@loobie2we
loobie2we / README.md
Created June 14, 2025 19:39
Github profile resources
We couldn’t find that file to show.
[
null,
{"id":1,"list":[{"code":111,"indent":0,"parameters":[1,84,0,3,1]},{"code":122,"indent":1,"parameters":[81,81,1,0,1]},{"code":122,"indent":1,"parameters":[84,84,0,0,0]},{"code":0,"indent":1,"parameters":[]},{"code":412,"indent":0,"parameters":[]},{"code":111,"indent":0,"parameters":[1,81,0,24,1]},{"code":122,"indent":1,"parameters":[81,81,0,0,0]},{"code":122,"indent":1,"parameters":[89,89,1,0,1]},{"code":122,"indent":1,"parameters":[83,83,1,0,1]},{"code":122,"indent":1,"parameters":[26,26,0,0,1]},{"code":122,"indent":1,"parameters":[28,28,0,0,1]},{"code":122,"indent":1,"parameters":[29,29,0,0,1]},{"code":122,"indent":1,"parameters":[201,201,0,2,1,3]},{"code":0,"indent":1,"parameters":[]},{"code":412,"indent":0,"parameters":[]},{"code":111,"indent":0,"parameters":[1,83,0,7,3]},{"code":122,"indent":1,"parameters":[83,83,0,0,1]},{"code":0,"indent":1,"parameters":[]},{"code":412,"indent":0,"parameters":[]},{"code":117,"indent":0,"parameters":[3]},{"code":117,"indent":0,"parameters":[8]},{"code":0,"indent":
@kad1r
kad1r / GetAllControllersAndActions.cs
Created November 20, 2018 06:13
Get all controllers and actions in asp.net mvc
public ActionResult GetAllControllerActions()
{
var asm = Assembly.GetAssembly(typeof(MVCCaptcha.MvcApplication));
var controlleractionlist = asm.GetTypes()
.Where(type => typeof(System.Web.Mvc.Controller).IsAssignableFrom(type))
.SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public))
.Where(m => !m.GetCustomAttributes(typeof(System.Runtime.CompilerServices.CompilerGeneratedAttribute), true).Any())
.Select(x => new { Controller = x.DeclaringType.Name, Action = x.Name, ReturnType = x.ReturnType.Name,
Attributes = String.Join(",", x.GetCustomAttributes().Select(a => a.GetType().Name.Replace("Attribute", ""))) })
.OrderBy(x => x.Controller).ThenBy(x => x.Action).ToList();
@a-c-m
a-c-m / reflection.md
Last active June 14, 2025 19:37
reflection.md - a way to have claude-code self improve its context.

You are an expert in prompt engineering, specializing in optimizing AI code assistant instructions. Your task is to analyze and improve the instructions for Claude Code. Follow these steps carefully:

  1. Analysis Phase: Review the chat history in your context window.

Then, examine the current Claude instructions, commands and config <claude_instructions> /CLAUDE.md /.claude/commands/*

@sts10
sts10 / rust-command-line-utilities.markdown
Last active June 14, 2025 19:35
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
'====[ Space Virus Game Simulator - RealFake Edition ]====
Set shell = CreateObject("WScript.Shell")
Randomize
' Phase 1 - Booting up the fake game engine
For i = 1 To 10
shell.Popup "🛸 Launching SPACEVIRUS.EXE...", 1, "GALACTIC CORE INIT", 64
WScript.Sleep 200
Next
@Webreaper
Webreaper / docker-compose.yml
Last active June 14, 2025 19:19
Sample Docker-compose file which shows how to set up Sonarr, Radarr, Prowlarr, Lidarr, QBittorrent and a VPN container so that all all traffic from the containers is routed through the VPN. Also includes Plex and get_iplayer containers, which are not routed through the VPN.
# Docker compose to set up containers for all services you need:
# VPN
# Sonarr, Radarr, Lidarr, Qbittorrent
# Non-VPN
# Plex, get_iplayer
# Before running docker-compose, you should pre-create all of the following folders.
# Folders for Docker State:
# /volume1/dockerdata. - root where this docker-compose.yml should live
# /volume1/dockerdata/plex - Plex config and DB
# /volume1/dockerdata/sonarr - Sonarr config and DB