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
| /* | |
| This is a test of the binary tree / recursive template parsing example given by Rob Pike | |
| in the go-nuts mailing list. It has been updated to be compatible with go 1.0.3+, including | |
| 1.1beta2. His post can be found here: https://groups.google.com/d/msg/golang-nuts/wk5IyGzHQf8/BeWnz82qEEwJ | |
| Run this with `go test tree_test.go`, not with `go run`. | |
| */ | |
| package main | |
| import ( |
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
| #!/bin/bash | |
| # This script keeps watch on the current project and compiles it continuously as you change files. | |
| # If there are multiple projects with the same final directory name (e.g., /proj/rad and /lib/monster/rad), | |
| # this will kill any other similarly-named running projects' binaries, potentially leading to havoc. | |
| # To run, install fswatch, drop this file into your project directory, make it executable, and run: | |
| # /usr/local/bin/fswatch ./ ./continuous-compile.sh | |
| echo "Re-compiling" |
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
| path <- "/Users/jpirruccello/Downloads" | |
| library(ggplot2) | |
| library(mboost) | |
| #Load the data | |
| y09 <- read.csv(paste(path,"TDI_20082009_FOIL_Press_JP.txt",sep="/"),sep="\t") | |
| y10 <- read.csv(paste(path,"TDI_20092010_FOIL_Press_JP.txt",sep="/"),sep="\t") | |
| #Identify teachers by the following, and make a merged dataframe based on the uniqueness thereof: |
NewerOlder