Syndicate content

peter's blog

Jul 31
0

Adding Software RAID to a ProxMox VE install

Sat, 07/31/2010 - 12:13 — peter

Virtualization is all the rage nowadays... even more so when done efficiently, beautifully and Open Sourced! That is the case with the ProxMoxVE project. If you work with virtualization, make sure you check that project out! It is incredibly simple and powerful... oh, and Open-Source too, which means it makes you look good with your boss and it costs no money to your company!

Jun 12
0

blender 3d test

Sat, 06/12/2010 - 21:03 — peter

And now for something completely different! Quick animation test of a particle-based teleportation effect using blender 2.49.2. http://www.vimeo.com/12520303 

Jun 11
0

Command-line Drupal-core update with drush

Fri, 06/11/2010 - 14:13 — peter

This is just a quick note on how one can use drush to update a Drupal core from the command-line.

Say your site is at /var/www/mysite.example.com, that it is running Drupal 6.16, that Drupal 6.17 was recently released and that you have drush somewhere on your search path. The simplest way I've found to update it is this:

May 27
0

Quick note on people's behavior

Thu, 05/27/2010 - 14:05 — peter

There's an interesting discussion going on here about what guides people's behavior in the context of choice of software they use...

Mar 20
0

Fixing Open Clip Art import process in Inkscape for Kubuntu Karmic

Sat, 03/20/2010 - 17:02 — peter

The Problem

If like me you have a Kubuntu Karmic install and are trying to import svg from the Open Clip Art site, you've probably seen the error below.

Feb 21
4

Installing Amazon MP3 Downloader under Ubuntu 64 bit

Sun, 02/21/2010 - 19:18 — peter

I use Amazon's MP3 store and it's accompanying downloader application. It came time to set it up on another 64-bit machine and I thought this would be a good opportunity to document the install process.

First, you gotta have getlibs.deb installed by downloading the file and typing sudo dpkg -i getlibs.deb.

Before we can install the amazon downloader, you will need a few other packages. Use the following bash shell 1-liner to get them all.

Oct 23
0

getting php bindings for subversion

Fri, 10/23/2009 - 19:04 — peter

Let's say you want to access a svn repo or perhaps even a working copy programatically through php without escaping to the shell, you need svn functions setup in php. Here is how you do it.

First off, you need to have a few packages installed. I assume you already got a web server and php up, in addition to this you will also need the following:

  • php development libraries
  • php pear/pecl
  • subversion
  • subversion development libraries

On a modern *buntu distro, the packages you need are:

Oct 11
0

converting mts (avchd) to flv with ffmpeg

Sun, 10/11/2009 - 20:03 — peter

The Situation

With the baby duedate approaching, it was time to join the 21st century and upgrade my camcorder. My old miniDV-based Canon ZR200 just made the video creation/editing process too cumbersome and it didn't record in HD. After a bit of shopping I found a Canon HF200 at Nebraska Furniture Mart with 18 months, no interest! While closing the order, the sales guy asked me if I was gonna use the camera with PC (by which I am sure he meant Windows) or Mac. I answered "Linux!" :)

Sep 27
0

Development Environment Tip: setting up dns wildcards

Sun, 09/27/2009 - 11:02 — peter

The Problem

So you got a new customer site to do. You want a new host name for the development site (like customername.yourdomain.tld), so you modify your local hosts file OR, if you have any scalability in your setup, you go and add a new CNAME record to your name server setup and all is good, right?

Well, by client #5 this process begins to become annoying and by client #10 you are looking for an alternative method of managing these names.

Sep 21
0

elegant fix for heightless container div that has only floated elements in it

Mon, 09/21/2009 - 11:46 — peter

The Problem

if a container div only contains floated divs, that container div has no height. the usual fix is to add an extra markup on the code with a clear: both (or left/right) style. but that is putting layout on the markup, which makes you go to css hell without 72 div virgins waiting for you.