Check These Out
This command will place symbolic links to files listed in an m3u playlist into a specified folder. Useful for uploading playlists to Google Music.
prefix = The full path prefix to file entries in your .m3u file, if the file paths are relative. For example, if you have "Music/folder/song.mp3" in your list.m3u, you might want to specify "/home/username" as your prefix.
list.m3u = Path to the playlist
target_folder = Path to the target folder in which you would like to create symlinks
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
Say your dependencies specified in your Makefile (or dates on your source files) is causing 'make' to
skip some source-files (that it should not) or on the other other end, if it is causing make to always build some source-files regardless of dates of target, then above command is handy to find out what 'make' thinks of your date v/s target date-wise or what dependencies are in make's view-point.
The egrep part removes the extra noise, that you might want to avoid.
If you are in an environment where you don't have the base64 executable or MIME tools available, this can be very handy for salvaging email attachments when the headers are mangled but the encoded document itself is intact.
Dependencies on phone: adb access, screencap command, base64 command.
Dependencies on computer: adb, sed, base64, display (from imagemagick, but can substitute other image viewer which reads from stdin).
This should work around adb stupidies (i.e. that it replaces \n with \r\n) with base64.
Replace localhost:9200 with your server location and port. This is the ElasticSearch's default setup for local instances.
Traditionally we rewind a tape using this syntaxis:
$ mt -f /dev/rmt/0cbn rewind
Redirecting the dispositive to nothing as shown above is faster. Less typing is always better.
This command will list all threads started by a particular pid along with the start time of each thread. This is very valuable when diagnosing thread leaks.
Friday is the 5th day of the week, monday is the 1st.
Output may be affected by locale.