Skip to content

Instantly share code, notes, and snippets.

@d2x
d2x / Erigon setup Debian.md
Last active November 30, 2024 21:25
Erigon archive node setup on Debian 12

Quick Erigon setup on Debian

Quick install instructions for running a private Erigon archive node.

Coffee/retirement money appreciated: xetic.eth

Install deps

sudo apt update && sudo apt dist-upgrade -y && sudo apt install build-essential cmake libssl-dev libclang-dev git -y

@d2x
d2x / K8s-DigitalOcean-CoreOS.md
Created March 19, 2019 01:55 — forked from kevashcraft/K8s-DigitalOcean-CoreOS.md
How to Setup Kubernetes on DigitalOcean with CoreOS

Kubernetes on DigitalOcean with CoreOS

Let's look at an example of how to launch a Kubernetes cluster from scratch on DigitalOcean, including kubeadm, an Nginx Ingress controller, and Letsencrypt certificates.

Overview

Environment

We'll be creating a four-node cluster (k8s-master, k8s-000...k8s-002), load balancer, and ssl certificates.

Table of Contents

  1. Install Kubernetes
@d2x
d2x / Amortization.php
Created October 5, 2018 16:59 — forked from pranid/Amortization.php
Amortization Schedule Example -- PHP Version
<?php
/**
* AMORTIZATION CALCULATOR
* @author PRANEETH NIDARSHAN
* @version V1.0
*/
class Amortization
{
private $loan_amount;
private $term_years;