Skip to content

Instantly share code, notes, and snippets.

View simonmulser's full-sized avatar
👨‍🚀

Simon Mulser simonmulser

👨‍🚀
View GitHub Profile
@simonmulser
simonmulser / personal.ahk
Last active July 2, 2018 15:14
AutoHotkey scrip
::mfg::Mit freundlichen Grüßen,`nSimon Mulser
::sg::Schöne Grüße,`nSimon Mulser
^!g::Run https://google.com
>!':: Send ä
>!;:: Send ö
>![:: Send ü
>!s:: Send ß

Keybase proof

I hereby claim:

  • I am simonmulser on github.
  • I am mulser (https://keybase.io/mulser) on keybase.
  • I have a public key ASA-3vsxEpnwuXqm-s9YY6yAUOXlqSzEGOcHE83y_hoD9Ao

To claim this, I am signing this object:

@simonmulser
simonmulser / grive.sh
Last active May 23, 2017 14:17
Check if grive didn't finished and print error message to sdout. Crontab will then mail you with postifx (https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/).
#!/bin/bash
grive -p /home/simon/grive >> /tmp/grive.log 2>&1
if tail -1 /tmp/grive.log | grep -qv 'Finished!'; then
echo "There was en error executing grive. check /tmp/grive.log!"
fi
@simonmulser
simonmulser / us
Created April 4, 2017 15:47
partial file /usr/share/X11/xkb/symbols/us - settings to enable german umlaute with altgr
partial alphanumeric_keys
xkb_symbols "intl" {
include "us(basic)"
name[Group1]= "English (US, international with dead keys)";
key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
@simonmulser
simonmulser / .bashrc
Last active July 24, 2017 09:21
personal ubuntu bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
@simonmulser
simonmulser / .inputrc
Last active April 4, 2017 13:01
personal inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
@simonmulser
simonmulser / .gitconfig
Last active November 14, 2018 09:40
git configuration
[alias]
br = branch
st = status
sts = status --short
co = checkout
ci = commit
unstage = reset HEAD --
uncommit = reset --soft HEAD^
slog = log --pretty=oneline --abbrev-commit
@simonmulser
simonmulser / .bash_profile
Last active April 4, 2017 13:02
personal OS X bash profile
export GOPATH=~/Workspaces/go
PATH=$PATH:~/bin:$GOPATH/bin
alias ll='ls -la'
alias asap='cd /Users/simon/Workspaces/asap/airport-core'
alias kipr='cd /Users/simon/Workspaces/kiweno/projects'
alias mineral='cd /Users/simon/Workspaces/Mineralbay/mineralbay'
alias sgs='cd /Users/simon/Workspaces/go/src/github.com/simonmulser/sgs-slackbot'
alias coin='cd /Users/simon/Workspaces/bitcoin'
@simonmulser
simonmulser / gist:c4bab9ff4d33e9ae4b50
Created July 17, 2014 14:19
Elasticsearch template for Logstash output
{
"template": "logstash-*",
"settings" : {
"number_of_shards" : 3,
"number_of_replicas" : 0,
"index" : {
"query" : { "default_field" : "message" },
"refresh_interval" : "30s",
"translog.flush_threshold_size" : "500mb",
"translog.interval" : "30s",