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
# written by faze, revised by BlastHardcheese | |
crawl () { | |
case "$1" in | |
"cao" ) | |
local user="joshua" | |
local server="crawl.akrasiac.org" | |
;; | |
"cdo" ) | |
local user="crawl" |
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 | |
import time | |
from math import sqrt | |
def sieve(stop): | |
''' | |
That sieve of eratosthenes thing. Implemented directly from the | |
pseudocode found here: | |
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes#Implementation | |
''' |