Skip to content

Instantly share code, notes, and snippets.

@jimmckeeth
jimmckeeth / clean_noto.sh
Created March 15, 2026 22:26
Hides all non-whitelisted Noto fonts on Ubuntu Linux
#!/bin/bash
echo "================="
echo "Noto Font Cleaner"
echo "================="
echo "Hides all Noto fonts except the white listed ones. Edit script to customize."
echo
# --- CONFIGURATION: Add fonts you want to KEEP here ---
# Use the exact family name as seen in fc-list : family | grep -i "Noto"
# The link comment is just for reference.
@ernstki
ernstki / fc-reject.pl
Last active August 5, 2026 09:06
Easily disable fonts that aren't in your language, for Debian and derivatives (and possibly other Linux distros)
#!/usr/bin/env perl
##
## Easily disable fonts that aren't for your language, or language-specific
## variants from large font families like Noto -- WITHOUT uninstalling them
##
## Authors: Kevin Ernst <ernstki -at- mail.uc.edu>, @wdoekes
## License: MIT or CC-BY-SA-4.0, at your option
## Source: https://gist.github.com/ernstki/2ae279ad89888e4099c9852bf0ba5d11
##
## Usage:
@joshkoenig
joshkoenig / spiderme.sh
Last active May 23, 2018 22:50
Spider-based Benchmarking with wget
#!/bin/sh
# Spiderme - quick and clean benchmarking for website performance on Pantheon.
#
# This script uses wget to "spider" your website to provide a good set of data
# on site performance. It will automatically bypass Pantheon's edge cache, and
# skip images, javascript, css, etc. It will also only spider links that are
# under the multidev environment you are spidering.
#
#
@ipbastola
ipbastola / clean-up-boot-partition-ubuntu.md
Last active March 24, 2026 21:06
Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Safest way to clean up boot partition - Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64

Reference

Case I: if /boot is not 100% full and apt is working

1. Check the current kernel version

$ uname -r