lspci -k | grep -EA3 'VGA|3D|Display'
Encrypt:
tar cz folder_to_encrypt | openssl enc -aes-256-cbc -e > out.tar.gz.enc
Decrypt using OpenSSL:
openssl enc -aes-256-cbc -d -in out.tar.gz.enc | tar xz
Decrypt using PGP:
gpg --encrypt out.tar.gz
cat [filename] | while read line; do [command] "$line"; done
while true; do echo 'Press CTRL+C to stop the script execution'; done
Install two utilities ag
and entr
:
sudo aptitude install silversearcher-ag entr
Then start watching to invoke a callback command:
ag -l | grep src | entr -p echo /_ "changed"
ps -eff | grep -v grep | grep "celery worker" | awk '{print $2}'
ps -eff | grep -v grep | grep "celery worker" | xargs -I {} kill -15 {}
find . -name "*.swp" | xargs -I '{}' rm '{}'
docker run -p 8008:8008 --env-file chanakya_env.list -it --entrypoint /bin/bash sensibull/chanakya-staging
docker run -p 8099:8099 --env-file /home/ubuntu/chanakya_jobserver_env.list --name chanakya-jobserver-instance -it --entrypoint /bin/bash sensibull/chanakya-jobserver-st
aging