IE – Expected identifier, string or number
Monday 02/9/2009 – Category: Uncategorized
If you’re getting this error, chances are you have an extra comma after a curly brace:
a = {
b: function() { },
c: function() { },
}
Get rid of the trailing comma and your JS error woes will disappear!
(source)
Safari doesn’t read inline css
Monday 02/9/2009 – Category: Uncategorized
I’m not sure why I haven’t come across this until this past week, but I found out that Safari doesn’t render css within style tags outside the head tags.
The workaround is to inject the style into the head with javascript–similar to what Rails’ content_for does:
var cssDefinitions = ‘..my style chunk goes here’;
var style = document.createElement(’style’);’
$(style).html(cssDefinitions);
$(‘head’).append(style);
[...]
Server Upgrade
Monday 02/9/2009 – Category: Uncategorized
I finally bit the bullet last night and upgraded my Slicehost slice to a 512slice. It’s running much zippier now (with much more room to breathe RAM-wise)!
The upgrade process was pretty painless through the admin panel–it took less around ten minutes to do the pre-resize setup and then another few minutes to complete [...]
Strange Downtime Issues
Friday 01/23/2009 – Category: Uncategorized
Flickr Original users and everyone else–my server hiccuped sometime yesterday afternoon which caused most of the running apps to die, resulting ‘503 service unavailable’ errors. I’ve looked at my logs and charts over the past day and I can’t tell what exactly happened yet…my merb processes totally disappeared and php-cgi instances stopped responding. [...]
Setting up Ubuntu 8.10 (Intrepid Ibix) on a Dell PowerEdge 2400 in a RAID1 configuration
Saturday 01/17/2009 – Category: Uncategorized
Thanks to this guide and this post, I was able to setup Ubuntu 8.10 (Intrepid Ibix) on a Dell Poweredge 2400 in a RAID1 configuration.
I ran into more than a few hurdles along the way:
The first iso I burned was corrupted…I suspect it was because I had paused/resumed the download a few times. Grr.
On my [...]
Recent Posts
- Marble Paint
(Friday 02/4/2011 – 1 Comment) - More Flickr Original Updates
(Sunday 01/23/2011 – 13 Comments) - Flickr Original updates
(Saturday 08/7/2010 – 19 Comments) - LED Light for iPhone 4
(Monday 06/28/2010 – 65 Comments)
