Common history in Bash
For common history in bash i found the following bash setup here: http://unix.stackexchange.com/a/48116 ~/.bashrc HISTSIZE=9000 HISTFILESIZE=$HISTSIZE HISTCONTROL=ignorespace:ignoredups history() { _bash_history_sync builtin history "$@" } _bash_history_sync() { builtin history -a #1...
Common history in tcsh
~/.tcshrc set history=10000 set savehist=(10000 merge lock) set histfile=~/.tcsh_history set histdup=erase alias precmd 'history -S ; history -L'
Bash script to open GITK with local and remote branch
EDIT(2015-12-03): Updated the script with the current version i use.. think I should put this on github instead :) So, gitk is a nice tool to utilize when you want...
Systemd status mail on unit failure
So while setting up a Systemd timer and service in my previous article about systemd I ran into a bit of a problem with failure handling. What I wanted was...
Drupal Cron Job with Systemd
EDIT: The first version of this post had no failure handling. So I’ve changed the curl arguments after reading a comment on drupal.org and then I wrote another article handling...