Skip to content

Instantly share code, notes, and snippets.

View Crossedfall's full-sized 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 / wsl-setup.sh
Last active June 19, 2020 09:55
Automated setup of an Ubuntu wsl instance for Redbot development
#!/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
@Crossedfall
Crossedfall / engraving_scrubber.py
Last active March 16, 2021 22:17
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 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