I use Apple’s Mail App as my primary mail client on both my personal and work mac’s, and for both machines I have various RSS Feeds subscribed.
I use apple mail as an RSS Client for a couple of reasons,
1) I just like how it works
2) its not just one more application I have to have open.
Recently though, I have found that none of the 30 or so feeds I am subscribed to were pulling any new posts.
I found this Odd, espically I know that multiple of them update daily. I did a bit of digging around, and have found a simple terminal command to alter the refresh rate that Mail will check for feed updates.
The default time is 30 minutes, admin the preferences you can set it to manually, 30 minutes, hourly or daily.
I changed these around then back to 30 minutes, and waiting an hour, but still NO feeds were updating.
After a little more digging, I found a terminal command that you can specify and refresh rate.
Specify the Refresh rate in Terminal !
Open Terminal – /Applications/Utilities/Terminal.app
defaults write com.apple.mail RSSPollTime xx
** Replace the ‘nn’ with minutes, EG:
defaults write com.apple.mail RSSPollTime 20
This worked for me, and within the next 20 mintues, I had all the posts that I was missing for the last week that I didn’t get any.
Pretty lucky, as I was missing out some some pretty good stuff!
Safari (by default) will open certain links (e.g. target=”_blank”) in a new browser window instead of a new tab even if you have your preferences set no too. Fortunately, there is a hidden preference you can set to force Safari to behave.
If you run this command in Terminal/Applications/Utilities/Terminal.app
Anytime you visit a website or do any other kind of DNS (Domain Name System) lookup, the IP address conveniently gets cached. Well today a Graphic Designer I was working with to finish up a site, just couldn’t access the site to see that changes.
He could access every other domain on ether of our servers, just not our staging domain. I remote connected to his computer, and ping’d first our primary domain and got the expected IP in return, then I ping’d our staging domain and got ‘10.1.1.3’ which was the machine I was using. I reset the DHCP, with no help. So I figured it was a DNS Issue.
Flushing your DNS cache in Mac OS X is actually really easy, and there are two different commands to use, one for Leopard and for Tiger. Depending on your version of OS X, open your Terminal and follow the appropriate directions below:
Flush your DNS Cache in Mac OS X 10.5 Leopard
Launch Terminal and issue the following command:
All done, your DNS has been flushed.
On a side note, the dscacheutil is interesting in general and worth taking a look at, try the -statistics flag instead for some stats.
Flush your DNS Cache in Mac OS X 10.4 Tiger
Type the following command in the Terminal:
That’s it, that’s all there is to it. Now your DNS settings should be as you intended them to be.
There has been a lot of posts on a lot of sites that explain how to get PHP and mySQL working & talking on OSX Leopard, but none that are fully step by step. So with thanks to The Busy Geek ( www.thebusygeek.com ), Here is a comprehensive guide.
You will need a very basic knowledge of using OSX Terminal ( Command Line Commands) and your root password.
Go to Developer.MySQL.com and download the copy that matches your Machine. In my case because I am on a G4 PowerPC iBook, I had to download the 10.4 version (Mac OS X 10.4 (PowerPC, 32-bit)) as there is no 10.5 version for PPC.
Once you have downloaded the package, install all 2 packages, and the preference pane.
Open Terminal ( Applications / Utilities / Terminal.app ) and log in as root;
Enter your root password when prompted.
Navigate to your mysql directory;
If you view the directory you should see something like the following;
COPYING data scripts
EXCEPTIONS-CLIENT docs share
INSTALL-BINARY include sql-bench
README lib support-files
bin man tests
Next we start mySQL.
It should run a whole lot of commands, starting with…
Installing MySQL system tables...
Once that has finished we add the mySQL User permissions
./bin/mysqld_safe --user=mysql &
Which will ( or should ) give this..
Starting mysqld daemon with databases from /usr/local/mysql/data
Now the mySQL root user’s password. and then confirm password and database location.
Now, All going well, Lets hope you get this error:
./bin/mysqladmin: connect to server at '**IP_ADDRESS**' failed
error: 'Host '**IP_ADDRESS**' is not allowed to connect to this MySQL server'
Thats good news, This means mySQL is running and that is step 2 finished.
Next Step, We will install PHP, You think huh? Apple already has a copy of PHP pre-complied in OSX?
Yeah, true, but ( No Offense Apple ) its shit.
Still as root user:
We want to download the newest build of PHP from Marc Liyanage’s site. Thank you to Marc, who has openly releasd and supported Great PHP builds for years! And totally for free!
* Make sure this path represents the newest version.