Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
You don't get told this enough, but you do great work. Keep it up stranger.

Crossedfall Crossedfall

👻
You don't get told this enough, but you do great work. Keep it up stranger.
View GitHub Profile
@Crossedfall
Crossedfall / engraving_scrubber.py
Last active Mar 16, 2021
This script checks through all the 'ChiselMessages' files, one for each map, and purges old or disliked Soapstone message. It will make a backup of each file before removing any engravings.
View engraving_scrubber.py
"""
This script checks through all the 'ChiselMessages' files, one for each
map, and purges old or disliked Soapstone message. It will make a
backup of each file before removing any engravings.
------------------------------------------------------------------------
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
@Crossedfall
Crossedfall / wsl-setup.sh
Last active Jun 19, 2020
Automated setup of an Ubuntu wsl instance for Redbot development
View wsl-setup.sh
#!/bin/bash
#
# Usage: curl -L wsl.crossedfall.io | bash
#
### Initial setup for pyenv ###
if [ ! -f ~/.bash_functions ]; then
echo -e "export PATH=\"$HOME/.pyenv/bin:$PATH\"\neval \"\$(pyenv init -)\"\neval \"\$(pyenv virtualenv-init -)\"" >> ~/.bashrc
touch ~/.bash_functions
echo -e "export PATH=\"$HOME/.pyenv/bin:$PATH\"\neval \"\$(pyenv init -)\"\neval \"\$(pyenv virtualenv-init -)\"" >> ~/.bash_functions