Check These Out
Record from a webcam, audio using ALSA encoded as MP3, video as MPEG-4.
now you can acces the website by going to http://localhost:2001/
You might want to secure your AWS operations requiring to use a MFA token. But then to use API or tools, you need to pass credentials generated with a MFA token.
This commands asks you for the MFA code and retrieves these credentials using AWS Cli. To print the exports, you can use:
`awk '{ print "export AWS_ACCESS_KEY_ID=\"" $1 "\"\n" "export AWS_SECRET_ACCESS_KEY=\"" $2 "\"\n" "export AWS_SESSION_TOKEN=\"" $3 "\"" }'`
You must adapt the command line to include:
* $MFA_IDis ARN of the virtual MFA or serial number of the physical one
* TTL for the credentials
This command will nicely dump a filesystem to STDOUT, compress it, encrypt it with the gpg key of your choice, throttle the the data stream to 60kb/s and finally use ssh to copy the contents to an image on a remote machine.
-map 0.0:0
map the video of video.mp4 to the video of mix.mp4
-map 1.0:1
map the audio of audio.mp3 to the audio of mix.mp4
make sure that video.mp4 and audio.mp3 have the same duration
In this case the current user has proxy variable set which allows access to the rpm on the internet but needs root privs to install it.
Running sudo -E preserves the current user proxy var and allows the rpm install to be executed with sudo.
Change your wallpaper every thirty minutes (or however long you like, I suppose) to a randomly selected image in a directory and subdirectories. Bear in mind this is not safe to use if anyone else has write access to your image directory.
If the return code from the last command was greater than zero, colour part of your prompt red. The commands give a prompt like this:
[user current_directory]$
After an error, the "[user" part is automatically coloured red.
Tested using bash on xterm and terminal. Place in your .bashrc or .bash_profile.