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
### | |
words[2] will be something like: | |
random(x,y) | |
where x and y are either 1 or 2 digit integers | |
### | |
if "random" in words[2]: | |
args = words[2].split(",") |
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
for arg in sys.argv: | |
if arg != sys.argv[0]: | |
if arg.endswith(".4z"): | |
debug("Calling interpreter") | |
if os.path.exists(sys.argv[1]): | |
output = sys.argv[1].replace(".4z", ".java") | |
if not os.path.exists(output): | |
file = open(output, 'w+') | |
file.close() |
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
''' | |
PREFACE | |
This is probably the worst code I have ever written. The optimiation is non-existant, | |
the rules have little forethought and planning, and only the minimal of the procedures | |
that were studied in class were applied. | |
This software should not be taken as representation of my abilities, but more as | |
what a caffiene binge throughout the night can produce. |
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 java.util.*; | |
class tables | |
{ | |
public static void main(String[] args) | |
{ | |
Random rng = new Random(); | |
for(int i = 1; i <= 10; i += 1) |
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
#not /usr/local/bin/perl | |
# Reports a match and position of a Motif | |
# | |
# Input: | |
# One motif pattern file | |
# One sequence file | |
$patternFile; | |
$searchFile; |
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
#not /usr/local/bin/perl | |
# Reports a match and position of a Motif | |
# | |
# Input: | |
# One motif pattern file | |
# One sequence file | |
$patternFile; | |
$searchFile; |
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
''' | |
PREFACE | |
This is probably the worst code I have ever written. The optimiation is non-existant, | |
the rules have little forethought and planning, and only the minimal of the procedures | |
that were studied in class were applied. | |
This software should not be taken as representation of my abilities, but more as | |
what a caffiene binge throughout the night can produce. |
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
/** | |
* Client program requesting current date from server. | |
* | |
* Figure 3.27 | |
* | |
* @author Gagne, Galvin, Silberschatz | |
* Operating System Concepts with Java - Eighth Edition | |
* Copyright John Wiley & Sons - 2010. | |
*/ | |
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
USE acore_auth; | |
SELECT testOne.username, testTwo.username | |
FROM account as testOne, | |
account as testTwo | |
WHERE | |
testOne.username=testTwo.username | |
OR testOne.last_ip=testTwo.last_ip | |
OR testOne.last_ip=testTwo.last_attempt_ip | |
OR testOne.last_attempt_ip=testTwo.last_ip |
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
$(document).ready( function() { | |
$( "#updateForm" ).submit(sendValues); | |
}); | |
function sendValues(e) | |
{ | |
data = $( "#updateForm" ).serialize(); | |
var request = $.ajax({ | |
url: "createaccount.php", | |
type: "POST", |