Check These Out
If you need to xdebug a remote php application, which is behind a firewall, and you have an ssh daemon running on that machine. you can redirect port 9000 on that machine over to your local machine from which you run your xdebug client (I am using phpStorm)
So, run this command on your local machine and start your local xdebug client, to start debugging.
more info:
http://code.google.com/p/spectator/wiki/Installing
Depending on the speed of you system, amount of RAM, and amount of free disk space, you can find out practically how fast your disks really are. When it completes, take the number of MB copied, and divide by the line showing the "real" number of seconds. In the sample output, the cached value shows a write speed of 178MB/s, which is unrealistic, while the calculated value using the output and the number of seconds shows it to be more like 35MB/s, which is feasible.
If you don't want to delete them, but just want to list them, do
$ find -L /path -type l
If you want to delete them with confirmation first, do
$ find -L /path -type l -exec rm -i {} +
Using the -L flag follows symlinks, so the -type l test only returns true if the link can't be followed, or is a symlink to another broken symlink.
By putting ! in front of a command, we are able to run it from an ftp session.
Grab a list of MP3s (with full path) out of Firefox's cache
Ever gone to a site that has an MP3 embedded into a pesky flash player, but no download link? Well, this one-liner will yank the *full path* of those tunes straight out of FF's cache in a clean list.
Shorter and Intuitive version of the command submitted by (TuxOtaku)
Change bash autocomplete case search to insensitive when pressing tab for completion.
the command will calculate the size of hidden files
Useful for quick calculations at the command line. $math_expr is any arithmetic expression (see sample output):
4.5*16+3^2
s(3.1415926/2)
More options in the bc man page.
Since ffmpeg on Ubuntu is deprecated, now there is avconv.
Please note that the screen area here is set with a predefined format "-s wxga" that is corresponding to "-s 1366x768")
There is also the option to add a title in the metadata of the resulting video.
This appends (-A) a new rule to the INPUT chain, which specifies to drop all packets from a source (-s) IP address.