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
%TCIDATA{Version=5.00.0.2570} | |
%TCIDATA{LaTeXparent=0,0,sw-edit.tex} | |
% $Id: acronyms.tex 11537 2014-05-27 03:52:54Z vilhuber $ | |
% $URL: https://trac.vilhuber.org/svn/LEHD/branches/ticket983-snapshot2012/05_documentation/acronyms.tex $ | |
% | |
% Define acronyms to be used in the text here. See | |
% http://www.mackichan.com/index.html?techtalk/456.htm~mainFrame for usage in | |
% Scientific workplace context |
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 | |
# from https://tex.stackexchange.com/questions/24542/create-list-of-all-external-files-used-by-master-latex-document | |
# use the perl script mkjobtexmf available with every TeX distribution and run it like | |
latex_file=test | |
mkjobtexmf --jobname $latex_file --cmd-tex pdflatex | |
# | |
#it creates an file <latex file>.fls which shows all used files, e.g. for a testfile named latex6: | |
# | |
#PWD /home/voss/Documents | |
#INPUT /usr/local/texlive/2011/texmf.cnf |
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
%!TeX TXS-program:bibliography = txs:///biber | |
\documentclass{article} | |
\usepackage{authblk} | |
\usepackage[% | |
plainpages,% | |
colorlinks,% removes the boxes around links | |
urlcolor=black,% | |
filecolor=black,% | |
citecolor=Blue,% requires xcolor with option dvipsnames | |
pdfpagemode=UseOutlines,% |
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/bash | |
# get Wacom IDS | |
[[ -z $1 ]] && undo= || undo=yes | |
WACOM_IDS=$(xinput --list | grep "Wacom" | awk -F= '{ print $2 } ' | awk ' { print $1 } ') | |
# get device | |
INTERNAL=LVDS1 | |
for arg in $WACOM_IDS | |
do | |
xinput --map-to-output $arg $INTERNAL | |
done |
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
\usepackage{etoolbox} | |
\usepackage{geometry} | |
\usepackage[usenames,dvipsnames]{xcolor} | |
\usepackage{versions} | |
\usepackage{placeins} % for \FloatBarrier | |
\usepackage{setspace} | |
\newcommand{\red}{\color{red}} | |
\newcommand{\blue}{\color{blue}} | |
\newcommand{\green}{\color{green}} |
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
*.aux | |
*.log | |
*.nav | |
*.out | |
*.snm | |
*.toc | |
*.gz | |
*.blg | |
*.bbl | |
*.bcf |
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
/* config.do */ | |
/* Suggested by Lars Vilhuber */ | |
/* Create a reproducible Stata sequence by calling this program from every other program in your sequence */ | |
/* Get it at: https://gist.github.com/larsvilhuber/6bcf4ff820285a1f1b9cfff2c81ca02b */ | |
/* Usage: | |
Adapt to your needs, save as config.do, then add | |
include "config.do" | |
in the author's main Stata program | |
*/ |
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
/* 00_setup.do */ | |
/* Suggested by Lars Vilhuber */ | |
/* Create a reproducible Stata sequence by running this file as the first part of the program sequence */ | |
/* Get it at https://gist.github.com/larsvilhuber/8ead0ba85119e4085e71ab3062760190 */ | |
/* install any packages locally */ | |
// Make a path local to the project | |
// Also see my related config.do at https://gist.github.com/larsvilhuber/6bcf4ff820285a1f1b9cfff2c81ca02b | |
local pwd "/c/path/to/project" | |
capture mkdir `pwd'/ado |
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/bash | |
# now open a browser, after letting Tomcat spin up | |
echo " | |
============ CED2AR =============== | |
To exit CED2AR, hit CTRL-C in the Terminal. | |
Waiting 10s for Tomcat to start" | |
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/bash | |
# https://gist.github.com/robwierzbowski/5430952/ | |
# Create and push to a new github repo from the command line. | |
# Grabs sensible defaults from the containing folder and `.gitconfig`. | |
# Refinements welcome. | |
# Gather constant vars | |
CURRENTDIR=${PWD##*/} | |
GITHUBUSER=$(git config github.user) |