(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/bin/sh | |
# provide blocking to prevent duplicates | |
echo $$ | |
LOCKFILE=/tmp/mautic.lock | |
if [[ -a $LOCKFILE ]] ; then | |
echo "Already running?" |
#!/usr/bin/python | |
# vim: fileencoding=utf-8 | |
u'''Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- | |
foo: |
#!/usr/bin/python | |
# vim: fileencoding=utf-8 | |
u'''Translate YAML written text to graphviz dot language | |
Input YAML text like below: | |
--- | |
employee: | |
- name | |
- age |
# Postfix stuff based on https://gist.github.com/jbrownsc/4694374: | |
QUEUEID (?:[A-F0-9]+|NOQUEUE) | |
EMAILADDRESSPART [a-zA-Z0-9_.+-=:]+ | |
EMAILADDRESS %{EMAILADDRESSPART:local}@%{EMAILADDRESSPART:remote} | |
RELAY (?:%{HOSTNAME:relayhost}(?:\[%{IP:relayip}\](?::[0-9]+(.[0-9]+)?)?)?) | |
POSREAL [0-9]+(.[0-9]+)? | |
DELAYS (%{POSREAL}[/]*)+ | |
DSN %{NONNEGINT}.%{NONNEGINT}.%{NONNEGINT} | |
STATUS sent|deferred|bounced|expired |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: elasticsearch | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Starts elasticsearch | |
# Description: Starts elasticsearch using start-stop-daemon | |
### END INIT INFO |