This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # chia-backup.service | |
| # | |
| # This unit requires manual modification, because the author is lazy. | |
| # You should also have a `chia-backup.timer` file. | |
| # Copy both of these files into /etc/systemd/system | |
| # | |
| # This service takes about 25 minutes on my PC per run. | |
| # | |
| # My node was _easily_ able to keep up with the blockchain during the backup operation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # It's up to you to download these files... | |
| yay -S minecraft-launcher cmpdl | |
| # make sure to select jre8 as the java to use... | |
| java -jar forge-1.14.4-28.1.109-installer.jar # Download Here: https://files.minecraftforge.net/ | |
| # Yeah, you need to use a different java I think... | |
| /usr/lib/jvm/java-8-jre/jre/bin/java -jar /opt/cmpdl/cmpdl.jar | |
| # Select the zip file you downloaded, and a folder, herein referred to as 'folder' | |
| minecraft-launcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import datetime | |
| class Ray: | |
| # Create a Ray iterator | |
| # It iterates starting at start, and goes in some direction, on block at a time | |
| def __init__(self, start, direction): | |
| self.start = start | |
| self.direction = direction | |
| self.t = float(0) |