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 […]
In: Ubuntu Tricks · Tagged with: VirtualBox
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.
In: News · Tagged with: mysql, postgres, serendiptiy, wordpress
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, […]
In: Uncategorized · Tagged with: open-flash-charts, rails routes, routes
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.
In: Server Config · Tagged with: Ubuntu
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 […]
In: Server Config · Tagged with: mysql, postgresql
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 […]
In: Uncategorized · Tagged with: cache, Memcached
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 […]
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 […]