Skip to content

Instantly share code, notes, and snippets.

@kyledrake
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
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
www.geocities.com/CollegePark/Gym/4455/booo.zip: Win.Joke.Jep-1 FOUND
www.geocities.com/CollegePark/Gym/4455/speed.zip: Win.Joke.ProjectCool-1 FOUND
www.geocities.com/CollegePark/Gym/4455/whack.zip: Legacy.Trojan.Agent-372 FOUND
www.geocities.com/CollegePark/Gym/4455/light.zip: Win.Trojan.Agent-229806 FOUND
www.geocities.com/CollegePark/Gym/4455/xo.zip: Win.Trojan.3586487-1 FOUND
www.geocities.com/CollegePark/Gym/4455/funny.zip: Win.Trojan.Joke-1 FOUND
www.geocities.com/CollegePark/Gym/1245/ImageFiles/pro.doc: Doc.Trojan.Marker-1 FOUND
www.geocities.com/CollegePark/Gym/1245/ImageFiles/pro.doc: Doc.Trojan.Mamm-1 FOUND
www.geocities.com/CollegePark/Gym/5740/programas/TESTDEPSICOLOGIADELMIEDO.zip: Win.Joke.Pelotas-1 FOUND
www.geocities.com/CollegePark/Square/6517/Haker/E-edup.ZIP: Win.Trojan.Fedup-1 FOUND
@kyledrake
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 'http://lads.myspace.com/videos/Main.swf'
headers['x-myspace-id'] = "ownerId=#{o[:artist_id]};contentId=#{o[:song_id]},#{o[:album_id]}"
@kyledrake
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
kyledrake / dl.sh
Created Apr 6, 2019
Myspace dragon hoard faster direct dl (until torrent is fixed)
View dl.sh
#!/bin/bash
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/1.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/2.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/3.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/4.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/5.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/6.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/7.zip &
wget --tries=0 --continue https://archive.org/download/myspace_dragon_hoard_2010/8.zip &
View Keybase Proof
### Keybase proof
I hereby claim:
* I am kyledrake on github.
* I am kyledrake (https://keybase.io/kyledrake) on keybase.
* I have a public key whose fingerprint is B128 E73F A18D ABCB 88D4 087B D184 D8CD DCE6 F6D4
To claim this, I am signing this object:
@kyledrake
kyledrake / bitcoincash.js
Created Aug 15, 2017
Spends from a 2 of 3 multisig to a pubkeyhash with Bitcoin Cash (UNTESTED)
View bitcoincash.js
/* npm install -g https://github.com/afk11/bitcoinjs-lib/tarball/opt-in-bitcoincash-sighash */
/*
This script spends from a 2 of 3 multisig to a pubkeyhash using Bitcoin Cash
*/
var bitcoin = require('bitcoinjs-lib')
var network = bitcoin.networks['bitcoin']
var outputValue = 4500000 // How much to send (remainder is the miner fee)
var inputValue = 4600000 // utxo value is required for bitcoin cash signature
@kyledrake
kyledrake / ceph-grow-rbd-xfs
Created Mar 14, 2017 — forked from briancline/ceph-grow-rbd-xfs
Growing a Ceph RBD volume and an XFS filesystem contained within
View ceph-grow-rbd-xfs
# df -h /dev/rbd0
Filesystem Size Used Avail Use% Mounted on
/dev/rbd0 1.5T 1.5T 557M 100% /mnt/media
# rbd info media/media01
rbd image 'media01':
size 1536 GB in 393216 objects
order 22 (4096 kB objects)
block_name_prefix: rb.0.1098.74b0dc51
format: 1
@kyledrake
kyledrake / bird.conf
Last active Sep 22, 2016
newbird.conf
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;
View gist:7a4cd36ea276ec3134b4a51a42a37f48
# NOTE: Both of these would have best been served by the server in Seattle.
traceroute to 198.51.233.1 (198.51.233.1), 30 hops max, 60 byte packets
1 192.168.1.1 0.444 ms 0.408 ms 0.396 ms
2 * * *
3 xe-3-0-2-sur04.troutdale.or.bverton.comcast.net (68.87.217.233) 12.892 ms 13.820 ms 13.823 ms
4 ae-52-ar01.troutdale.or.bverton.comcast.net (68.87.216.253) 13.816 ms 14.033 ms 13.788 ms
5 ae-2-ar01.beaverton.or.bverton.comcast.net (68.85.146.77) 15.029 ms * *
6 be-33490-cr01.sunnyvale.ca.ibone.comcast.net (68.86.92.205) 28.049 ms 27.238 ms 27.161 ms
7 be-10915-cr02.losangeles.ca.ibone.comcast.net (68.86.86.98) 35.109 ms 34.202 ms 31.920 ms
You can’t perform that action at this time.