-
awesome-scanning - another list of tools

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For some reason giving group permission to read/write MATLAB install dir isn't enough | |
# Do this to get the command then run as rot (sudo) | |
ps -eo cmd | grep AddOnInstaller | head -n 1 |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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`" [email protected] | |
systemctl restart mysql | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBSYSTEM=="i2c-dev", ACTION=="add",\ | |
ATTR{name}=="NVIDIA i2c adapter*",\ | |
TAG+="ddcci",\ | |
TAG+="systemd",\ | |
ENV{SYSTEMD_WANTS}+="ddcci@$kernel.service" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scrot -s ~/Pictures/%d-%m-%y_%h-%m-%T_$wx$h_scrot.png -e 'xclip -selection clipboard -target image/png -i $f' |
- Workflow
NewerOlder