Skip to content

Instantly share code, notes, and snippets.

@forexhill
forexhill / install_biblepay.sh
Created April 21, 2018 05:15 — forked from anonymous/install_biblepay.sh
Bash script to install Biblepay CLI on Linux and start mining in the official pool
#! /bin/bash
# BiblePay (https://www.biblepay.org/)
# Script compiled using this guide (https://www.reddit.com/r/BiblePay/comments/6ummuj/how_to_mine_biblepay_on_linux/)
# Before running this script, create an account and a worker name here (pool.biblepay.org)
## Usage
# 1) Download this script and go to the downloaded directory
# 2) sudo chmod +x install_biblepay.sh
.tabbrowser-tab:not([pinned]) {min-width:35px;max-width:35px;}
.tabbrowser-tab,.tab-background {height:var(--tab-min-height);}
.tab-stack {width: 100%;}
#tabbrowser-tabs .scrollbox-innerbox {display: flex;flex-wrap: wrap;}
#tabbrowser-tabs .arrowscrollbox-scrollbox {overflow: visible;display: block;}
#titlebar,#titlebar-buttonbox{height:var(--tab-min-height) !important;}
#titlebar{margin-bottom:calc(var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #titlebar{margin-bottom:calc(6px + var(--tab-min-height)*-1) !important;}
#main-window[sizemode="maximized"] #TabsToolbar{margin-left:var(--tab-min-height);}
#titlebar:active{margin-bottom:0 !important;}
@forexhill
forexhill / SHA_256_hak.cpp
Created January 15, 2018 02:59 — forked from hak8or/SHA_256_hak.cpp
SHA-256 basic implementation in C++ with a test.
#include <iostream>
#include <sstream>
#include <bitset>
#include <vector>
#include <iomanip>
#include <cstring>
// By: hak8or
// To compile: g++ -std=c++0x SHA_256_hak.cpp -o SHA_256_hak
// To run self test just run the following: SHA_256_hak