<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9" -->
<rss version="0.92">
<channel>
	<title>Cory O&#039;Daniel - These are just words</title>
	<link>http://coryodaniel.com</link>
	<description>Software development, thoughts, and randomness</description>
	<lastBuildDate>Mon, 15 Mar 2010 04:39:17 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Attaching local or remote files to Paperclip and Milton Models in Rails (Mocking content_type and original_filename in a Tempfile)</title>
		<description><![CDATA[I was working on a project today where I needed to import some data from MySpace accounts (yeah, MySpace), which included importing the users profile image. In the controller that did the importing I was using OpenURI to retrieve the image and then turn it into a Tempfile to be attached the the model, like [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/03/05/attaching-local-or-remote-files-to-paperclip-and-milton-models-in-rails-mocking-content_type-and-original_filename-in-a-tempfile/</link>
			</item>
	<item>
		<title>A ruby wrapper for Google AjaxLibs (jquery, jquery ui, mootools, prototype, swfobject, etc) [Lazy GoogleJsApi Wrapper]</title>
		<description><![CDATA[I like using the Google AjaxLibs API. Its cool to not host files when I don't have to, especially ones I know a user has already probably cached from Google anyway (even though Google Page speed busts my balls about too many DNS lookups  ).
I do on the other hand hate watching in the [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/25/a-ruby-wrapper-for-google-ajaxlibs-jquery-jquery-ui-mootools-prototype-swfobject-etc/</link>
			</item>
	<item>
		<title>Why the hell can&#8217;t Apple fix this bug? &#8211; Snow Leopard Keyboard hangs when changing spaces</title>
		<description><![CDATA[Everyone knows about this bug, except apparently Apple. 
In Snow Leopard the keyboard hangs occasionally when changing spaces. Sometimes for only a few seconds, sometimes forever. All sorts of people are talking or reporting about this issue. 
Why isn't it being fixed? Hallo there, Apple? Are you there?
There are currently about 100 posts in the [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/23/why-the-hell-cant-apple-fix-this-bug-snow-leopard-keyboard-hangs-when-changing-spaces/</link>
			</item>
	<item>
		<title>Lower ACL Permissions on Amazon S3 items with ruby</title>
		<description><![CDATA[I recently had to change a bunch of permissions on some items on S3. Unfortunately the items were mixed in with items that I didn't want to change the permissions on and the file names are all kinda jumbled, so I couldn't pinpoint what I needed to change by eyeballing the file names. 
So I [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/11/lower-acl-permissions-on-amazon-s3-items-with-ruby/</link>
			</item>
	<item>
		<title>Installing MySQL on Mac OSX w/ Ports</title>
		<description><![CDATA[So, I originally installed MySQL on my new MacBook using the DMG as was alluded to in a previous post..
I rebooted my laptop the other day and for some reason all of my tables (InnoDB) where corrupted... I couldn't get them to repair. All the *.frm files were present. Even when I did a 'show [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/11/installing-mysql-on-mac-osx-w-ports/</link>
			</item>
	<item>
		<title>Expiring rails fragement caches using an expires time instead of a sweeper (expires_in) &#8211; (a &#8216;duh&#8217; post)</title>
		<description><![CDATA[So, I'm setting up fragment caching for some stuff, and I honestly don't care about setting up an observer to sweep some stuff. I just want to cache this one slow fragment for like 5 minutes. I've seen these tutorials all over the web that shows people using the expires_in setting to auto-expire cache like [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/10/expiring-rails-fragement-caches-using-an-expires-time-instead-of-a-sweeper-expires_in-a-duh-post/</link>
			</item>
	<item>
		<title>A Rails rake file for compressing your Javascript with YUI</title>
		<description><![CDATA[Here is a quick rake file I threw together to use with my Ruby YUI 2.0 (I-refuse-to-make-a-gem-
edition).
This of course should be used with the Ruby YUI Compressor I posted about the other day.
This script will tar/gzip all of your javascripts just incase something stupid happens. So you have a little safety net.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
require 'fileutils'
require 'pathname'
&#160;
namespace :js [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/10/a-rails-rake-file-for-compressing-your-javascript-with-yui/</link>
			</item>
	<item>
		<title>Stick this in your bash</title>
		<description><![CDATA[This isn't a tutorial or anything. Its merely just me dropping all my bash scripts/prompt stuff here so maybe I'll get some comments/tips on cool stuff to add, and so that I can always rip it if I'm on a remote computer.
My pride and joy is that bash prompt. So much info. Its a pretty [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/08/stick-this-in-your-bash/</link>
			</item>
	<item>
		<title>Cory&#8217;s Ruby YUI Compressor v 2.0 Simpler, shorter.</title>
		<description><![CDATA[So, a while ago I write a Ruby YUI Compressor Wrapper which is still available and works great (although it could use a newer jar file) as far as I know from Mandula's Blog. Some other guy also wrote one that pretty much had the same functionality as my gem. He must have hated it [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/08/ruby-yui-compressor-by-cory-v-2-0-simpler-shorter/</link>
			</item>
	<item>
		<title>How to close (get rid of) the Google Analytics Site Overlay</title>
		<description><![CDATA[So, the google analytics site overlay is pretty cool. It's nice to see where people click. I googled around and some people say to clear the cookies. The funny thing is there is actually a 'close' button, but you can't see it if your page's background is white. Duh, it's in the top right corner. [...]]]></description>
		<link>http://coryodaniel.com/index.php/2010/02/04/how-to-close-get-rid-of-the-google-analytics-site-overlay/</link>
			</item>
</channel>
</rss>
