Skip to content

Instantly share code, notes, and snippets.

View snoby's full-sized avatar

Snoby snoby

  • Roswell, Ga.
  • 19:54 (UTC -05:00)
View GitHub Profile
@snoby
snoby / run_abel.sh
Created November 29, 2023 03:27
Docker run command for abel miner
#!/bin/bash
USERNAME=e4003cb89d30389a94563aa3e946cace4552273b5b8ce0e32d0f6223f67f0a13
PASSWORD=vrIUJCLJ5x
docker run -d --name=abel \
--rm \
-e USERNAME=e4003cb89d30389a94563aa3e946cace4552273b5b8ce0e32d0f6223f67f0a13 \
-e PASSWORD=vrIUJCLJ5x \
-e NVIDIA_VISIBLE_DEVICES=all \
@snoby
snoby / hive_os_install.sh
Last active December 4, 2023 19:11
install into hiveos to allow GPU's to be passed to docker container
#!/bin/bash
set -x
apt update -y && apt install gpg sed curl sudo -y
nvidia-driver-update --version 535.113.01
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
FROM ubuntu:22.04 AS base
RUN apt update && DEBIAN_FRONTEND=nointeractive apt install --no-install-recommends -y \
libcurl4-openssl-dev \
wget bash net-tools \
libevent-dev \
uthash-dev \
libboost-chrono-dev \
libboost-filesystem-dev \
libboost-test-dev \
resolvers vipordns
hold valid 60s
defaults
mode tcp
timeout connect 30s
timeout client 1m
timeout server 1m
frontend public-stratum
@snoby
snoby / Dockefile_radiant
Created December 10, 2022 17:44
Dockerfile for radiant
# The Radiant Blockchain Developers
# The purpose of this image is to be able to host Radiant Node (RADN) and electrumx
# Build with: `docker build .`
# Public images at: https://hub.docker.com/repository/docker/radiantblockchain
FROM ubuntu:20.04 as BUILDER
LABEL maintainer="[email protected]"
LABEL version="1.2.0"
LABEL description="Docker image for radiantd node"
variable "proxmox_host_node" {
type = string
}
variable "proxmox_password" {
type = string
sensitive = true
}
+------------------------------------------------------------------------------+
| |
+-------------------+ | Router |
| Cable | | 1 10GB Network card |
| Modem | | |
|
@snoby
snoby / github
Created April 2, 2021 13:12
Install ssh key from github id
ssh-import-id gh:github_username
@snoby
snoby / dsl
Last active March 23, 2020 18:29
Modified SSDT trable.
/*
* AppleUsbPower compatibility table for Skylake+.
*
* Be warned that power supply values can be different
* for different systems. Depending on the configuration
* these values must match injected IOKitPersonalities
* for com.apple.driver.AppleUSBMergeNub. iPad remains
* being the most reliable device for testing USB port
* charging support.
*
@snoby
snoby / gh-dl-release.sh
Created August 28, 2019 12:24
Download from enterprise github behind Oauth redirect.
#!/usr/bin/env bash
#
# gh-dl-release! It works!
#
# This script downloads an asset from latest or specific Github release of a
# private repo. Feel free to extract more of the variables into command line
# parameters.
#
# PREREQUISITES
#