Skip to content

Instantly share code, notes, and snippets.

@RohanKapurDEV
RohanKapurDEV / improved-lnd-bitcoind-mainnet.md
Created July 21, 2020 10:15 — forked from bretton/improved-lnd-bitcoind-mainnet.md
Detailed guide to installing LND and Bitcoind on Ubuntu 16.04 LTS for Mainnet

Intro

This guide is specific to getting LND 0.5-beta and Bitcoind running on Ubuntu 16.04 LTS for mainnet. It is ageing rapidly and includes steps not necessary on newer versions of LND

Original installation guide:

This guide is broken into the following sections:

  • Install bitcoind and set to start automatically
  • Install development tools and dependancies
@RohanKapurDEV
RohanKapurDEV / toggleHT.sh
Created August 18, 2023 19:54 — forked from samueljon/toggleHT.sh
Disable / Enable HyperThreading cores on runtime - linux
#!/bin/bash
HYPERTHREADING=1
function toggleHyperThreading() {
for CPU in /sys/devices/system/cpu/cpu[0-9]*; do
CPUID=`basename $CPU | cut -b4-`
echo -en "CPU: $CPUID\t"
[ -e $CPU/online ] && echo "1" > $CPU/online
THREAD1=`cat $CPU/topology/thread_siblings_list | cut -f1 -d,`
@RohanKapurDEV
RohanKapurDEV / ColorExt.swift
Created April 27, 2024 11:30 — forked from m1guelpf/ColorExt.swift
Source for the Underlay demo
import SwiftUI
extension Color {
static var background: Color {
return Color(uiColor: .systemBackground)
}
static var secondaryBackground: Color {
return Color(uiColor: .secondarySystemBackground)
}
@RohanKapurDEV
RohanKapurDEV / octal_x86.txt
Created July 8, 2024 22:07 — forked from seanjensengrey/octal_x86.txt
x86 is an octal machine
# source:http://geocities.com/SiliconValley/heights/7052/opcode.txt
From: mark@omnifest.uwm.edu (Mark Hopkins)
Newsgroups: alt.lang.asm
Subject: A Summary of the 80486 Opcodes and Instructions
(1) The 80x86 is an Octal Machine
This is a follow-up and revision of an article posted in alt.lang.asm on
7-5-92 concerning the 80x86 instruction encoding.
The only proper way to understand 80x86 coding is to realize that ALL 80x86