Skip to content

Instantly share code, notes, and snippets.

@idiosync
idiosync / imgur-upload.sh
Created March 29, 2012 03:36
Upload a list of http accessible files to imgur
#!/bin/bash
read -p "Username: " username
read -p "Password: " -s password
echo
BASEURL=${1}
shift
curl -s -F "username=${username}" -F "password=${password}" -c /tmp/imgur_cookie.txt http://api.imgur.com/2/signin > /dev/null
@idiosync
idiosync / mcgenerate.sh
Created March 29, 2012 03:31
Script to generate terrain and render maps from Minecraft seeds.
#!/bin/bash
#set -e
USAGE="Usage: ${0} [options]
Uses mcexplore.py to explore a seed, and c10t to make a number of maps of that seed.
Requires:
mcexplore.py (https://gist.github.com/854679)
#!/bin/bash
read -p "Username: " username
read -p "Password: " -s password
echo
BASEURL=${1}
shift
curl -s -F "username=${username}" -F "password=${password}" -c /tmp/imgur_cookie.txt http://api.imgur.com/2/signin > /dev/null
#!/bin/bash
#set -e
USAGE="Usage: ${0} [options]
Uses mcexplore.py to explore a seed, and c10t to make a number of maps of that seed.
Requires:
mcexplore.py (https://gist.github.com/854679)