

0·
3 months agoCan continuously loop over the file, examine the md5 hash for changes.
Run the script if it has changed.
https://stackoverflow.com/questions/6475252/bash-script-watch-folder-execute-command
daemon() {
chsum1=""
while [[ true ]]
do
chsum2=`find src/ -type f -exec md5 {} \;`
if [[ $chsum1 != $chsum2 ]] ; then
if [ -n "$chsum1" ]; then
compile
fi
chsum1=$chsum2
fi
sleep 2
done
}
I’m going to take all the sacrifices my parents made to help ensure I have a successful life.
I’m going to have no problem getting a great job with, or without education.
I’m going to get into the housing market on a basic salary no problem.
I’m going to bring kids into this world, and make sure they earn their own way.
I’m going to shame them into leaving home as early as possible, make them rent for most of their life and wonder why they don’t buy a house so they can make money on their investments.
Oh, by the way, i’ll make a ton more money on other peoples kids paying my second, third investment properties mortgage off with their rent.
Then i’ll live a glorious retirement, fully aware that my kids retirement is probably not going to happen ever.