Skip to content

Instantly share code, notes, and snippets.

View Aragorn450's full-sized avatar

Charlie Lehardy Aragorn450

View GitHub Profile
@steevp
steevp / gog-notify.py
Last active December 28, 2019 17:20
Checks for new GOG Connect games
#!/usr/bin/env python2
# Script to check for new GOG Connect games
#
# Configure your system for sending emails first. I used:
# https://www.howtoforge.com/tutorial/configure-postfix-to-use-gmail-as-a-mail-relay/
import requests
import browsercookie
import json
import smtplib
from email.mime.text import MIMEText
@kyledrake
kyledrake / ferengi-plan.txt
Last active July 10, 2024 18:51
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 / {
@leopoldodonnell
leopoldodonnell / core-classes.sass
Created January 16, 2012 16:33
SASS from LESS Classes
/*
* A SASS conversion by Leo O'Donnell ( http://github.com/leopoldodonnell ) of the excellent work by Jeffrey Way
* @see http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-never-type-a-vendor-prefix-again/
* @see http://snipplr.com/view/47181/less-classes/
*/
@mixin border-radius( $radius: 3px )
-webkit-border-radius: $radius
-moz-border-radius: $radius
border-radius: $radius