Check These Out
Just for fun, I searched a simple way to encrypt some text.
Simple base64 encoding seemed a good start so I decided to "amplify" encoding using repeted base64 encoding.
Of course, this is not really secure but can be useful to hide datas to most part of humans ;).
Do not hesitate to provide better solutions or else.
This invokes tar on the remote machine and pipes the resulting tarfile over the network using ssh and is saved on the local machine. This is useful for making a one-off backup of a directory tree with zero storage overhead on the source. Variations on this include using compression on the source by using 'tar cfvp' or compression at the destination via
$ ssh user@host "cd dir; tar cfp - *" | gzip - > file.tar.gz
this is just okey
If you want to decompress the files from an archive to current directory by stripping all directory paths, use --transform option to strip path information. Unfortunately, --strip-components option is good if the target files have same and constant depth of folders.
The idea was taken from http://www.unix.com/solaris/145941-how-extract-files-tar-file-without-creating-directories.html
suspicious/anomalous ownership may indicate system breach; should return no results
This example will close the pipe after transferring 100MB at a speed of 3MB per second.
You need to have fortune and cowsay installed. It uses a subshell to list cow files in you cow directory (this folder is default for debian based systems, others might use another folder).
you can add it to your .bashrc file to have it great you with something interesting every time you start a new session.
Using this command you can track a moment when usb device was attached.
Use color escape sequences and sed to colorize the output of svn stat -u.
Colors: http://www.faqs.org/docs/abs/HTML/colorizing.html
svn stat characters: http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.ref.svn.c.status
GNU Extensions for Escapes in Regular Expressions: http://www.gnu.org/software/sed/manual/html_node/Escapes.html
Substitute 'brown' with 'pink' or 'white' according to your taste.
I put this on my headphones when I'm working in an "open concept" office, where there are always three to five conversations going in earshot, or if I'm working somewhere it is "rude" of me to tell a person to turn off their cubicle radio.