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
#!/usr/bin/python2 | |
import logging | |
import sys | |
import couchdb | |
import json | |
from libgreader import GoogleReader, ClientAuthMethod, Feed | |
""" | |
Original can be obtained here: https://gist.github.com/Nazgolze/5479539 |
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
#!/bin/sh | |
git rev-list --reverse $@ |
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() | |
{ | |
size_t bytes_read = 0; | |
char buf[1024] = {0}; | |
int idx; | |
do { | |
bytes_read = fread(buf, 1, sizeof(buf), stdin); | |
for(idx = 0; idx < bytes_read; idx++) |
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
ERROR: integer out of range | |
STATEMENT: INSERT INTO “trs”(“id”,”blockId”,”type”,”timestamp”,”senderPublicKey”,”requesterPublicKey”,”senderId”,”recipientId”,”amount”,”fee”,”signature”,”signSignature”,”signatures”) VALUES (‘181175095785369468’,’5488578331239914243',0,-3704634000,’\x6dd24c92d91c0082f5be68f7350d87b7cdf105267543f1f61d3043a5c2d8a00b’,null,’3402562013208542942L’,’3402562013208542942L’,1,10000000,’\xcde9a3459b1f5590a9b6f32a5d9c2e85596be9d01ded14fa9d9c5f276a37e2562e40f459c727599323e1ee84435a63316b3a3a50fb3b5d687dc7ea1f1ad9e001',null,null) | |
ERROR: insert or update on table “blocks” violates foreign key constraint “blocks_previousBlock_fkey” | |
DETAIL: Key (previousBlock)=(5488578331239914243) is not present in table “blocks”. | |
STATEMENT: INSERT INTO “blocks”(“id”,”version”,”timestamp”,”height”,”previousBlock”,”numberOfTransactions”,”totalAmount”,”totalFee”,”reward”,”payloadLength”,”payloadHash”,”generatorPublicKey”,”blockSignature”) VALUES (‘13977984917448353211’,0,63803270,6144655,’5488578331239914243',0,0, |
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
#!/usr/bin/python | |
import datetime | |
import logging | |
import requests | |
logging.basicConfig(level=logging.DEBUG) | |
LISK_HOST = 'testnet.lisk.io' | |
TARGET_HEIGHT = 5594490 |
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
#!/usr/bin/python2 | |
import hashlib | |
import ed25519ll | |
import struct | |
import json | |
import urllib2 | |
import time | |
LISK_EPOCH = 1464066000 |
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
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
echo '-----------------------------' | |
echo '-- Get my rocket chat data --' | |
echo '-----------------------------'; echo | |
echo 'Enter your username or e-mail address' |
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
.Dd $Mdocdate: March 23 1981 $ | |
.Dt README 1 | |
.Os GitHub | |
.Sh README.mdoc | |
.Nm README | |
.Nd This is an example readme in mandoc |
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
#!/usr/bin/env python3 | |
""" lev3.py """ | |
# pylint: disable=C0200,C0103 | |
import argparse | |
import copy | |
import mnemonic | |
M = mnemonic.Mnemonic("english") | |
WORDLIST = M.wordlist |
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
#!/usr/bin/python | |
import secrets | |
import argparse | |
K = { | |
11111: "abacus", | |
11112: "abdomen", | |
11113: "abdominal", | |
11114: "abide", |