Skip to content

Instantly share code, notes, and snippets.

View jwintersinger's full-sized avatar

Jeff Wintersinger jwintersinger

View GitHub Profile
============================
Test Contents (thanks, Kent)
============================
Composition: short-answer questions
Look at exercises in Prag Prog book
Contents:
JS basics
Class, object, sequence diagrams
Basic OOP
Use cases
#!/usr/bin/env python
# Usage: python blosum.py blosum62.txt
# Then, enter input in "row col" format -- e..g, "s f".
import sys
class InvalidPairException(Exception):
pass
class Matrix:
def __init__(self, matrix_filename):
#name=java_singleproc
name=java_threaded
#name=node_async
host=http://localhost:8124
n=1000
for file in {small,large}.jpg; do
for c in 1 50 100 1000; do
cmd="ab -n $n -c $c $host/$file"
echo "Running $cmd ..."