Skip to content

Instantly share code, notes, and snippets.

View Jeff-Bouchard's full-sized avatar

Jeff Bouchard Jeff-Bouchard

View GitHub Profile
@Jeff-Bouchard
Jeff-Bouchard / install_wormhole.bat
Created July 9, 2025 03:45 — forked from princebot/install_wormhole.bat
Install Python magic-wormhole on Windows.
::
:: This script installs wormhole (https://github.com/warner/magic-wormhole) and
:: its prerequisites. Run this as an administrator.
::
:: Install chocolatey.
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install Python 3.
choco install -y python
@Jeff-Bouchard
Jeff-Bouchard / emercoin.js
Created August 30, 2024 21:23 — forked from azhuravlov/emercoin.js
Emercoin + NodeJS
'use strict';
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
function Connection(username, password, hostname, port, protocol) {
let _this = this;
_this.username = username;
_this.password = password;
_this.hostname = hostname ? hostname : '127.0.0.1';
@Jeff-Bouchard
Jeff-Bouchard / emercoin-raspberry.txt
Created September 7, 2021 05:22 — forked from blizko/emercoin-raspberry.txt
Emercoin ARM Raspbery PI Build
# Get the latest Jessie Image (http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-07-05/2017-07-05-raspbian-jessie-lite.zip)
# Stretch images could fail and require additional magic. At time of writing Emercoind didn't like the default libboost and libssl-dev versions that come in Stretch.
# Check for more - http://downloads.raspberrypi.org/raspbian_lite/images/
# Install System to SD Card
# There could be issues with boot. Check link - https://www.raspberrypi.org/forums/viewtopic.php?t=138163
git clone https://github.com/raspberrypi/firmware --depth=1
# Replace all boot partition contents.
# On successfull boot on the RPI:
@Jeff-Bouchard
Jeff-Bouchard / emercoin-openwrt-cross.txt
Created September 7, 2021 05:21 — forked from blizko/emercoin-openwrt-cross.txt
Emercoin OpenWRT Cross-Compile Build
# Before Build - check Endianness of your target system. Haven't managed to get it working on Big-Endian with TP-Link TL1043-ND (Some notes in code have clues that it is not possible)
# As from https://github.com/corsis/PortFusion/wiki/MIPS-Builds
$ echo -n I | hexdump -o | awk '{ print substr($2,6,1); exit}'
# 0 = big-endian
# 1 = little-endian
apt-get install build-essential ncurses-dev unzip python zlib1g-dev autoconf libtool pkg-config libssl-dev subversion
# Idea Source - http://telecnatron.com/articles/Cross-Compiling-For-OpenWRT-On-Linux/index.html
<?php
class StorageRequest
{
protected $data;
protected $error;
function __construct($dsn, $method, $params = [])
{
@Jeff-Bouchard
Jeff-Bouchard / nginx.conf
Created December 8, 2020 02:57 — forked from Delivator/nginx.conf
nginx skynet.local config
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;