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
The Shower Scene Ice Nine Kills
Smoke on the Water The Denis Pauna
Get in the Ring Amon Amarth
Funeral Derangements Ice Nine Kills
Hip To Be Scared [Feat. Ice Nine Kills &
A Grave Mistake Ice Nine Kills
More German Than German Hanzel und Gretyl
Rainy Day Ice Nine Kills
Welcome To Horrorwood Ice Nine Kills
Ex-Mørtis Ice Nine Kills
⭐ Total Stars: 30
➕ Total Commits: 727
🔀 Total PRs: 236
🚩 Total Issues: 1.6k
📦 Contributed to: 42
JSON +13.9k/ -25.7k ████████████▎░░░░░░░░ 58.9%
Markdown +1.2k/ -1.1k ██████▉░░░░░░░░░░░░░░ 32.9%
YAML +1.4k/ -1.1k █▎░░░░░░░░░░░░░░░░░░░ 6.1%
HTML +6/ -6 ▍░░░░░░░░░░░░░░░░░░░░ 2.1%
TypeScript +1/ -1 ░░░░░░░░░░░░░░░░░░░░░ 0.0%
🌞 Morning 86 commits ██▊░░░░░░░░░░░░░░░░░░ 13.3%
🌆 Daytime 315 commits ██████████▏░░░░░░░░░░ 48.6%
🌃 Evening 230 commits ███████▍░░░░░░░░░░░░░ 35.5%
🌙 Night 17 commits ▌░░░░░░░░░░░░░░░░░░░░ 2.6%
🗣 Commented on #2785 in thomasmerz/upptime
❗️ Closed issue #2785 in thomasmerz/upptime
❗️ Opened issue #2785 in thomasmerz/upptime
🗣 Commented on #2770 in thomasmerz/upptime
🗣 Commented on #2782 in thomasmerz/upptime
@huytd
huytd / wordle.md
Last active May 16, 2024 20:39
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode:

@IanColdwater
IanColdwater / twittermute.txt
Last active May 23, 2024 18:37
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

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,

@stefanbuck
stefanbuck / prepare-commit-msg
Last active June 9, 2023 21:09
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
@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