Check These Out
The solution to a year long (and extremely frustrating) problem I've had, caused by the fact that I only have one speaker; this command downmixes the stream to monophonic output, making sure I don't miss any of the music.
NOTE: When stream is in .m3u format, a -playlist option is required, as shown below:
$ mplayer -af pan=1:0.5:0.5 -channels 1 -playlist radiostream.m3u
This command works great with aliases for various channels in .bashrc. Sample below:
$ alias radio1='mplayer -af pan=1:0.5:0.5 -channels 1 radio1stream.pls'
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
Maybe you know shorter ?
In this case I'm just grabbing the next level of subdirectories (and same level regular files) with the --max-depth=1 flag. leaving out that flag will just give you finer resolution. Note that you have to use the -h switch with both 'du' and with 'sort.'
for udp
nmap -sU -p 80 hostname
% selects every line in the file. 'd' deletes what's selected. It's a pretty simple combination.
One base component is our hardware detection. It is a C++ library and app and is designed after a dynamic structure. Any kind of hardware, no matter if usb or pci, can be configured by mhwd. There is just a simple configuration file which tells mhwd what to do. This way we also support hybrid graphics cards out of the box. However there are currently only mhwd configs for nvidia optimus setups. But this gap will be filled soon. Just play with some of those commands to get a feeling about mhwd.
For Linux distributions using rpm (eg Mandriva), this command will find the rpm package name that provides a file.
Simpler.
See connection's tcp timers