Skip to content

Instantly share code, notes, and snippets.

View thomasmerz's full-sized avatar
Drinking (too) much coffee.

Thomas Merz thomasmerz

Drinking (too) much coffee.
View GitHub Profile
@alirobe
alirobe / reclaimWindows10.ps1
Last active July 31, 2025 14:21
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
### OR take a look at
### https://github.com/HotCakeX/Harden-Windows-Security

Spotify OAuth Scripts

Requirements

  • jq
  • Your own Spotify Client ID and Client Secret

Creds Storage

Store your Client ID in ~/.config/spotify_client_creds.json. It should look like:

@hopeseekr
hopeseekr / docker_dedicated_filesystem.md
Created February 3, 2018 04:01
Putting Docker on its own pseudo filesystem

Docker on BTRFS is very buggy and can result in a fully-unusable system, in that it will completely butcher the underlying BTRFS filesystem in such a way that it uses far more disk space than it needs and can get into a state where it cannot even delete any image, requiring one to take drastic actions up to and including reformatting the entire affected BTRFS root file system.

According to the official Docker documentation:

btrfs requires a dedicated block storage device such as a physical disk. This block device must be formatted for Btrfs and mounted into /var/lib/docker/.

In my experience, you will still run into issues even if you use a dedicated partition. No, it seems it requires a standalone

@stefanbuck
stefanbuck / prepare-commit-msg
Last active April 15, 2025 09:45
Ticket number git hook
#!/usr/bin/env bash
#
# Authors:
# Stefan Buck (https://github.com/stefanbuck)
# Thomas Ruoff (https://github.com/tomru)
#
#
# Description:
# Are you still prefixing your commits with a ticket number manually? You will love this script!
# This is a git hook script that will automatically prefix your commit messages with a ticket

How to setup a practically free CDN using Backblaze B2 and Cloudflare

⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,

@IanColdwater
IanColdwater / twittermute.txt
Last active August 18, 2025 07:02
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@huytd
huytd / wordle.md
Last active August 5, 2025 11:22
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

❗️ Closed issue #3695 in thomasmerz/upptime
🗣 Commented on #3695 in thomasmerz/upptime
❗️ Opened issue #3695 in thomasmerz/upptime
❗️ Closed issue #3694 in thomasmerz/upptime
🗣 Commented on #3694 in thomasmerz/upptime
🌞 Morning 121 commits ███▏░░░░░░░░░░░░░░░░░ 15.0%
🌆 Daytime 417 commits ██████████▊░░░░░░░░░░ 51.7%
🌃 Evening 251 commits ██████▌░░░░░░░░░░░░░░ 31.1%
🌙 Night 17 commits ▍░░░░░░░░░░░░░░░░░░░░ 2.1%
JSON +7.4k/ -7.4k ██████████████▎░░░░░░ 68.3%
Markdown +1.1k/ -1.1k ████▎░░░░░░░░░░░░░░░░ 20.8%
YAML +1.0k/ -1.0k █░░░░░░░░░░░░░░░░░░░░ 5.3%
HTML +12/ -12 ▉░░░░░░░░░░░░░░░░░░░░ 4.8%
SVG +4/ -0 ▏░░░░░░░░░░░░░░░░░░░░ 0.8%