Skip to content

Instantly share code, notes, and snippets.

View RomanovRoman's full-sized avatar

Roman Romanov RomanovRoman

View GitHub Profile
OP_IF // Normal redeem path
// Require initiator's secret to be a known length that the redeeming
// party can audit. This is used to prevent fraud attacks between two
// currencies that have different maximum data sizes.
OP_SIZE
secretSize
OP_EQUALVERIFY
// Require initiator's secret to be known to redeem the output.
/*
Always send your font files gzipped, average 40% to be won,
but could be 70% you never know.
http://www.phpied.com/gzip-your-font-face-files/
*/
/*
http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/
*/
/*
Browsers start with the last src: declaration
@RomanovRoman
RomanovRoman / gist:5744646
Created June 9, 2013 18:32
If your page requires an unusual font, you can embed it with a CSS
@font-face {
font-family: myfont;
src: url("myfont.eot");
}
@font-face {
font-family: aflthin;
src: url("myfont.eot?iefix") format("☺"),
url(data:application/x-font-woff;charset=utf-8;base64,/* base64 here */) format("woff"),
url("myfont.ttf") format("truetype"),