I hereby claim:
- I am objsal on github.
- I am objsal (https://keybase.io/objsal) on keybase.
- I have a public key ASDnywB42uUAQPdRjYjtHarHL-Z3HoM--o8BZJcCCblanwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
##################################################################################### | |
# WARNING: IF ACCOUNT HAVE MORE THAN 5K FOLLOWERS/FRIENDS THEN IT NEEDS TO BE TWEAKED | |
##################################################################################### | |
import math | |
import json | |
import requests |
// Compile command: | |
// g++ -o vanity-miner vanity-miner.cpp -std=c++11 $(pkg-config) -I/path/to/libbitcoin/include -L/path/to/libbitcoin/lib -lbitcoin-system -lsecp256k1 -lboost_program_options -lboost_regex -lboost_thread -lgmp | |
// NOTE: After getting the secret use the following command to get the wif-compressed private key: | |
// $ bx base58check-encode <secret_key> --version 128 | |
/////////////////////////////////////////////////// | |
// DEPENDENCIES | |
// https://github.com/libbitcoin/libbitcoin-system | |
// - Follow instructions how to install mac, example: |
How to configure postfix mail for iCloud & GMail
Perfect to configure alertnotify in bitcoin.conf for bitcoind
i.e. alertnotify=echo %s | mail -a "From: Sender <[email protected]>" -s "Bitcoin Alert" [email protected]
On Linux, Raspberry Pi, Debian, Ubuntu install:
$ sudo apt-get install postfix mailutils libsasl2-modules
# https://en.wikipedia.org/wiki/Hashcash | |
# Author: https://twitter.com/ObjSal | |
import hashlib | |
import base64 | |
from math import ceil | |
import re | |
import datetime | |
''' |
# For a full bitcoin.conf example see: | |
# https://github.com/bitcoin/bitcoin/blob/master/share/examples/bitcoin.conf | |
# File stored in the external drive i.e. /Volumes/SSD/bitcoin.conf | |
# Change the data directory when running bitcoind or bitcoin-qt to the external drive | |
# $ bitcoind -datadir=/Volumes/SSD | |
# Authentication credentials created with rpcauth.py | |
# https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py |
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.4.22 <0.8.0; | |
contract AguilaCoin { | |
uint256 private _totalSupply; | |
mapping (address => uint256) private _balances; | |
mapping (address => mapping (address => uint256)) private _allowed; |
// Code snippet from Blockchain in Action | |
pragma solidity ^0.6.0; | |
contract AccountsDemo { | |
address public whoDeposited; | |
uint public depositAmount; | |
uint public accountBalance; | |
function deposit() public payable { | |
whoDeposited = msg.sender; |
// Author: Salvador Guerrero | |
'use strict' | |
const fs = require('fs') | |
const crypto = require('crypto') | |
// Third-Party Modules | |
const {MongoClient, ObjectId} = require('mongodb') | |
const jwt = require('jsonwebtoken') |
// Author: Salvador Guerrero | |
'use strict' | |
const fs = require('fs') | |
const crypto = require('crypto') | |
// Project modules | |
const { CreateServer } = require('./server') | |
const SecurityUtils = require('./security-utils') |