Check These Out
Works really well for playing DVDs, which have the volume turned way down for some reason. The `2' method is better IMHO because it will adjust to changing loud/soft parts.
If you want to add it to your ~/.mplayer/config:
# format: volnorm[=method:target]
# method:
# 1: use single sample (default)
# 2: multiple samples
# target:
# default is 0.25
af-add=volnorm=2:0.75
This command displays a list of lines that are longer than 72 characters. I use this command to identify those lines in my scripts and cut them short the way I like it.
needed;
apt-get install tcpkill
-L tells find to follow symbolic links, so -type l will only return links it can't follow (i.e., those that are broken).
This exports a directory to the world in read/write mode. It is useful for
quick, temporary NFS exports. Consider restricting the clients to a subnet or
to specific hosts for security reasons (the client can be specified
before the colon).
On the client:
mount -t nfs4 hostname:/ /mountpoint
To terminate all of the exports (after unmounting on the client):
exportfs -u -a
Leave out the fsid=0 option if you don't want NFSv4.
This works under recent versions of Linux.
Note that the file at the given path will have the contents of the (still) deleted file, but it is a new file with a new node number; in other words, this restores the data, but it does not actually "undelete" the old file.
I posted a function declaration encapsulating this functionality to http://www.reddit.com/r/programming/comments/7yx6f/how_to_undelete_any_open_deleted_file_in_linux/c07sqwe (please excuse the crap formatting).
This will issue a shutdown command to the Windows machine. username must be an administrator on the Windows machine. Requires samba-common package installed. Other relevant commands are:
net rpc shutdown -r : reboot the Windows machine
net rpc abortshutdown : abort shutdown of the Windows machine
Type:
net rpc
to show all relevant commands
This command outputs a table of sighting opportunities for the International Space Station. Find the URL for your city here: http://spaceflight.nasa.gov/realdata/sightings/