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
| #!/bin/bash | |
| cp -rf ~/Library/Application\ Support/minecraft/screenshots ~/Desktop/ |
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
| #!/bin/bash | |
| if [ $# -ne 2 ] | |
| then | |
| if [ "$1" != "run" ] | |
| then | |
| echo "Usage: $0 <world to backup> <world to unpack>" | |
| echo "For best results, run with sudo." | |
| exit | |
| else | |
| java -Xms256M -Xmx496M -jar -XX:MaxPermSize=128M /home/pi/SpigotMC/spigot.jar nogui |
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
| # USAGE: python Letter_Permutations.py <string here> | |
| # Do not put spaces between multiple words in the string | |
| import argparse | |
| import math | |
| # Reads word from argument | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('word', help = "Word to count combinations for") | |
| args = parser.parse_args() |
NewerOlder