Install nvim, urxvt and zsh:
Arch:
# pacman -S neovim rxvt-unicode zsh wl-clipboard
Debian:
awesome-scanning - another list of tools
SUBSYSTEM=="i2c-dev", ACTION=="add",\ | |
ATTR{name}=="NVIDIA i2c adapter*",\ | |
TAG+="ddcci",\ | |
TAG+="systemd",\ | |
ENV{SYSTEMD_WANTS}+="ddcci@$kernel.service" |
Twitter only works with videos with AAC audio, YUV 4:2:0 pixel format and an aspect ratio between 1:3 and 3:1, according to their developer docs
ffmpeg -i input_video.mp4 -c:a aac -c:v libx264 -filter:v "format=yuv420p" output_video.mp4
#!/bin/bash | |
# /etc/cron.d/mysql_watch_online | |
# Test the database connection and restart on failure | |
mysql -e '\q' | |
if [ $? != 0 ]; then | |
echo `systemctl status mysql` | mail -s "MySQL Databse experience issues | `hostname`" your@email.com | |
systemctl restart mysql | |
fi |
scrot -s ~/Pictures/%d-%m-%y_%h-%m-%T_$wx$h_scrot.png -e 'xclip -selection clipboard -target image/png -i $f' |