This is a simple log watcher written in python 3, works similar to swatch (perl).
DEPRECATION WARNING: maybe you would like more this one https://gist.github.com/iacchus/acbd0ca89c1bd4a1deb7a472dfee931b
#!/usr/bin/env python3
# follow.py
This is a simple log watcher written in python 3, works similar to swatch (perl).
DEPRECATION WARNING: maybe you would like more this one https://gist.github.com/iacchus/acbd0ca89c1bd4a1deb7a472dfee931b
#!/usr/bin/env python3
# follow.py
#!/usr/bin/env python3 | |
# follow.py | |
# | |
# Follow a file like tail -f. | |
import sys | |
import time | |
from iplib import check_ip as CHECKIP |
As seen here: http://blog.z3bra.org/2014/01/images-in-terminal.html
Install packages w3m and some terminal emulator which supports images (urxvt, terminator, termite).
<VirtualHost *:80> | |
ServerName forum.example.com | |
# ServerAdmin webmaster@localhost | |
<Proxy *> | |
Require all granted | |
</Proxy> |
<VirtualHost *:80> | |
ServerName forum.example.com | |
Redirect permanent / https://forum.example.com | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName forum.example.com |
It's a common confusion about terminal colors... Actually we have this:
The 256 color palete is configured at start, and it's a 666 cube of colors, each of them defined as a 24bit (888 rgb) color.
sudo apt-get install build-essential automake checkinstall
sudo apt-get build-dep weechat
This is a local copy of the commands from: