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
#include <Rcpp.h> | |
#include <string> | |
#include <vector> | |
// [[Rcpp::export]] | |
void print_vector(vector<std::string> input) | |
{ | |
for( std::vector<string>::iterator i = input.begin(); i != input.end(); ++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
nohup node DatabaseQuery.js > output.log |
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
PDF[TransformedDistribution[ | |
x + y, {Distributed[x, UniformDistribution[{0, 1}]], | |
Distributed[y, UniformDistribution[{-2, 2}]]}], z] |
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
\documentclass[a4paper]{scrartcl} | |
\usepackage{listings} | |
\usepackage{amsmath} | |
\usepackage{amsfonts} | |
\usepackage{amssymb} | |
\usepackage{inconsolata} | |
\author{Philipp Burckhardt} | |
\title{Homework 6, Due Tuesday Oct 10} |
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
This is a method to using your Ubuntu 12.04 server without the Unity desktop on a very fast remote desktop program. This is by far the best method to managing your Ubuntu server if you like GUI. | |
apt-get install --no-install-recommends ubuntu-desktop | |
apt-get --yes purge unity unity-2d unity-2d-places unity-2d-panel unity-2d-spread | |
apt-get --yes purge unity-asset-pool unity-services unity-lens-* unity-scope-* | |
apt-get --yes purge liboverlay-scrollbar* | |
apt-get --yes purge appmenu-gtk appmenu-gtk3 appmenu-qt | |
apt-get --yes purge firefox-globalmenu thunderbird-globalmenu | |
apt-get --yes purge unity-2d-common unity-common | |
apt-get --yes purge libunity-misc4 libunity-core-5* |
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
R_LIBS_USER="~/R" |
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
sudo ln -s /home/philipp/shinyApps /var/shiny-server/www |
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
nohup mongod --dbpath /var/lib/mongodb |
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
pandoc -t html5 --template=template-revealjs.html --standalone --section-divs --variable theme="beige" --variable transition="concave" slides.md -o slides.html --mathjax --include-in-header=slides.css |
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
Find: | |
(?:(?:https?|ftp):\/\/|www.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|] | |
Replace with: | |
<a href="$&"> $& </a> |
OlderNewer