Skip to content

Instantly share code, notes, and snippets.

View oldas1's full-sized avatar
🌴
On vacation

marius budrys oldas1

🌴
On vacation
View GitHub Profile
@oldas1
oldas1 / MoneroPoolHash.py
Last active December 21, 2016 07:42 — forked from jwinterm/MoneroPoolHash.py
Monero pool hashrate checker
#!/usr/bin/env python
import requests
import json
import re
import datetime
import sys
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
from math import cos, sin, pi
@oldas1
oldas1 / generate_boost_games.js
Created November 18, 2016 06:12
csgoroll.com boost games generator
var crypto = require('crypto');
var serverSeed = 'If you knew this, you could steal all my money';
// small number for a quick test run
var gamesToGenerate = 100;
var genGameHash = function(serverSeed) {
return crypto.createHash('sha256').update(serverSeed).digest('hex');
};
@oldas1
oldas1 / gist:c1321ce8dc682bf01fc0fbaad0e0dbc6
Created January 26, 2020 07:20 — forked from matthieu/gist:b07c5ba27bc99188a15f
Create and send a Bitcoin transaction using the BlockCypher Transaction API
# In this example we're sending some test bitcoins from an address we control to a brand new test
# address. We'll be sending the coins using the following address, public and private keys (please
# don't abuse).
# address : mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f
# private : 1af97b1f428ac89b7d35323ea7a68aba8cad178a04eddbbf591f65671bae48a2
# 1. generate a one-shot dummy address we're going to send money to
$ curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs
{
did:3:bafyreigxs54kjd6ry62j3xjnlv72dzfx3gtjtevirreavbj4zxfsewpfv4
did:3:bafyreigxs54kjd6ry62j3xjnlv72dzfx3gtjtevirreavbj4zxfsewpfv4