start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
sudo -s <<EOF | |
zypper dup -l -y --no-recommends --allow-downgrade --allow-arch-change --force-resolution | |
flatpak update -y --noninteractive --force-remove | |
flatpak remove --unused --delete-data -y | |
#flatpak repair | |
journalctl --rotate | |
journalctl --vacuum-time=2d | |
zypper clean | |
rm -rfv /var/tmp/flatpak-cache-* |
sudo modprobe -r pcspkr | |
echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf > /dev/null |
initial setup: | |
1. ssh into your server and create a new tmux session called irc: | |
$> ssh -t $user@$server tmux new -A -s irc | |
2. Run an irc client of your choice like irssi or weechat: | |
$> weechat | |
3. Configure the client to your liking. |
#!/usr/bin/env python3 | |
""" | |
task is a small command line utility to create, list, remove, and edit tasks. | |
""" | |
# TODOS/TASKS: | |
# - add the code | |
import argparse | |
import datetime |
#!/usr/bin/env python3 | |
import argparse | |
import logging | |
from logging.config import dictConfig | |
import sys | |
__version__ = "0.2.0" | |
__author__ = "Tux Penguin <tux@example.net>" |
#!/bin/bash | |
# | |
# Copyright 2016-2021 Martin Goellnitz | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
# the following two lines give a two-line status, with the current window highlighted | |
hardstatus alwayslastline | |
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
# huge scrollback buffer | |
defscrollback 5000 | |
# no welcome message | |
startup_message off |