Skip to content

Instantly share code, notes, and snippets.

0xa867f9035A5e48E40bB10C82e599aA05217ab370
@normandmickey
normandmickey / setup_clightning.md
Created October 29, 2018 02:46 — forked from Stadicus/setup_clightning.md
Setup c-lightning on Digital Ocean

E-Commerce c-lightning node on Digital Ocean

Prerequisites

  • based on small Digital Ocean VPS (1CPU / 1GB RAM) with Ubuntu 16.04
  • SSH keys are recommended, but not described here
  • (sub) domain name necessary for SSL certificate

UFW & basic stuff

Login as "root"

Change to root user
sudo su -
Locate device name for USB HDD
fdisk -l
Start fdisk using UDB HDD - Important!! replace "sdc" with your device name.
fdisk /dev/sdc
Delete existing partition
@normandmickey
normandmickey / BTCPayServer on Raspiblitz
Last active January 18, 2020 22:06
Install BTCPayServer on RaspiBlitz
#Install Dot-Net for ARM
cd /home/admin
sudo apt-get -y install libunwind8 gettext
wget https://download.visualstudio.microsoft.com/download/pr/9650e3a6-0399-4330-a363-1add761127f9/14d80726c16d0e3d36db2ee5c11928e4/dotnet-sdk-2.2.102-linux-arm.tar.gz
wget https://download.visualstudio.microsoft.com/download/pr/9d049226-1f28-4d3d-a4ff-314e56b223c5/f67ab05a3d70b2bff46ff25e2b3acd2a/aspnetcore-runtime-2.2.1-linux-arm.tar.gz
sudo mkdir /opt/dotnet
sudo tar -xvf dotnet-sdk-2.2.102-linux-arm.tar.gz -C /opt/dotnet/
sudo tar -xvf aspnetcore-runtime-2.2.1-linux-arm.tar.gz -C /opt/dotnet/
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
dotnet --info
@normandmickey
normandmickey / BTCPi
Last active October 29, 2021 11:45
Install BTCPayServer on Raspberry Pi with Pruning and Fast Sync
Order from Lightning in a Box https://lightninginabox.co/product/btcpi/
or
Visit BTCPi.com for DIY instructions.
@normandmickey
normandmickey / wpa_supplicant.conf
Created February 22, 2019 03:09
Raspbian Stretch - WPASupplicant File
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
country=US
network={
ssid="ssid"
psk="password"
key_mgmt=WPA-PSK
}
@normandmickey
normandmickey / keybase.md
Created February 23, 2019 13:15
Keybase

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@normandmickey
normandmickey / BTCPayServer-RaspiblitzV1.3-RPI4B
Last active October 30, 2021 02:23
Install BTCPayServer on Raspiblitz V1.3 - Raspberry Pi 4B
These instructions are outdated.
Please visit https://btcpi.com for detailed instructions on installing BTCPayServer on the Raspberry Pi 4B.
#Install Dot-Net for ARM
cd /home/admin
sudo apt-get -y install libunwind8 gettext libssl1.0
wget https://download.visualstudio.microsoft.com/download/pr/9650e3a6-0399-4330-a363-1add761127f9/14d80726c16d0e3d36db2ee5c11928e4/dotnet-sdk-2.2.102-linux-arm.tar.gz
wget https://download.visualstudio.microsoft.com/download/pr/9d049226-1f28-4d3d-a4ff-314e56b223c5/f67ab05a3d70b2bff46ff25e2b3acd2a/aspnetcore-runtime-2.2.1-linux-arm.tar.gz
sudo mkdir /opt/dotnet
@normandmickey
normandmickey / M5Stack1
Created October 26, 2019 18:41
M5Stack
#include <ezTime.h>
#include <M5ez.h>
#include <M5Stack.h>
#include <ArduinoJson.h>
#include <HTTPClient.h>
void setup() {
ez.begin();
}
#include <ezTime.h>
#include <M5ez.h>
#include <M5Stack.h>
#include <ArduinoJson.h>
#include <HTTPClient.h>
String ONApiKey = "Replace with your ON ApiKey";
String currency = "USD";
void setup() {