Dos2Unix type conversion on Mac OS
Converting the line ending of a file on your Mac from dos or windows format to Mac format is as simple as
Converting the line ending of a file on your Mac from dos or windows format to Mac format is as simple as
Googles long/lat is degrees only and a fractional component. This script decomposed that into degrees, minutes and seconds. From there I could convert it from having seconds to having a fractional minute component, just like my GPS requires.
Using Mac OS X and browsing the file system with ‘Finder’, I often want to open Terminal or iTerm and have the default path set to the current Finder folder.
Once in the MySQL console, you can use show and purge to selectively delete portions like below:
Recently I had to monitor some data being output to a log table while an application was running. The log table was quite large, and being written to constantly and also by portions of that system I wasn’t interested in. So I only wanted to see the 10 or 20 most recent rows / records… Continue reading On demand “Tailing” of a database log table: select the last x records
An interesting alternative to a link with a hash (alternative zu link mit hash) such as href=”#thisgoesnowhere”, which causes the insertion of the “#” character and any following characters to the end of the URL, is to use a null javascript link target.
Trying to run vnc-server recently on a debian system, I ran into the following issue: