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
| results <- "3628:Access Grid:http://www.accessgrid.org/:1:A:accessgrid:accessgrid.sourceforge.net:The Access Grid (AG) is the ensemble of resources that can be used to support human interaction across the grid. It consists of multimedia display, presentation and interactions environments, and high-quality audio.:other:953140832:1:0:1:0:1:6:http://mailto:accessgrid-tech@lists.sourceforge.net:10:1:0:0:1::::::1343793057:1:0::0: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
| # Misc. | |
| sudo dpkg-reconfigure tzdata | |
| sudo /etc/init.d/datadog-agent stop | |
| # Update the system | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get dist-upgrade | |
| sudo apt-get autoremove |
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
| if (!suppressMessages(require(ggplot2))) install.packages('ggplot2') | |
| library(ggplot2) | |
| seriesA <- data.frame( | |
| year = c(2008, 2009, 2010, 2011, 2012, 2013), | |
| avgRoundSize = c(3.6, 4.6, 4.1, 2.4, 2.8, 4.4) | |
| ) | |
| seriesB <- data.frame( | |
| year = c(2008, 2009, 2010, 2011, 2012, 2013), |
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
| library(data.table) | |
| fileList <- list.files("../cache/FLOSSmole", pattern="\\.RData$", full.names=TRUE) | |
| dataset <- rbindlist(lapply(fileList, FUN=function(file) {as.data.table(load(file))})) |
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
| rm(list=ls(all=TRUE)) # Clear R environment from previous sessions | |
| rds2rda <- function(dataDir = ".", archiveFile = "mergeTestData.rda") { | |
| workDir <- getwd() # save working directory | |
| setwd(dataDir) # set new working directory | |
| objects <- list() | |
| for (file in dir(pattern='\\.rds$')) { |
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
| a <- dir() | |
| lapply(seq_along(a), function(i) head(readRDS(a[i]), 20)) | |
| lapply(seq_along(a), function(i) tail(readRDS(a[i]), 20)) |
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
| export TEXINPUTS=".:path/to/image:other/path:" | |
| #export TEXINPUTS=~/diss-floss/figures//:~/diss-floss/present/images//:${TEXINPUTS} |
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 pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2014.8.10) 18 AUG 2014 05:17 | |
| entering extended mode | |
| restricted \write18 enabled. | |
| %&-line parsing enabled. | |
| **demo-slides | |
| (./demo-slides.tex | |
| LaTeX2e <2011/06/27> | |
| Babel <3.9h> and hyphenation patterns for 2 languages loaded. | |
| (/usr/share/texmf/tex/latex/beamer/base/beamer.cls | |
| (/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty |
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
| # Reproducible process to convert a Microsoft Word document into a TEX document | |
| # | |
| # (Currently under development; partially based on information in the following discussion: | |
| # http://tex.stackexchange.com/questions/46015/converting-ms-word-doc-to-latex-by-command-line) | |
| # | |
| # Step 1. Save Word file as ODT | |
| # | |
| # Step 2. Install or verify installation of Writer2LaTeX (TODO: automate) | |
| # (http://writer2latex.sourceforge.net/) | |
| # |
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
| sudo find / -size +10M -printf "%k %p\n" 2>&1 | sort -k 1 -g -r | grep -v "No such file" |
OlderNewer