Skip to content

Instantly share code, notes, and snippets.

@mrfatguy
mrfatguy / initialize-repository.bat
Created February 9, 2026 11:08
Synchronizes selected repo by setting its GitHub settings and repository labels. See opening comment for details.
REM This script does two main things:
REM
REM 1. If run in a location containing the .github folder, it commits its contents to the chosen repo.
REM 2. It deletes selected labels and creates new ones.
REM
REM The first part can be achieved by cloning a template repository.
REM The second is trickier, since template repositories do not include label data.
REM
REM Very useful for me, probably not very useful for you.
REM
@mrfatguy
mrfatguy / gears.html
Last active February 9, 2026 10:52
An animated, synchronized together three gears to be used as a geek-like loader for your web-pages
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>
// https://stackoverflow.com/a/76281061/1469208
var svgcontainer, svg, canvas, ctx, output, interval;
var num = 101;