Skip to content

Instantly share code, notes, and snippets.

View gabrielsond's full-sized avatar

Damien Gabrielson gabrielsond

View GitHub Profile
@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 / 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
# 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 / 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
@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')})();

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: