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
cd ~/dev/biovis/ | |
git pull | |
cp -r ~/dev/biovis/web/* ~/public_html/biovis | |
cp -r ~/dev/biovis/assignments/* ~/public_html/biovis/assignments | |
cp -r ~/dev/biovis/lectures/* ~/public_html/biovis/lectures | |
cp -r ~/dev/biovis/labs/* ~/public_html/biovis/labs | |
cp -r ~/dev/biovis/vid/* ~/public_html/biovis/vid | |
cd ~/public_html/biovis |
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
### Table | |
### Scenarios | |
1. "age":81, "psa": 20, "stage": 'T2b', "gleason1": 4.0, "gleason2": 5.0, "differentiation": 'moderate' | |
2. "age":80, "psa": 20, "stage": 'T2b', "gleason1": 4.0, "gleason2": 5.0, "differentiation": 'moderate' | |
3. "age":79, "psa": 20, "stage": 'T2b', "gleason1": 4.0, "gleason2": 5.0, "differentiation": 'moderate' | |
4. "age":80, "psa": 20, "stage": 'T2b', "gleason1": 4.0, "gleason2": 5.0, "differentiation": 'moderate' |
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
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
TMUX_VERSION=1.9 |
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
// Google Doodle Basketball Game | |
// Important! Game must be started immediately after code starts. | |
// To do this: | |
// 1. paste the code into the console (don't hit enter!) | |
// 2. center your mouse over the start game button (don't click anywhere!) | |
// 3. hit enter and immediately click the start button. | |
// (bonus feature: stage changes make the player nervous, and they will miss badly) | |
function makeInterval(ms) { | |
return setInterval(function() { |
NewerOlder