Uninstalling a MySQL database server from a Mac OS X computer can be done manually or with the command line. It’s always advised to make backups of your databases prior to making big changes, and perhaps copying your MySQL Config file, if it’s been modified. You will need to login with a “sudo” command, or at least when you issue the first sudo command request. You do not need to place “sudo” before every line, only the first line.
rm -rf /usr/local/mysql*
rm -rf /Library/StartupItems/MySQLCOM
rm -rf /Library/PreferencePanes/MySQL*
rm -rf ~/Library/PreferencePanes/MySQL*
rm -rf /Library/Receipts/mysql*
rm -rf /Library/Receipts/MySQL*
rm -rf /var/db/receipts/com.mysql.*
As a developer, Safari presents some issues when trying to test logins and new content. Safari simply doesn’t like to let go of Cookies and History when you use the built-in buttons to do just that. Build a simple app on your target computer to do this for you quickly, so you can get back to your development and testing. Simply put, just use Apple Automator to create a simple Mac App to delete the necessary files to cleanse Safari Cookies, History and whatever else you are irritated by. This is a workflow that Quits Safari then moves the files I need to cleanse to the Trash and Empties The Trash. It then re-launches Safari so I can continue here I left off, with a blank screen. The caveat is that this will remove ALL cookies and history and whatever you add to the Get Specified Finder Items list!! Your bank logins and similar tracked authentication will disappear too and you will need to login again. This will not remove bookmarks or password program records, unless you specifically add those to the Finder list. Continue reading
When using cool fonts in CSS and the display is off in Firefox, you may find the Error Console declare, “Downloadable font on firefox: bad URI or cross-site access not allowed” as a cause. This simply means that Firefox is trying to improve security for your benefit. Since you control what your pages may access, including content from other domains, such as a devoted font server, you simply modify your .htaccess file as follows.
Place this code somewhere in the .htaccess file, update the server where the fonts are being served, and TEST! Remember that the .htaccess file must be modified on the Font Server, not the Web Server, since Firefox is requiring permission from the Font Server to access those fonts. Technically you can access them in a separate request, so the whole issue seems nutty.
Header set Access-Control-Allow-Origin “*”
A MIME-Type reference table… Continue reading
If you have this error when you try to compile something in the Command Line Interface on a Mac, there’s a super simple solution. It requires installaing XCode from Apple for free, then installing the Command Line Tools for free from within XCode. There is some download time involved, but how can you complain when it’s free!? Continue reading
Many people are asking, “Where has the Activity Window gone in Safari 6.0?” The Activity Window in Safari allows us to see which files are downloading, which are not loading, which ones have errors, etc. As well, it gives us direct access to the files we’ve downloaded behind the scenes, such as movies and other media types.
It has been suggested that anyone can download an earlier version of Safari at http://support.apple.com/downloads/#internet, however, Apple’s Nazis make sure you can’t run any software on their OS if it doesn’t meet their mustard. So, Safari 5.1.7 cannot run on Mac OS X 7 and higher, thus eliminating this as a viable avenue for accessing the Activity Window functionality. Continue reading
In Mac OS X, files with names that start with a dot (.) are hidden. You may have noticed some of these before, for example when copying files from your Mac to a PC where they aren’t hidden. The most common one you might bump into is the
.DS_Store file that Mac OS X puts in every folder (to save various view settings), but there are all sorts of other hidden files used by all sorts of applications. Continue reading
Connecting to a mail server using Telnet is pretty straight forward and can be used both for security testing as well as actual communications. Debugging code and creating communication applications using the mail protocols might require debugging with these tools and below is a sample of how to connect and communicate with a mail server using telnet… Continue reading
Just a reference for Content-Type declarations in headers… Continue reading