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 python3 | |
import hashlib | |
import itertools | |
import os | |
import sqlite3 | |
import urllib.parse | |
def main(): | |
db = sqlite3.connect('./metainfo.db') |
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
#!/Users/v64/.bin/j | |
NB. qsort is the implementation of the quicksort algorithm in J. | |
NB. | |
NB. With just two small modifications, the output of the algorithm | |
NB. can be changed to output a nested data structure illustrating | |
NB. the pivot points of the sort. | |
NB. | |
NB. Interesting demonstration about the strength of expressing | |
NB. algorithms this way. |
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 [ ! $1 ] | |
then | |
echo "Subdomain argument is required" | |
exit | |
fi | |
export EC2_HOME="/your/path/to/ec2/tools" | |
export JAVA_HOME=$(/usr/libexec/java_home) |