Skip to content

Instantly share code, notes, and snippets.

@dimtion
dimtion / 0fees.us.html
Last active November 26, 2015 23:17
Code created by 0fees.us on first connection
<html>
<body>
<script type="text/javascript" src="/aes.js" >
</script>
<script>
function toNumbers(d){
var e=[];
d.replace(/(..)/g,function(d){
e.push(parseInt(d,16))}
);
@dimtion
dimtion / proxy.py
Created May 4, 2014 16:00
Python cache proxy for Etienne
# Originally from
# http://sharebear.co.uk/blog/2009/09/17/very-simple-python-caching-proxy/
#
# Usage:
# A call to http://localhost:80000/http://example.com/foo.html will cache the file
# at http://example.com/foo.html on disc and not redownload it again.
# To clear the cache simply do a `rm *.cached`. To stop the server simply
# send SIGINT (Ctrl-C). It does not handle any headers or post data.
# Improved with love by @dimtion and @tikiki