Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
#
# Calculates the total number of Science Packs needed for research
# in the game Factorio (www.factorio.com).
#
# Created by Gandalfx
# https://gandalfx.github.com
sciences = {
@gandalfx
gandalfx / mcbackup.sh
Last active August 29, 2015 14:01
Minecraft Saves Backup Manager (can be used for other stuff as well)
#!/bin/bash
set -e
help_text='
McBackup creates and manages backups of your Minecraft game saves.
Game saves are expected to be stored in ~/.minecraft/saves.
Backups are stored in ~/.minecraft/backups by default.
To change this edit the $mcdir and $backupdir variables.