<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Cupcake With Sprinkles</title>
	<link>http://www.cupcakewithsprinkles.com</link>
	<description>Hunter Ford</description>
	<lastBuildDate>Wed, 23 Jun 2010 20:19:39 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1-alpha" -->

	<item>
		<title>Amazon EC2 and NFS</title>
		<description><![CDATA[There is a lack of updated information online about launching NFS in EC2 specifically, so I thought I would contribute to help those who might encounter this in the future; and it&#8217;s actually quite easy. We&#8217;re running Fedora 8 (while we wait for Fedora 13 to be supported). NFS-utils and rpcbind should already be installed, [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/amazon-ec2-and-nfs/</link>
			</item>
	<item>
		<title>Django Custom Model Manager Chaining</title>
		<description><![CDATA[Let&#8217;s say you have a custom model manager like this: from datetime import datetime from django.db import models class PostManager(models.Manager): def by_author(self, user): return self.filter(user=user) def published(self): return self.filter(published__lte=datetime.now()) class Post(models.Model): user = models.ForeignKey(User) published = models.DateTimeField() objects = PostManager() But let&#8217;s say you are want to filter those results that are both published and [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/django-custom-model-manager-chaining/</link>
			</item>
	<item>
		<title>GoDaddy SSL Certificate and Chrome</title>
		<description><![CDATA[On one of my recent projects, I was getting a message from Google Chrome saying: &#8220;The site&#8217;s security certificate is not trusted!&#8221; It was was a valid certificate in all other major browsers. And a few different computers running Chrome had no issues. So what gives? Through some Googling, I learned this: This could be [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/godaddy-ssl-certificate-and-chrome/</link>
			</item>
	<item>
		<title>MongoDB Startup Item for Mac OS X Snow Leopard</title>
		<description><![CDATA[Save the following as /System/Library/LaunchDaemons/org.mongo.mongod.plist &#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62; &#60;!DOCTYPE plist PUBLIC &#34;-//Apple//DTD PLIST 1.0//EN&#34; &#34;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#34;&#62; &#60;plist version=&#34;1.0&#34;&#62; &#60;dict&#62; &#60;key&#62;Label&#60;/key&#62; &#60;string&#62;org.mongo.mongod&#60;/string&#62; &#60;key&#62;RunAtLoad&#60;/key&#62; &#60;true/&#62; &#60;key&#62;ProgramArguments&#60;/key&#62; &#60;array&#62; &#60;string&#62;/usr/local/bin/mongod&#60;/string&#62; &#60;string&#62;--dbpath&#60;/string&#62; &#60;string&#62;/var/lib/mongodb/&#60;/string&#62; &#60;string&#62;--logpath&#60;/string&#62; &#60;string&#62;/var/log/mongodb.log&#60;/string&#62; &#60;/array&#62; &#60;/dict&#62; &#60;/plist&#62; You will need to create a file for the log and a directory for the database. sudo touch /var/log/mongodb.log sudo mkdir /var/lib/mongodb And [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/mongodb-startup-item/</link>
			</item>
	<item>
		<title>Django Messaging for AJAX Calls Using Jquery</title>
		<description><![CDATA[The messaging contrib app for Django has always been been tied to a user, which has prevented me from using it in any of my apps. Now that the Django 1.2 Alpha has been released, I&#8217;ve been able to play with it, and feel good about using it. My sites usually have a mix of [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/django-messaging-for-ajax-calls-using-jquery/</link>
			</item>
	<item>
		<title>How to Handle HTTP Redirects with Jquery and Django</title>
		<description><![CDATA[Jquery has a funny way of handling 302 redirects during AJAX calls. These frequently come up when I need to redirect a user to a login page. Here&#8217;s how I&#8217;m handling it with Django. The underlying problem we experience with redirects in Jquery is that the redirects are followed. So instead of getting a status [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/how-to-handle-http-redirects-with-jquery-and-django/</link>
			</item>
	<item>
		<title>Setting Up Apache-PHP-Python-MySQL on Mac OS X Snow Leopard 10.6</title>
		<description><![CDATA[Download and install MySQL Package file [MySQL 5.1 for 10.5 (x86_64)] Install MySQL Startup Item [Howto] Turn on Web Sharing in System Preferences -&#62; Sharing Copy /etc/php.ini.default to /etc/php.ini sudo cp /etc/php.ini.default /etc/php.ini Add timezone information to php.ini (PHP will error without this) date.timezone = 'America/New_York' Install php-mcrypt Download libmcrypt 2.5.8 Build and install . [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/setting-up-apache-php-python-mysql-on-mac-os-x-snow-leopard-10-6/</link>
			</item>
	<item>
		<title>MySQL Startup Item for Mac OS 10.6 Snow Leopard</title>
		<description><![CDATA[Save the following as /System/Library/LaunchDaemons/org.mysql.mysqld.plist &#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62; &#60;!DOCTYPE plist PUBLIC &#34;-//Apple//DTD PLIST 1.0//EN&#34; &#34;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#34;&#62; &#60;plist version=&#34;1.0&#34;&#62; &#60;dict&#62; &#60;key&#62;RunAtLoad&#60;/key&#62; &#60;true/&#62; &#60;key&#62;Umask&#60;/key&#62; &#60;integer&#62;7&#60;/integer&#62; &#60;key&#62;UserName&#60;/key&#62; &#60;string&#62;_mysql&#60;/string&#62; &#60;key&#62;Disabled&#60;/key&#62; &#60;false/&#62; &#60;key&#62;WorkingDirectory&#60;/key&#62; &#60;string&#62;/usr/local/mysql&#60;/string&#62; &#60;key&#62;GroupName&#60;/key&#62; &#60;string&#62;_mysql&#60;/string&#62; &#60;key&#62;KeepAlive&#60;/key&#62; &#60;true/&#62; &#60;key&#62;Program&#60;/key&#62; &#60;string&#62;/usr/local/mysql/bin/mysqld&#60;/string&#62; &#60;key&#62;Label&#60;/key&#62; &#60;string&#62;org.mysql.mysqld&#60;/string&#62; &#60;key&#62;ProgramArguments&#60;/key&#62; &#60;array&#62; &#60;string&#62;--user=_mysql&#60;/string&#62; &#60;/array&#62; &#60;/dict&#62; &#60;/plist&#62; And in a bash session, run the following: sudo chown root:wheel /System/Library/LaunchDaemons/org.mysql.mysqld.plist sudo [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/mysql-startup-item-for-mac-os-10-6-snow-leopard/</link>
			</item>
	<item>
		<title>Nginx Startup Script for Mac OS 10.6 Snow Leopard</title>
		<description><![CDATA[If you don&#8217;t use MacPorts, and have a hard time finding a startup plist file for Nginx, and had trouble getting Nginx to startup with your custom plist file, this might be your solution: &#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62; &#60;!DOCTYPE plist PUBLIC &#34;-//Apple//DTD PLIST 1.0//EN&#34; &#34;http://www.apple.com/DTDs/PropertyList-1.0.dtd&#34;&#62; &#60;plist version=&#34;1.0&#34;&#62; &#60;dict&#62; &#60;key&#62;Label&#60;/key&#62; &#60;string&#62;nginx&#60;/string&#62; &#60;key&#62;Program&#60;/key&#62; &#60;string&#62;/usr/local/nginx/sbin/nginx&#60;/string&#62; &#60;key&#62;KeepAlive&#60;/key&#62; &#60;true/&#62; &#60;key&#62;NetworkState&#60;/key&#62; &#60;true/&#62; [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/nginx-startup-script-for-mac-os-10-6-snow-leopard/</link>
			</item>
	<item>
		<title>Growl Notifications for Apple Mail on Mac OS X Snow Leopard (10.6)</title>
		<description><![CDATA[UPDATE: You can grab a beta version of 64-bit Growl 1.2 from the Growl beta site. GrowlMail is broken on Mac OS X Snow Leopard (10.6). The dev team for Growl has a fix in the works, but I use Prowl and like to have notifications go to my iPhone when I&#8217;m not at my [...]]]></description>
		<link>http://www.cupcakewithsprinkles.com/growl-notifications-for-apple-mail-on-mac-os-x-snow-leopard-10-6/</link>
			</item>
</channel>
</rss>
