This file contains 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
# Disable crontab -r | |
function crontab () | |
{ | |
# Replace -r with -e | |
/usr/bin/crontab "${@/-r/-e}" | |
} |
This file contains 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
from timeit import timeit | |
try: | |
import numpypy as np | |
except: | |
import numpy as np | |
import math | |
def window_floor(idx, radius): |
This file contains 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
import sys | |
from java.io import * | |
import java.io.InputStream | |
import java.io.FileInputStream | |
import java.lang.String # blah....converting String types between Java/Python is tedious | |
sys.path.append("pdfbox-1.0.0.jar") # or wherever you stashed it | |
import org.apache.pdfbox | |
""" | |
This method merges the FileInputStreams that the streamList points to, into the |