Skip to content

Instantly share code, notes, and snippets.

💭
http://orschi.ro

Or Schiro orschiro

💭
http://orschi.ro
Block or report user

Report or block orschiro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .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
@orschiro
orschiro / 50-touchpad.conf
Created Apr 9, 2015
X230 Touchpad Configuration
View 50-touchpad.conf
# 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"
View gist:272c1f9fda4fe1440105
# ~/.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 / CopyQ - Save As.ini
Last active Sep 25, 2015 — forked from hluk/CopyQ - Save As.ini
CopyQ - Save Item/Clipboard To a File
View CopyQ - Save As.ini
[Command]
Command="
copyq:
var suffices = {
'image/svg': 'svg',
'image/png': 'png',
'image/jpeg': 'jpg',
'image/jpg': 'jpg',
'image/bmp': 'bmp',
'text/html': 'html',
@orschiro
orschiro / K99_chromium_exit
Last active Oct 6, 2015
Properly exit Chromium on Ubuntu shutdown or restart
View K99_chromium_exit
# 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 / table.md
Created Jan 19, 2016
Sustainable Consumption Teaching Activities
View table.md
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 / longtable.tex
Created Jan 25, 2016
Longtable example
View longtable.tex
\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
View test.md

Test

Test to embed this gist on Medium and Wordpress.com

@orschiro
orschiro / 0_reuse_code.js
Created Mar 28, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@orschiro
orschiro / publish-content-commons.md
Created Mar 28, 2016
Publishing content to the Commons
View publish-content-commons.md

Publishing content to the Commons

I have finally found a good working way for me to publish all my creative content to the Commons.

  • For videos I use YouTube and their Creative Commons option
  • For entire photo albums I use Flickr
  • For single photos I use Wikimedia Commons
  • For audio files I use the Internet Archive
  • For text like this I use Github Gist
You can’t perform that action at this time.