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
library(whisker) | |
library(knitr) | |
responses <- read.csv(file="applicants.csv", stringsAsFactors=FALSE) | |
# names(responses)[ncol(responses)] <- "attendance" | |
responses_lst <- apply(responses, 1, function(x) as.list(x)) | |
template <- " | |
-------------------- |
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.regex.Pattern; | |
import java.util.regex.Matcher; | |
public class benchmarking_java { | |
public static void main(String[] args) { | |
// regular expression | |
//Pattern pattern = Pattern.compile("^.*(.*?)<i>\\s*([^<]*)\\s*<\\/i>(.*).*$"); | |
Pattern pattern = Pattern.compile("^(.*?)<i>\\s*([^<]*)\\s*<\\/i>(.*)$"); | |
long startTime = 0; |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<nex:nexml | |
version="0.9" | |
xsi:schemaLocation="http://www.nexml.org/2009 http://www.nexml.org/2009/nexml.xsd" | |
xmlns:phen="http://www.bioontologies.org/obd/schema/pheno" | |
xmlns:gml="http://www.opengis.net/gml" | |
xmlns:dwc="http://rs.tdwg.org/dwc/terms/" | |
xmlns:dcterms="http://purl.org/dc/terms/" | |
xmlns="http://www.nexml.org/2009" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |