PostgreSQL
coub
express.js
freeware
git
jquery
laravel
links
linux
macos
mysql
node.js
php
powershell
python
ubuntu
vim
virtualbox
анекдот
блог
игры
интересно
стихи
цитаты
Only missing "active window only" screenshot option, but it isn't critical.
screensaver for console, cmatrix + screen [useless]
July 31, 2024
Install cmatrix (Debian, Ubuntu)
vim ~/.screenrc
sudo apt install cmatrix
vim ~/.screenrc
blankerprg cmatrix -abs -u5 # check out cmatrix -h idle 60 blanker
grep the lines that does NOT contain pattern
July 30, 2024
man grep
-v, --invert-match Invert the sense of matching, to select non-matching lines.Example
cat access_log_with_utm_source.log | sudo grep -v "gclid\|msclkid" > no_gclid_msclkid.log
imho the BEST screenshot tool for debian '24
July 25, 2024
sudo apt install flameshotNothing special, but, so long dear Shutter .)
Only missing "active window only" screenshot option, but it isn't critical.
interface & tools smaple/example keyboard setup hotkey (XFCE) example
MOTD: fortune + cowsay + lolcat
July 22, 2024
Message of the day for your console. Just for fun.
Step1
Result
Step1
sudo apt install fortune fortunes fortunes-ru cowsay lolcatStep2
# vim ~/.bash_aliases ## ru variant alias ff='fortune ru | cowsay | lolcat' ## en variant alias ff='fortune | cowsay | lolcat' ## run each time bash running ffAlias name is up to you, for sure.
Result
screen + mc + vim - broken colors in terminal/console
July 19, 2024
Long time ago i've faced annoying issue with colors under screen/tmux.
Googling a lot i've found that i'm not alone with this.
In short, colors in apps under screen (im active fan of this app) are significantly broken. I've changed color schemes, terminal settings like
Finally solution was found here: https://github.com/busyloop/lolcat/issues/117 (thanks a LOT btw)
Fix in my case looks like this:
Googling a lot i've found that i'm not alone with this.
In short, colors in apps under screen (im active fan of this app) are significantly broken. I've changed color schemes, terminal settings like
term "screen-256color" term "xterm-256color", hacks of terminal files ..and so on. That issue killed a lot of time and nervous. Solution, as usual, was simple and even "stupid". I'm not sure how that was found, i was thinking about same thing but can't reverse that to understand what was happening.
Finally solution was found here: https://github.com/busyloop/lolcat/issues/117 (thanks a LOT btw)
Fix in my case looks like this:
# vim ~/.bash_aliases OR vim ~/.profile OR ENEN vim ~/.bashrc # force cleanup of this var export COLORTERM=Screenshots with description of issue below
No screen, simple xfce terminal - OK Broken colors, mc loaded under screen That painfull pre-set variable vim ~/.bash_aliases Saved, restarted terminal, run screen, run mc - colors fixed.