Skip to content

Instantly share code, notes, and snippets.

View gabrielsond's full-sized avatar

Damien Gabrielson gabrielsond

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gabrielsond on github.
  • I am gabrielsond (https://keybase.io/gabrielsond) on keybase.
  • I have a public key ASAZ_D_b3s99ZnwMw-4zB2aFOcVMnFd_atSbIJwqzi14xgo

To claim this, I am signing this object:

@gabrielsond
gabrielsond / tumblreditpostcustomdomain.js
Created September 3, 2020 01:04
My Custom Domain Tumblr: Edit Post Bookmarklet
javascript:(function(){window.open('https://www.tumblr.com/edit/'+location.href.replace('https://damiengabrielson.com/post/','').split(/\//)[0]+'/?redirect_to=/blog/gabrielsond')})();
@gabrielsond
gabrielsond / unraid_3060_lhr_38mhs.sh
Last active April 21, 2022 13:53
Script to prepare two 3060 LHR GPUs for mining on unraid (with trex Docker container). Apply this script on first array start using User Scripts Community Application.
# Tested on 2 x https://www.techpowerup.com/gpu-specs/msi-rtx-3060-ventus-2x-oc-lhr.b9132
# Unraid NVIDIA Driver community app installed and running v495.46
#
# nvidia-smi --query-gpu=gpu_name,gpu_bus_id,vbios_version --format=csv
# name, pci.bus_id, vbios_version
# GeForce RTX 3060, 00000000:01:00.0, 94.06.25.00.87
# GeForce RTX 3060, 00000000:02:00.0, 94.06.25.00.87
#
# ----------------------20220421 04:10:09 ----------------------
# Mining at us2.ethermine.org:5555 [172.65.230.90], diff: 4.29 G
# Tested on https://www.techpowerup.com/gpu-specs/asus-dual-rtx-3070-oc.b8031
# BIOS Flashed to https://www.techpowerup.com/vgabios/231668/asus-rtx3070-8192-210308-1
# Unraid NVIDIA Driver community app installed and running v460.84 or v470.42.01
# nvidia-smi --query-gpu=gpu_name,gpu_bus_id,vbios_version --format=csv
# name, pci.bus_id, vbios_version
# NVIDIA GeForce RTX 3070, 00000000:01:00.0, 94.04.3A.40.21
# Mining Statistics
# ================== [nbminer v39.2] Summary 2021-09-16 10:33:21 ===================
@gabrielsond
gabrielsond / Ethermine Payouts to Crypto.com.md
Last active August 16, 2022 23:07
"Easy", Near Zero Fee Ethermine to Crypto.com through Polygon Payouts

"Easy", Near Zero Fee Ethermine to Crypto.com through Polygon Payouts

  1. Mine on Ethermine (https://ethermine.org/start)
  2. Sign up for L2 Polygon (MATIC) payouts (https://ethpool.freshdesk.com/support/solutions/articles/8000060967-ethermine-org-payout-policy)
    1. Connect wallet with MetaMask
  3. Wait for Ethermine payout on Polygon
  4. Confirm PoS-WETH balance from Ethermine payout (Option 2 is my preference now)
    1. Open MetaMask (App/Extension)
    2. Add Polygon network to MetaMask (https://docs.polygon.technology/docs/develop/metamask/config-polygon-on-metamask/)
  5. Check balances on Polygon Network
@gabrielsond
gabrielsond / xorg.conf
Last active December 21, 2021 00:02
X.org Configured for Intel (mode-setting) Graphics and NVIDIA (2x GPU) Compute
# The purpose of this configuration is to use an integrated Intel GPU for Xorg graphical display while using NVIDIA GPU(s)
# for compute applications (NOT for actual display in Xorg).
#
# The use case for this configuration is enabling a desktop system to fully function with basic hardware acceleration while
# retaining FULL processing power from discrete GPU(s) for mining, video encoding, etc. In order to enable FULL processing
# power of NVIDIA, nvidia-settings must be used to make overclocking adjustments.
#
# This has been tested with Intel® UHD Graphics 750 (Intel® Core™ i5-11700K Processor) and two
# MSI VENTUS GeForce RTX™ 3060 2X 12G OC LHR (https://www.techpowerup.com/gpu-specs/msi-rtx-3060-ventus-2x-oc-lhr.b9132)
#
@gabrielsond
gabrielsond / xorg.conf
Created September 30, 2021 03:04
X.org Configured for NVIDIA (2x GPU) Compute Only (Virtual Display) for Unraid
# The purpose of this configuration is to use NVIDIA GPU(s) for compute applications (NOT for actual display in Xorg).
#
# The use case for this configuration is enabling an Unraid system to fully function with basic hardware acceleration while
# retaining FULL processing power from discrete GPU(s) for mining, video encoding, etc. In order to enable FULL processing
# power of NVIDIA, nvidia-settings must be used to make overclocking adjustments.
#
# This has been tested with two MSI VENTUS GeForce RTX™ 3060 2X 12G OC LHR
# (https://www.techpowerup.com/gpu-specs/msi-rtx-3060-ventus-2x-oc-lhr.b9132)
#
# Useful resources
@gabrielsond
gabrielsond / nbminer-checker.sh
Last active October 4, 2021 00:03
NBMiner Checker Bash Script
#!/bin/bash
# -----------------------------------------
# NBMiner Checker Script by
# Damien Gabrielson <gabrielsond@gmail.com>
# Requirements: wget curl jq bc
# -----------------------------------------
COUNTER=0
MAXBAD=5
STARTSECONDS=15
WAITSECONDS=3
@gabrielsond
gabrielsond / 3070V1WindowsOverclock.md
Last active November 7, 2022 17:13
NVIDIA RTX 3070 (V1/Non-LHR) Overclock Settings for MSI Afterburner

NVIDIA RTX 3070 (V1/Non-LHR) Overclock Settings for MSI Afterburner

Tested on ASUS DUAL RTX 3070 OC | BIOS

Gaming (Forza Horizon 5-HDR 4K60 Near Extreme settings)

64-bit Windows 10 Version 21H2 (OS Build 19044.1387)

Attribute Value Note
Core Clock +100
Memory Clock +900
@gabrielsond
gabrielsond / nbminer_ethash_3070v1oc.bat
Last active May 11, 2022 03:00
NBMiner Windows Elevated Script With Overclock Settings for NVIDIA RTX 3070 (V1/Non-LHR) @ 62.5MH/S
@echo off
goto :start
=======================================================================================
ASUS DUAL RTX 3070 OC https://www.techpowerup.com/gpu-specs/asus-dual-rtx-3070-oc.b8031
BIOS https://www.techpowerup.com/vgabios/231668/asus-rtx3070-8192-210308-1
------------------- System -------------------
OS: Windows 10 Version 2009, 10.0.22000
CPU: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
RAM: 19357 MB / 32524 MB