Skip to content

Instantly share code, notes, and snippets.

Kyle Drake kyledrake

Block or report user

Report or block kyledrake

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kyledrake / ferengi-plan.txt
Last active May 10, 2020
How to throttle the FCC to dial up modem speeds on your website using Nginx
View ferengi-plan.txt
# The blog post that started it all:
# Current known FCC address ranges:
# Confirm/locate FCC IP ranges with this:
# In your nginx.conf:
location / {
kyledrake / gist:d7457a46a03d7408da31
Last active Apr 15, 2020
Creating a self-signed SSL certificate, and then verifying it on another Linux machine
View gist:d7457a46a03d7408da31
# Procedure is for Ubuntu 14.04 LTS.
# Using these guides:
openssl genrsa -aes256 -out ca.key 2048
openssl req -new -x509 -days 7300 -key ca.key -sha256 -extensions v3_ca -out ca.crt
kyledrake /
Last active Aug 18, 2019
IPFS replication service with one line of unix shell code!
# First, install ncat:
# Usually comes with the 'nmap' package on distributions.
ncat -k -v -l -p 5555 -c 'ipfs refs local | gzip'
# To retrieve on the client machine:
# nc 5555 | gunzip | ipfs pin add -r
kyledrake / geocities-link-extensions.txt
Created Jul 12, 2019
List of file extensions ever used in the Geocities Archive for src= or href= links.
View geocities-link-extensions.txt
kyledrake / geocities-archive-virus-scan.txt
Last active Apr 24, 2019
List of "viruses" detected from a clamav scan of the Geocities archive.
View geocities-archive-virus-scan.txt Win.Joke.Jep-1 FOUND Win.Joke.ProjectCool-1 FOUND Legacy.Trojan.Agent-372 FOUND Win.Trojan.Agent-229806 FOUND Win.Trojan.3586487-1 FOUND Win.Trojan.Joke-1 FOUND Doc.Trojan.Marker-1 FOUND Doc.Trojan.Mamm-1 FOUND Win.Joke.Pelotas-1 FOUND Win.Trojan.Fedup-1 FOUND
kyledrake / token.rb
Created Apr 11, 2019
Script for solving question/answer from Myspace circa 2009
View token.rb
require 'net/http'
module Myspace
class Token
def self.get_for_song(o = {})
return nil unless o[:artist_id] && o[:album_id] && o[:song_id]
headers = HttpHeader.random_agent ''
headers['x-myspace-id'] = "ownerId=#{o[:artist_id]};contentId=#{o[:song_id]},#{o[:album_id]}"
kyledrake / song-genres.txt
Created Apr 10, 2019
Myspace Dragon Hoard: Count of songs with tagged genre
View song-genres.txt
2-step (1904)
A'cappella (2561)
Acousmatic (923)
Acoustic (32511)
Afro-beat (3334)
Alternative (47577)
Ambient (13456)
Americana (5809)
Big Beat (1659)
Black Metal (6109)
kyledrake /
Created Apr 6, 2019
Myspace dragon hoard faster direct dl (until torrent is fixed)
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
wget --tries=0 --continue &
View bird.conf
log syslog all;
router id **MY_IP**;
protocol bgp vultr {
local as 395409;
source address **MY_IP**;
import none;
export all;
graceful restart on;
kyledrake / gist:3077989
Created Jul 9, 2012
Ruby code for doing P12 to PEM conversion via command line. Supports MRI/JRuby/Rubinius
View gist:3077989
require 'tempfile'
require 'openssl'
require 'escape' # gem install escape
class CommandFailError < StandardError; end
def p12_to_pem_text(p12, pass='')
pass = '' if pass.nil?
# Use shell command for JRuby (see
You can’t perform that action at this time.