Skip to content

Instantly share code, notes, and snippets.

@rebane2001
rebane2001 / glass-with-controls.html
Last active June 11, 2025 18:46
glass effect test css/svg thing (messy) - demo: https://codepen.io/rebane2001/details/OPVQXMv
<div style="position:absolute;top:-999px;left:-999px">
<svg
id="effectSvg"
width="200"
height="200"
viewBox="0 0 200 200"
xmlns="http://www.w3.org/2000/svg">
<filter id="displacementFilter4">
@jeffjohnson9046
jeffjohnson9046 / git-ignore.sh
Created August 11, 2015 21:02
Remove unwanted files from a git repo AFTER adding a .gitignore. The files will remain on disk.
## I just ran into this after initializing a Visual Studio project _before_ adding a .gitignore file (like an idiot).
## I felt real dumb commiting a bunch of files I didn't need to, so the commands below should do the trick. The first two commands
## came from the second answer on this post: http://stackoverflow.com/questions/7527982/applying-gitignore-to-committed-files
# See the unwanted files:
git ls-files -ci --exclude-standard
# Remove the unwanted files:
git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached
@lelegard
lelegard / win-home-gpedit.md
Last active June 11, 2025 18:42
Enabling the Group Policy Editor on Windows 10 Home

Enabling the Group Policy Editor on Windows 10 Home

On Windows 10 Home edition, there is no Local Group Policy Editor (gpedit.msc) and no Local Security Policy Editor (secpol.msc). These tools are reserved to Professional editions of Windows.

It is however possible to install them on Windows 10 Home if you need them.

Open a PowerShell window as administrator and run the following command:

@talkingmoose
talkingmoose / Tahoe-compatible Macs (regex)
Last active June 11, 2025 18:41
Regex looks for all Mac models compatible with macOS 26 Tahoe. May not be up-to-date with newly released models.
https://www.apple.com/os/macos/
Published Date: June 9, 2025
Verification: https://regex101.com/r/ouFDlr/4
1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate):
^(Mac(1[3-6]|BookPro1[6-8]|BookAir10|mini9|Pro7)|iMac2[01]),\d+$
2) Current or higher regex — Matches model identifiers based on Apple's knowledge base article and may match higher versions before this regex is updated (more future-proof).
@BadMagic100
BadMagic100 / i2cpp_ghidra.md
Last active June 11, 2025 18:40
Instructions to get a useful decompilation out of an il2cpp game. Or, "I spent hours to trial and error so hopefully you won't have to"

Decompiling IL2CPP Games with Il2CppDumper and Ghidra

This guide will walk through how to decompile/reverse engineer IL2CPP games for modding usage.

Note: expect this entire process to take upwards of an hour. Have something ready to do on the side while waiting for processing to finish.

Prerequisites

  1. Download Il2CppDumper
@manualbashing
manualbashing / blog.md
Last active June 11, 2025 18:37 — forked from joncloud/pr.md
Checkout Azure DevOps Pull Requests locally

Forked from piscisaureus

Fetch and checkout one specific pull request

To identify one particular pull request, find the pull request number on the Azure DevOps site:

image

Then fetch and checkout the pull request in a local branch named pull/137

@thedavidprice
thedavidprice / best-practice-template-prompt.md
Last active June 11, 2025 18:37
Monthly Investor Update Template and Prompt

Best Practices

Regular investor updates are crucial for early-stage startups. Experts recommend a monthly cadence as the “sweet spot” – it keeps investors informed and engaged without overwhelming them. Reviewing nine real-world investor updates across SaaS, hardware, infra, and AI companies confirms that the best updates follow a similar formula: they report consistent key metrics, highlight wins and acknowledge challenges, outline upcoming plans, and clearly state any asks for help. This consistency makes it easy to track progress over time and spot trends. (For example, the SaaS updates emphasized MRR/ARR growth and customer wins, a hardware update reported product development milestones and pilot results, and AI/infra updates highlighted usage and technical milestones – different metrics, but all fitting the same basic structure.) Overall, effective updates are concise yet comprehensive, giving investors a clear snapshot of the business and its trajectory.

**Best-Practice Princ

@mastersign
mastersign / YAML-Mode.xshd
Created February 21, 2022 08:10
YAML syntax grammar for AvalonEdit
<?xml version="1.0"?>
<!-- Imperfect syntax grammar for YAML by Tobias Kiertscher <dev@mastersign.de> -->
<SyntaxDefinition xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"
name="YAML" extensions=".yaml,.yml">
<Color name="Comment" foreground="LightSlateGray" fontStyle="italic" />
<Color name="String" foreground="DarkGreen" fontWeight="normal" />
<Color name="Array" foreground="DarkMagenta" fontWeight="bold" />
<Color name="MultilineStringIndicator" foreground="DarkMagenta" fontWeight="bold" />
<Color name="MapKey" foreground="Firebrick" />
@HolyWu
HolyWu / adaptive-sharpen.glsl
Created August 18, 2024 06:23 — forked from igv/adaptive-sharpen.glsl
Optimal sharpening strength (according to objective metrics) - 0.5. Can be applied only to luma channel (change OUTPUT to LUMA). To use it on-demand add the following line to input.conf: n change-list glsl-shaders toggle "~~/adaptive-sharpen.glsl"
// Copyright (c) 2015-2021, bacondither
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer
// in this position and unchanged.
// 2. Redistributions in binary form must reproduce the above copyright