- Windows key as the "Mod" key
- Mod-p starts dmenu to run applications
- Mod-L locks the screen (using gnome-screensaver)
- Volume/mute keys supported
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/sh | |
# The suggested packages are required to build documentation. | |
sudo apt-get install --install-suggests r-base-dev |
You need docker.
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(codetools) | |
addMatrixHandler <- function(fn) { | |
addCollectUsageHandler('[', 'base', fn) | |
} | |
myMatrixHandler <- function(e, w) { | |
w$enterGlobal("function", "[", e, w) | |
if (length(e) > 3 && !('drop' %in% names(e))) { | |
simple <- sapply(dropMissings(e[-(1:2)]), function(a) { |
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
<html> | |
<head> | |
</head> | |
<body> | |
<script> | |
function loadJSON(form) { | |
console.log(form); | |
var files = form.file.files; | |
for (var i = 0; i < files.length; ++i) { | |
var file = files[i]; |
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
network <- ... # wherever your network comes from | |
model <- mtc.model(network) | |
result <- mtc.run(model) | |
result <- relative.effect(result, t1="A") # make sure everything is relative to the same reference | |
# transform the LOR to the LRR using an assumed probability for the reference treatment A | |
lor.to.lrr <- function(lor, p.A) { | |
lo.A <- log(p.A / (1 - p.A)) | |
lo.B <- lo.A + lor # absolute log-odds of B |
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
From ceeb12b5737802006b6ca984ad2f45faf26db8ff Mon Sep 17 00:00:00 2001 | |
From: Gert van Valkenhoef <g.h.m.van.valkenhoef@rug.nl> | |
Date: Sat, 17 Mar 2012 12:12:59 +0100 | |
Subject: [PATCH] Optionally build using Maven | |
--- | |
build.xml | 16 +++++++++++++ | |
maven/core/pom.xml | 33 +++++++++++++++++++++++++++ | |
maven/j2se/pom.xml | 38 +++++++++++++++++++++++++++++++ | |
maven/pom.xml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ |