Skip to content

Instantly share code, notes, and snippets.

View interbiznw's full-sized avatar
🎯
Focusing

J62 interbiznw

🎯
Focusing
View GitHub Profile
@interbiznw
interbiznw / cloudSettings
Created November 17, 2019 04:40 — forked from ch4ot1c/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-11-17T04:02:28.845Z","extensionVersion":"v3.4.3"}
Testing Log: 13th Oct - branch: algochange192-7
Hardware: CPU i5 and Rig : 3x1070s
ChainParams:
============
consensus.nPowDifficultyBombHeight = 32;
consensus.nHeightDiffBombRemoved = 31;
// Equihash 192,7
@interbiznw
interbiznw / make-image-change-javascript.js
Created July 2, 2019 11:46 — forked from drabbytux/make-image-change-javascript.js
Make Image Change javascript (for theme.js file)
$(document).ready(function() {
thumbnails = $('img[src*="/products/"]').not(':first');
if (thumbnails.length) {
thumbnails.bind('click', function() {
var arrImage = $(this).attr('src').split('?')[0].split('.');
var strExtention = arrImage.pop();
var strRemaining = arrImage.pop().replace(/_[a-zA-Z0-9@]+$/,'');
var strNewImage = arrImage.join('.')+"."+strRemaining+"."+strExtention;
if (typeof variantImages[strNewImage] !== 'undefined') {
productOptions.forEach(function (value, i) {
{% comment %}
Place this in your product.liquid template, at the bottom.
{% endcomment %}
{% if product.variants.size > 1 %}
<script>
var variantImages = {},
thumbnails,
variant,
variantImage,
optionValue,
@interbiznw
interbiznw / gist:5859cbf874316bd8afa7719e9821a940
Created February 25, 2019 11:35 — forked from omarbaruzzo/gist:a86a65d890ed823013315ea2d3727c2d
GenesisCalculator - code to be included in chainparams.cpp to calculate the genesis block, nnonce, merkle root etc.
#include "arith_uint256.h"//Mod.
//----------------------------------------------------------------------------------------------------------
//Mod.
/*
// calcolo del Blocco Genesi
// Resettiamo il valore del blocco
consensus.hashGenesisBlock = uint256S("0x");
std::cout << std::string("Iniziamo a calcolare il blocco:\n");
if (true && (genesis.GetHash() != consensus.hashGenesisBlock)) {

Keybase proof

I hereby claim:

  • I am interbiznw on github.
  • I am j62 (https://keybase.io/j62) on keybase.
  • I have a public key ASAL_W0pfvrRFgzcSJlEtaMpyhwRjZgESCIGj1Zq0_0Shgo

To claim this, I am signing this object:

@interbiznw
interbiznw / certbot_cloudflare_dns.sh
Created August 30, 2018 07:46 — forked from jult/certbot_cloudflare_dns.sh
script to install latest certbot with cloudflare dns-01 challenge plugin (for debian 9/stretch)
#!/bin/sh
# Check if user has root privileges
if [[ $EUID -ne 0 ]]; then
echo "You must run the script as root or using sudo"
exit 1
fi
## Reconfigure Dash
echo "dash dash/sh boolean false" | debconf-set-selections
<img class="alignnone size-medium wp-image-1010" src="https://btcpgear.com/wp-content/uploads/2018/04/20180517_164145-300x300.jpg" alt="" width="300" height="300" />
Bitcoin Private Vinly Cut Decal, 2" x 2" $4.00USD
<div id="btcpprice"></div>
[raw]
<script id="convert">
var btcPrivate;
var btcpAmount;
var btcpAmount2;
if (full_user !== bot_user && msg.includes("when fork") || msg.includes("fork date") || msg.includes("when is fork")) {
bot.sendTyping();
bot.sendMessage("Hello " + mention + " The SNAPSHOT D​ate Was 2/28/2018, The F​or\u200B​​k Happened Between 3/2/2018 and 3/3/2018 and the BTCP mainnet is now LIVE☕");
}
if (full_user !== bot_user && msg.includes("bittrex support") || full_user !== bot_user && msg.includes("exchange support")) {
@interbiznw
interbiznw / install-btcpd-as-a-service.sh
Created March 5, 2018 22:52
Script to install btcpd as a service - edit paths before running script- MUST be ran with elevated privileges
#!/bin/bash
#Created by J62 (http://github.com/interbiznw) for the Bitcoin Private Team.
#Edit this below with proper user and group, user directory and paths to daemon and config folders
echo "Creating Service File..."
sleep 2
cat << EOF > /usr/lib/systemd/system/btcpd.service
[Unit]
Description=Bitcoin Private distributed currency daemon
After=network.target