Skip to content

Instantly share code, notes, and snippets.

@orschiro
orschiro / test.md
Created March 28, 2016 06:12
Embed test

Test

Test to embed this gist on Medium and Wordpress.com

@orschiro
orschiro / longtable.tex
Created January 25, 2016 14:14
Longtable example
\begin{sidewaysfigure}[htb]
\begin{longtable}{| p{.10\textwidth} | p{.10\textwidth} | p{0.40\textwidth}| p{0.40\textwidth}|}
\hline
Hypothese & Konstrukt & Operationalisierung der Frage(n) & Operationalisierung der Antwort \\ \hline
H1-1 & Vergütung Fixanteil & Um wie viel Prozent müsste der Grundpreis (€/Monat) des neuen Ladevertrags im Vergleich zu Ihrem Haushaltsstromtarif mindestens reduziert werden, dass Sie am Lademanagement teilnehmen würden? & gar nicht, mindestens 5 \% günstiger; ...; mehr als 30 \% günstiger \\ \hline
H1-2 & Ratenvergütung & Um wie viel Prozent müsste der Verbrauchspreis (€-Cent/kWh) des neuen Ladevertrags im Vergleich zu Ihrem Haushaltsstromtarif mindestens reduziert werden, dass Sie am Lademanagement teilnehmenwürden? & gar nicht, mindestens 5 \% günstiger; ...; mehr als 30 \% günstiger
@orschiro
orschiro / table.md
Created January 19, 2016 15:42
Sustainable Consumption Teaching Activities
Module name English translation Lecturer(s) Teaching institution Country Region Program (degree) Credits (ECTS) Language Consumption focus
Advanced Environmental and Natural Resource Economics Klaus Salhofer TU München Germany Europe Master in Consumer Affairs 6 English
Consumer Affairs Issues Jutta Roosen, Martina Reitmeier
Corporate Sustainability Frank Martin-Belz
@orschiro
orschiro / K99_chromium_exit
Last active October 6, 2015 18:05
Properly exit Chromium on Ubuntu shutdown or restart
# Installation
# 1. Create a script with the below content as /etc/rc6.d/K99_chromium_exit to run the script on shutdown
# 2. Create a script with the below content as /etc/rc0.d/K99_chromium_exit to run the script on restart
# 3. Make the script(s) executable: sudo chmod +x /etc/rc6.d/K99_chromium_exit
/usr/bin/pkill -15 -P 1 chromium-browser
@orschiro
orschiro / CopyQ - Snippets.ini
Created September 25, 2015 06:37 — forked from hluk/CopyQ - Snippets.ini
CopyQ - Dialog for Pasting Snippets
[Command]
Command="
copyq:
var snippetsTabName = 'Snippets'
function newVarRe(content) {
return new RegExp('\\\\${' + content + '}', 'g')
}
function getText(item) {
@orschiro
orschiro / CopyQ - Save As.ini
Last active September 25, 2015 06:38 — forked from hluk/CopyQ - Save As.ini
CopyQ - Save Item/Clipboard To a File
[Command]
Command="
copyq:
var suffices = {
'image/svg': 'svg',
'image/png': 'png',
'image/jpeg': 'jpg',
'image/jpg': 'jpg',
'image/bmp': 'bmp',
'text/html': 'html',
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
@orschiro
orschiro / 50-touchpad.conf
Created April 9, 2015 08:22
X230 Touchpad Configuration
# Add the below configuration to /etc/X11/xorg.conf.d/50-touchpad.conf
Section "InputClass"
Identifier "touchpad"
MatchProduct "SynPS/2 Synaptics TouchPad"
# MatchTag "lenovo_x230_all"
Driver "synaptics"
# fix touchpad resolution
Option "VertResolution" "100"
Option "HorizResolution" "65"
@orschiro
orschiro / tlp
Created March 25, 2015 08:06
X230 Linux Configuration
# ------------------------------------------------------------------------------
# tlp - Parameters for power save
# Hint: some features are disabled by default, remove the leading # to enable
# them.
# Set to 0 to disable, 1 to enable TLP.
TLP_ENABLE=1
# Seconds laptop mode has to wait after the disk goes idle before doing a sync.
@orschiro
orschiro / .zshrc
Created January 22, 2015 14:33
~/.zshrc
#
# .zshrc
#
# Access custom aliases in the shell
[ -e "${HOME}/.zsh_aliases" ] && source "${HOME}/.zsh_aliases"
# Fix command not found after installation
# https://bbs.archlinux.org/viewtopic.php?id=175388
zstyle ':completion:*' rehash true