Wetware » 2009 » June

Archive for June, 2009

Copy – Clone Virtual Box Hard Disk

If you have setup a virtual box disk and want to duplicate it so you can run more than one at a time (which is very useful when creating and testing social websites) you can run [code] VBoxManage clonevdi ~/.VirtualBox/HardDisks/ubuntu.vdi ~/.VirtualBox/HardDisks/ubuntu2.vdi [\code] That will create an exact copy but with a different UUID (which needs […]

Posted on June 30, 2009 at 5:12 pm by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: 

Serendipity – WordPress with Postgres

I wanted to use postgres with my wordpress installs but as it turns out this isn’t supported and the WordPress guys even refuse to use it.  Sounds a little simple minded to me.

Posted on June 29, 2009 at 11:20 pm by Jordan Carter · Permalink · Leave a comment
In: News · Tagged with: , , ,

Rails Route to Static File in Public

I am using open-flash-chart’s and want to use a route for the swf file rather than a direct url/path written into my views.  The reason for this is that in deployment the app is not at the root directory but at www.wetware.co.nz/something , which makes the public folder www.wetware.co.nz/something/public. If you directly link to /open-flash-chart.swf, […]

Posted on June 16, 2009 at 10:27 pm by Jordan Carter · Permalink · 2 Comments
In: Uncategorized · Tagged with: , ,

Ubuntu Timezone

Need to set your servers time zone to your timezone? (even tho it sits on the other side of the planet..) sudo dpkg-reconfigure tzdata Use the screen provided, it will work via ssh. How easy was that?  Now you can make cron jobs in your own time-zone.

Posted on June 16, 2009 at 9:31 am by Jordan Carter · Permalink · Leave a comment
In: Server Config · Tagged with: 

Postgres vs MySQL

or I have used both MySQL and Postgres and if I was starting a project right now I would probably use Postgres. I have read the wikivs MySQL vs Postgres and there is a lot in there that I understand and a lot that I don’t. What I like about Postgres is that it uses […]

Posted on June 13, 2009 at 11:29 pm by Jordan Carter · Permalink · Leave a comment
In: Server Config · Tagged with: ,

Keep Track of Cache and Invalidate

I am yet to try this but it is a suggestion open to criticism. When caching it can be hard to keep track of where a model has caches and what the cache keys are labeled as.  There are some tricks which allow the definition of the cache key invalidate the cache.  For example if […]

Posted on June 8, 2009 at 7:26 pm by Jordan Carter · Permalink · Leave a comment
In: Uncategorized · Tagged with: ,

Jordan Carter

I have just setup an online portfolio and personal blog over at Jordan Carter which is an attempt to take control of the google keywords Jordan Carter so that I can be found online.  As this blog wetware is more technical, I will give personal opinions over at the new one.  Hopefully my keyword domination […]

Posted on June 7, 2009 at 8:14 pm by Jordan Carter · Permalink · Leave a comment
In: Uncategorized

What’s instore for Made From New Zealand?

I Jordan Daniel Carter am currently the lead developer for Made From New Zealand.  We are currently working on a lot of exciting features which will be focused on interaction and getting more involvement and engagement from you. There is a lot of exciting things happening under the hood of Made From New Zealand.  We […]

Posted on June 7, 2009 at 5:58 pm by Jordan Carter · Permalink · 2 Comments
In: Web Development