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
# Quick cp from http://sekati.com/etc/install-nodejs-on-debian-squeeze | |
# | |
# Needed to install TileMill from MapBox | |
# | |
# Installs node.js which has npm bundled | |
# | |
# Build Dependencies (the -y flag avoids [Y/n] menus) | |
sudo apt-get update -y && sudo apt-get install git-core curl build-essential openssl libssl-dev -y |
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
#!/usr/bin/env python | |
# | |
# Converts any integer into a base [BASE] number. I have chosen 62 | |
# as it is meant to represent the integers using all the alphanumeric | |
# characters, [no special characters] = {0..9}, {A..Z}, {a..z} | |
# | |
# I plan on using this to shorten the representation of possibly long ids, | |
# a la url shortenters | |
# |