Skip to content

Instantly share code, notes, and snippets.

@kyledrake
kyledrake / ferengi-plan.txt
Last active April 6, 2024 00:30
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {
@n3uromanc3r
n3uromanc3r / pantheon-init
Last active August 29, 2015 13:57
Initialize pantheon terminal for xterm 256 colour palette and powerline glyphs
gsettings set org.pantheon.terminal.settings palette "#000000:#800000:#008000:#808000:#000080:#800080:#008080:#c0c0c0:#808080:#ff0000:#00ff00:#ffff00:#0000ff:#ff00ff:#00ffff:#ffffff"
gsettings set org.pantheon.terminal.settings opacity "100"
gsettings set org.pantheon.terminal.settings foreground "#ff5f00"
gsettings set org.pantheon.terminal.settings font "Ubuntu Mono derivative Powerline 12"
@sontek
sontek / snowjob.sh
Last active April 5, 2024 06:51
Make your terminal snow
#!/bin/bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
declare -A snowflakes
declare -A lastflakes
clear