Install nvim with coc.nvim and NERDTree
Add this to your .vimrc:
""" NERDTree
" Show NERDTree file manager
# put me in /etc/systemd/system/display-ip.service | |
[Unit] | |
Description=Display IP address on boot | |
After=multi-user.target | |
After=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/bash -c "echo `ifconfig | awk '/inet /{print $2}'` > /dev/tty1" |
scrot -s ~/Pictures/%d-%m-%y_%h-%m-%T_$wx$h_scrot.png -e 'xclip -selection clipboard -target image/png -i $f' |
#!/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 |
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
SUBSYSTEM=="i2c-dev", ACTION=="add",\ | |
ATTR{name}=="NVIDIA i2c adapter*",\ | |
TAG+="ddcci",\ | |
TAG+="systemd",\ | |
ENV{SYSTEMD_WANTS}+="ddcci@$kernel.service" |
awesome-scanning - another list of tools