Skip to content

Instantly share code, notes, and snippets.

@haasn
haasn / about:config.md
Last active September 25, 2025 20:46
Firefox bullshit removal via about:config

Firefox bullshit removal

Updated: Just use qutebrowser (and disable javascript). The web is done for.

@kylemcdonald
kylemcdonald / Voyager 1 Decode.ipynb
Created August 7, 2015 16:46
Voyager 1 Decoding
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikerudolph
mikerudolph / Rdio Proxy
Last active March 11, 2016 18:19
I wanted to see how easy it was to download Rdio songs as you listen to them, turns out its just as easy as I though.
var http = require('http'),
url = require('url'),
fs = require('fs');
var port = 9000;
var httpServer = http.createServer(function(request, response) {
var parsedUrl = url.parse(request.url);
var requestData;
var requestOpts = {
@gruber
gruber / make_bookmarklet.pl
Last active September 3, 2025 06:48
JavaScript Bookmarklet Builder
#!/usr/bin/env perl
#
# http://daringfireball.net/2007/03/javascript_bookmarklet_builder
use strict;
use warnings;
use URI::Escape qw(uri_escape_utf8);
use open IO => ":utf8", # UTF8 by default
":std"; # Apply to STDIN/STDOUT/STDERR
@pforret
pforret / clean_trojan_php.sh
Last active June 6, 2020 10:12
Clean PHP file of Mal/Badsrc-M - Troj/PHPShll-B infection
#!/bin/bash
# updated in 2020 because my bash skills were not that sophisticated in 2012
LIST=/tmp/LIST.TROJANS.$(date '+%Y%m%d').txt
PATT="eval(base64_decode"
REGEX="eval\(base64_decode"
if [[ ! -s "$LIST" ]] ; then
# find all infected php files and put them in $LIST file
grep -l -R --include=*.php "$PATT" * > "$LIST"
fi
@keithbloom
keithbloom / example1.sh
Created October 30, 2011 07:48
SharedPicasaLibrary
~/Library/Application Support/Google/Picasa/db3/