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.
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
Laravel extended cleanup alias
July 21, 2024
That could help in weird cases (like livewire stuck out of local APP_ENV, for example).
alias ar-clear-all='rm -rf ./storage/framework/{cache, sessions, testing, views} && rm -f ./bootstrap/cache/* && php artisan optimize:clear && php artisan cache:clear && php artisan config:clear && php artisan route:clear && php artisan clear-compiled && composer dump-autoload'
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.
Xfce Terminal / Terminal Emulator - save tabs config
July 19, 2024
Usually there is a need to save tabs and its folder locations of Terminal to avoid routine everyday actions. There is a different terminals (Windows Terminal is my fav for Win 10), some of them has option to save tabs settings, some of them can't.
In case of Xfce Terminal we have an option to use command line to resolve this issue.
Man is the man, as usual .)
In case of Xfce Terminal we have an option to use command line to resolve this issue.
Man is the man, as usual .)
man xfce4-terminalTons of interesting things there, but for me this simple line is enough
xfce4-terminal --maximize -T "HOST OS" --working-directory=/home/ijin --tab -T "!! GUEST OS !!" --working-directory=/home/ijin/vagrant-vms/tatuinAdded that to launcher and that is it. Fix paths and tab names for yourself.