[ Launch: Tributary inlet ] 81adf5aea7f60c0b704b by willium
This file contains hidden or 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
$('input#search').quicksearch('.block'); |
This file contains hidden or 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
var current = 0; | |
var meds = 0; | |
var gun = '0'; | |
var quest = 'none'; | |
var randNum; | |
var james = 'not_done'; | |
var note = 'not_done'; | |
var mine = 'not_done'; | |
var quests_done = 0; |
This file contains hidden or 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
publac | |
is that better? |
This file contains hidden or 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
print ("This program will find Mass(kg), Radius(m) or Time(s) via Kepler's law's") | |
print ("Enter x for the unknown value") | |
m = (input("Mass: ")) | |
r = (input("Radius: ")) | |
t = (input("Time: ")) | |
x = ("unknown") | |
if m == x: | |
m = ((4*3.14*r**3)/(.0000000000667*t**2)) | |
print ("m=") | |
elif r == x: |
This file contains hidden or 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 Andrzej Szelachowski's ~/.bash_profile: | |
# Note that a variable may require special treatment | |
#+ if it will be exported. | |
DARKGRAY='\e[1;30m' | |
LIGHTRED='\e[1;31m' | |
GREEN='\e[32m' | |
YELLOW='\e[1;33m' |
This file contains hidden or 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
@bg: #262626; | |
@primary: #D6D6D6; | |
@secondary: #979797; | |
@light: #d8d8d8; | |
@gold: #FACB60; | |
@green: #50E3C2; | |
@height: 600px; | |
@border: 5px; | |
@width: (2/3) * @height; |
This file contains hidden or 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
############################################### | |
# SETUP | |
############################################### | |
# set working directory | |
setwd("/Users/willium/Documents/School/uw/2015-2016/Quarter 1/Stat 311/assignments/group-1") | |
# load data.csv into variable d | |
d <- read.csv("data.csv", header=TRUE, as.is=TRUE, na.strings=c("", "NA")) # d is data |
This file contains hidden or 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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<style> | |
path { | |
fill: none; | |
stroke: steelblue; | |
stroke-width: 2px; | |
} |
This file contains hidden or 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
pop.var <- function(x) var(x) * (length(x)-1) / length(x) | |
pop.sd <- function(x) sqrt(pop.var(x)) |
OlderNewer