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
{ | |
"path":"/home/foo/icons/", | |
"domain":"example.com", | |
"icons":[ | |
{"host":"aaa.example.com", "icon":"red.png"}, | |
{"host":"bbb.example.com", "icon":"green.png"}, | |
{"host":"ccc.example.com", "icon":"yellow.png"}, | |
{"host":"ddd.example.com", "icon":"orange.png"}, | |
{"host":"eee.example.com", "icon":"blue.png"}, | |
{"host":"fff.example.com", "icon":"cyan.png"}, |
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
// g++ -O2 hexstr_benchmarks.cpp -o hexstr_benchmarks | |
#include <stdio.h> | |
#include <vector> | |
#include <string> | |
#include <stdarg.h> | |
#include <time.h> | |
#include <string.h> | |
using namespace std; | |
#define loop for (;;) |
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
// g++ bignum_setcompact.cpp -o ./bignum_setcompact -lcrypto -O3 | |
// Checks for all 32 bit integers whether SetCompactNew(x) == SetCompactOld(x) | |
#include <limits> | |
#include <stdexcept> | |
#include <vector> | |
#include <openssl/bn.h> | |
#include <algorithm> | |
#include <assert.h> | |
#include <sys/types.h> |
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
Show hidden characters
[ | |
{ "keys": [":",":"], "command": "insert_snippet", "args": {"contents": "∷"}, "context": | |
[ | |
{ "key": "selector", "operator": "equal", "operand": "source.haskell" } | |
] | |
}, | |
{ "keys": ["-",">"], "command": "insert_snippet", "args": {"contents": "→"}, "context": | |
[ | |
{ "key": "selector", "operator": "equal", "operand": "source.haskell" } | |
] |
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
[seq 0] [thread 0] in={ | |
.command = gcvHAL_GET_BASE_ADDRESS, | |
.u = { | |
} | |
} | |
[seq 1] [thread 0] out={ | |
.command = gcvHAL_GET_BASE_ADDRESS, | |
.status = gcvSTATUS_OK, | |
.u = { | |
.GetBaseAddress = { |
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
\def\afivepaper{{\globaldefs = 1 | |
\parskip = 2pt plus 1pt minus 0.1pt | |
\textleading = 12.5pt | |
% | |
\internalpagesizes{111mm}{94mm}% | |
{-.5in}{-.85in}% | |
{0pt}{8pt}% | |
{127mm}{100mm}% | |
\lispnarrowing = 0.2in | |
\tolerance = 800 |
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
MOV t0.x___, void, void, t0.xxxx | |
MOV t0._y__, void, void, t0.xxxx | |
BRANCH.GE void, t0.yyyy, u0.zzzz, label_20 ; !bit_1_21=1! !bit_2_30=2! | |
LSHIFT t0._y__, t0.xxxx, void, u0.wwww ; !bit_2_30=1! | |
LOAD t1._yzw, u0.xxxx, t0.yyyy, void | |
MOV t0._yzw, void, void, t1.yyzw | |
LSHIFT t2.x___, t0.xxxx, void, u0.wwww ; !bit_2_30=1! | |
LOAD t1.xyz_, u0.xxxx, t2.xxxx, void | |
MOV t2.xyz_, void, void, t1.xyzz | |
MUL t3.xyz_, t0.yzww, t2.xyzz, void |
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
# Copyright (c) 2013 W.J. van der Laan | |
# parts sourced from jackjack's pywallet.py (https://github.com/jackjack-jj/pywallet) | |
# Distributed under the MIT/X11 software license | |
from bitcoin.base58 import CBase58Data | |
from binascii import b2a_hex, a2b_hex | |
import struct | |
import hashlib | |
import scrypt, random | |
from Crypto.Cipher import AES |
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
prefix=/home/ubuntu/staging64 | |
exec_prefix=${prefix} | |
libdir=${prefix}/lib | |
includedir=${prefix}/include | |
Name: Qt5 Gui | |
Description: Qt Gui module | |
Version: 5.2.0 | |
Libs: -L${libdir} -lQt5Gui |
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
/* | |
So you need to broadcast an alert... | |
... here's what to do: | |
1. Copy sendalert.cpp into your bitcoind build directory | |
2. Decrypt the alert keys | |
copy the decrypted file as alertkeys.h into the src/ directory. | |
3. Modify the alert parameters in sendalert.cpp |
OlderNewer