This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: utf-8 | |
from cStringIO import StringIO | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from email.header import Header | |
from email import Charset | |
from email.generator import Generator | |
import smtplib | |
# Example address data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://raw.githubusercontent.com/user/repo/master/filename.js | |
-> https://rawgit.com/user/repo/master/filename.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<img alt="LNK CAM S5 SECOND LINK 10 KM-1.3 NB" src="http://www.llm.gov.my/maklumat_trafik_terkini.aspx?ImagePath=HYEC4fuANi4FALhGgLSGmDWAlRFhYuAE7/is8T3p+ROwE7P5XavMSyo/MuMcxM3ICpDtpXzLqfOW4hPqp4ExRJDJqARoFIgnAaRq7RNLqh1DfTZz3VZLZY4T+8oCfM6c"> | |
<img alt="LNK CAM S5 SECOND LINK 8 KM1.8 SB" src="http://www.llm.gov.my/maklumat_trafik_terkini.aspx?ImagePath=HYEC4fuANi4FALhGgLSGmDWAlRFhYuAE7/is8T3p+ROwE7P5XavMSyo/MuMcxM3ICpDtpXzLqfOW4hPqp4ExRNY1mvfC6C26zLOdSXg33IoG4elAdTDml0GqDEBtkqMz"> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ADDREV { | |
public static void main(String[] args) | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Hub | |
class Runner | |
attr_reader :args | |
def initialize(*args) | |
# $ hub ["clone", "rtomayko", "/", "tilt"] => hub ["clone", "rtomayko/tilt"] | |
if args[0] == "clone" and args[2] = "/" and args.length == 4 | |
args = ["clone", args[1..3].join] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* evandrix.tumblr.com */ | |
pre { | |
border: 1px solid #CCC; | |
border-color: #BBB #DDD #DDD #BBB; | |
margin : 0.5em; | |
padding : 0.5em; | |
line-height: 1.1em; | |
font-size: 1em; | |
background: #F5F5F5 !important; | |
overflow: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beating your sleepsort by magnitudes! Takes only MAX(argv) ticks and does not overflow the stack either. | |
Fork the gist if you can reduce the size of ticksort.coffee. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
jsyang's solutions for ReadyForZero challenge. | |
June 16, 2011 | |
*/ | |
/*\ | |
|*| Loading question 1... | |
|*| | |
|*| The 3072 characters below contain a sequence of 5 characters which is | |
|*| repeated. However, there is a twist: one of the sequences has a typo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="data:image/gif;base64, | |
iVBORw0KGgoAAAANSUhEUgAAAJYAAAB+CAIAAABJdH9aAAAAAXNSR0IArs4c6QAAAARnQU1BAACx | |
jwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAABh0RVh0 | |
U29mdHdhcmUAUGFpbnQuTkVUIHYzLjM2qefiJQAASwpJREFUeF7tvQd0XNl1JSp5ZFnBrZY140n+ | |
sv9alr/mL80aS7aX3B5pNHK3OjBngmiAIEAQJAiAIDIKhcpVqFzIOeecMwGCOZNgjs2cYzPHZnh/ | |
33eqLh6rkMludf9xrbMKrx6qXr26+5587rnf3rH/8Lfe9kMQBOklv/3tb7/tb/i360lGABC+ddq+ | |
75CU3vr1/+2C0hH41lsZDgJs217n85bBg5y27j0Ion+B3srX/dtF3jKEBB5wYrDtObB5z4FNu/dv | |
3OUkHINwHsSx/Oox4JMMt0r0/5sp9UZcyMeFg7dx1751O/au2z64dpuTBrYN4uX6HXvxL8KSgAQB | |
yK+AL+m7cIfOSSbOMxIS/E6+spv5MubuG0GIG6LRwaCA7YATAFuzeXfPpl3dG3d2bdiBZxBe9m3Z | |
DVCBLoAEm/Lh+5IglPIcvksiGPZt2MkIt4EbdooHF5bfUL58Iwid8lPED/D0b93Ts3Fnx7rtbWu3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char **argv){ | |
printf(argv[1]); | |
} | |
# Compile and setup insecure environment | |
gcc printf.c -w -O0 -ggdb -std=c99 -static -D_FORTIFY_SOURCE=0 -fno-pie -Wno-format -Wno-format-security -fno-stack-protector -z norelro -z execstack -o printf | |
sudo sysctl -w kernel.randomize_va_space=0 |
OlderNewer