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
Initial: | |
[[0 1 1 0 1] | |
[0 0 1 0 1] | |
[0 0 0 0 0] | |
[0 1 1 0 1] | |
[0 0 0 0 0]] | |
Top: | |
[[0 1 1 0 1] | |
[0 0 1 0 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
Configurator/Accordion/Canvas###21 | |
Configurator/Accordion/Canvas###27 | |
Configurator/Accordion/Canvas###31 | |
Configurator/Accordion/Canvas###42 | |
Configurator/Accordion/Canvas###45 | |
Configurator/Accordion/Canvas###48 | |
Configurator/ActionScript/ScriptFile/desc###100 | |
Configurator/ActionScript/ScriptFile/desc###104 | |
Configurator/ActionScript/ScriptFile/desc###108 | |
Configurator/ActionScript/ScriptFile/desc###112 |
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 random | |
recur_calls = 0 | |
dp_calls = 0 | |
def make_board(n, max_val_mag): | |
board = [] | |
for i in range(n): | |
board.append([]) | |
for j in range(n): |
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
#!/usr/bin/env python3 | |
''' | |
For each query listed in a BLAST XML results file, determine how much of the | |
query sequence is covered by the "best" hit. The best hit is deemed to be the | |
one in which the summed bitscores of its compatible HSPs is highest. Mutually | |
compatible HSPs are deemed to be ones that neither overlap nor "cross" each | |
other. | |
Usage: | |
cat blast_results.xml | find-best-hit.py |
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
Olympic Weightlifting Level I (eight one-hour classes) | |
This 8 week class is designed for true beginners with little to no previous weight training experience. Participants will learn the basics of weightlifting starting with the Olympic squat and deadlift and moving to the power snatch and power clean in a progressive manner. By the end of the session, participants will gain hip and shoulder flexibility along with leg and core strength. | |
Fundamentals of Weight Training (six one-hour classes) | |
Learn to train effectively and safely following appropriate exercise progressions under the supervision of a certified trainer. Participants will be introduced to a series of fundamental exercises commonly used in training programs such as squats, lunges and rows. Participants will learn how to create a personalized program using a variety of training methods and be familiarized with most of the equipment in the weight room. |
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
51763946673 |
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
#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 ..." |
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
============================ | |
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 |
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
Search should be consistent | |
Centre the search | |
Put it in top right/left, just below horizontal bar | |
On opposing side of it, have header describing what page you're on ("Dashboard", "Discussion") | |
Then, search always stays in exact same spot | |
How we should have search bar on every page: like on search results page, with bar across top -- perhaps centre it | |
Calling attention to search: | |
Can put light grey bar behind it |
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
testHelpers.makePutReq('/api/memos/1', { | |
title: 'My new title', | |
postDate: 1433820201, | |
content: 'My new body.', | |
id: 1, | |
posterID: 2 | |
}, function(res) { | |
// On response | |
}, function(body) { | |
// On complete |
OlderNewer