Skip to content

Instantly share code, notes, and snippets.

View listenlight's full-sized avatar

Jesse Crockett listenlight

  • Texas
  • 21:54 (UTC -05:00)
View GitHub Profile
@YoRyan
YoRyan / excavator-driver.py
Last active April 2, 2022 20:36
Cross-platform controller for NiceHash Excavator for Nvidia (aka, NiceHash 2 for Linux). This is no longer maintained, please see https://github.com/YoRyan/nuxhash
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Cross-platform controller for NiceHash Excavator for Nvidia."""
# Example usage:
# $ excavator -p 3456 &
# $ python3 excavator-driver.py
# History:
@davidteren
davidteren / nerd_fonts.md
Last active July 6, 2026 23:47
Install Nerd Fonts via Homebrew [updated & fixed]
@listenlight
listenlight / .bash_functions
Created June 24, 2021 11:22
bash function to add aliases just-in-time and reload the .bash_aliases file
#!/bin/bash
# add alias definitions on the go,
# and reload .bash_aliases into your current shell
function addalias() {
read -p "alias name: " alias_name
read -p "alias cmd: " alias_cmd
cmd_str="alias $alias_name=\"$alias_cmd\""
the_rest=" >> ~/.bash_aliases && . ~/.bash_aliases"