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
import binascii | |
import struct | |
from hashlib import sha256 | |
import ltc_scrypt | |
def ser_number(n): | |
# For encoding nHeight into coinbase | |
s = bytearray(b'\1') | |
while n > 127: | |
s[0] += 1 |
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
var net = require('net'); | |
var events = require('events'); | |
var util = require('./util.js'); | |
var SubscriptionCounter = function(){ | |
var count = 0; | |
var padding = 'deadbeefcafebabe'; | |
return { |
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
var poolWorkerData = []; | |
var poolHashrateData = []; | |
var poolBlockData = []; | |
var poolWorkerChart; | |
var poolHashrateChart; | |
var poolBlockChart; | |
function buildChartData(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
var mysql = require('mysql'); | |
var cluster = require('cluster'); | |
module.exports = function(logger, poolConfig){ | |
var mposConfig = poolConfig.shareProcessing.mpos; | |
var coin = poolConfig.coin.name; | |
//var connection; | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:torznab="http://torznab.com/schemas/2015/feed"> | |
<channel> | |
<atom:link href="http://localhost:9117/" rel="self" type="application/rss+xml" /> | |
<title>The Pirate Bay</title> | |
<description>The worlds largest bittorrent indexer</description> | |
<link>https://thepiratebay.se/</link> | |
<lanuage>en-us</lanuage> | |
<category>search</category> | |
<image> |
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
{ | |
"id": "121361", | |
"Actors": "|Emilia Clarke|Peter Dinklage|Kit Harington|Nikolaj Coster-Waldau|Lena Headey|Sophie Turner|Maisie Williams|Gwendoline Christie|Aidan Gillen|Iain Glen|Charles Dance|Jerome Flynn|Alfie Allen|Isaac Hempstead-Wright|Natalie Dormer|John Bradley|Conleth Hill|Michelle Fairley|Ed Skrein|Jonathan Pryce|Alexander Siddig|Nathalie Emmanuel|Liam Cunningham|Tom Wlaschiha|Iwan Rheon|Jacob Anderson|Gemma Whelan|Mark Addy|Indira Varma|Michiel Huisman|Nonso Anozie|Nell Tiger Free|Stephen Dillane|Rory McCann|Finn Jones|Ellie Kendrick|James Cosmo|Sibel Kekilli|Paul Kaye|Ciar\u00e1n Hinds|Thomas Sangster|Harry Lloyd|Sean Bean|Jason Momoa|Richard Madden|Jack Gleeson|Rose Leslie|Carice van Houten|Pedro Pascal|Tobias Menzies|Dean-Charles Chapman|Kerry Ingram|Michael McElhatton|Art Parkinson|Mackenzie Crook|Hannah Murray|Amrita Acharia|Aimee Richardson|Eugene Simon|Ron Donachie|Lino Facioli|Elyes Gabel|Oona Chaplin|Kate Dickie|Peter Vaughan|Patrick Malahide|Natalia Tena|Julian Glover|Joe Dempsie|Kris |
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
/* | |
* |- Fanart | |
* |- Trakt | |
* |- TVRage | |
* |- TVcom | |
* |- TMDB | |
* |- OMDB | |
* |- TVDB | |
* |- Fanart | |
* |- OMDB |
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
{ | |
"status": "success", | |
"data": { | |
"show": { | |
"id": { | |
"imdb": "tt0944947", | |
"tmdb": 1399, | |
"tvcom": "game-of-thrones", | |
"tvrage": 24493, | |
"tvdb": 121361, |
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
{ | |
"status": "success", | |
"data": { | |
"show": { | |
"id": { | |
"imdb": "tt3107288", | |
"tmdb": 60735, | |
"tvcom": "the-flash-2014", | |
"tvrage": 36939, | |
"tvdb": 279121, |
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
var db = knex({ | |
client: 'pg', | |
connection: { | |
host: 'localhost', | |
port: 5432, | |
user: 'postgres', | |
password: 'test', | |
database: 'syndicate' | |
}, | |
debug: true |
OlderNewer