Syndicate content

howto

  • warning: Creating default object from empty value in /var/www/petercarrero.com/modules/taxonomy/taxonomy.pages.inc on line 33.
  • user warning: Got error 28 from storage engine query: SELECT t.tid, t.* FROM pcp_term_data t INNER JOIN pcp_term_hierarchy h ON h.parent = t.tid WHERE h.tid = 5 ORDER BY weight, name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 781.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 88 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 87 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 62 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 59 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 57 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 52 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 53 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 34 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT t.*,v.weight AS v_weight_unused FROM pcp_term_node r INNER JOIN pcp_term_data t ON r.tid = t.tid INNER JOIN pcp_vocabulary v ON t.vid = v.vid WHERE r.vid = 19 ORDER BY v.weight, t.weight, t.name in /var/www/petercarrero.com/modules/taxonomy/taxonomy.module on line 640.
  • user warning: Got error 28 from storage engine query: SELECT DISTINCT b.* FROM pcp_blocks b LEFT JOIN pcp_blocks_roles r ON b.module = r.module AND b.delta = r.delta WHERE b.theme = 'absynthe' AND b.status = 1 AND (r.rid IN (1) OR r.rid IS NULL) ORDER BY b.region, b.weight, b.module in /var/www/petercarrero.com/modules/block/block.module on line 460.
Feb 21
6

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:

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.

Sep 15
0

Fixing the infamous "kernel panic: VFS: Unable to mount root fs" problem.

Tue, 09/15/2009 - 11:08 — peter

The Problem (or how I broke it)

So here I am in this cool conference waiting for the sessions to start while doing some work and I decide play a bit with my kubuntu laptop... Maybe it was bootchart, maybe it was insserv, I don't know... what I do know is that after a reboot I got a kernel panic... you know, when the "scroll lock" and "caps lock" lights keep flashing at you in mockery?

Aug 03
42

Configuring multiple KDE sessions to support multiple monitor configurations

Mon, 08/03/2009 - 11:36 — peter

The Problem

So, a while ago I saw in the blog of helios that there was a campaign going to raise awareness about the penumbra game trilogy - a series of games that had native linux versions - and you could get all 3 games for $5. Sounds like a good deal, right? On top of it you are also supporting a good cause, so I said "why not?" and bought the trilogy.

Jul 23
0

Get moodle face-to-face iCal invites to work with MS Exchange / Outlook

Thu, 07/23/2009 - 15:22 — peter

The Problem

Moodle's Face-to-Face module sends you an iCal invite that is not properly interpreted by MS Outlook client. The iCal invite comes through as a blank attachment. Apparently the iCal worked just fine on OWA and on Evolution running on Linux.

Jul 21
0

How to setup root actions in dolphin / jaunty

Tue, 07/21/2009 - 21:42 — peter

When I upgraded from Hardy to Intrepid I noticed that the root actions were gone from the context menu in dolphin (used to be in konqui).

Finally I found out that someone else made a fix for this using perl. Here it is:

Jul 20
0

Getting OpenVPN to work with VPSLink

Mon, 07/20/2009 - 03:49 — peter

A couple of sites that I support have been hosted by VPSLink for a while now and it was time I got the OpenVPN client in the virtual machine to talk to my server. Setting up OpenVPN was easy enough, as I got the config files and the certs all prepped before hand, getting it to work was a different deal... After the initial failed service openvpn start and a bit more sifting through log files, it turned out that the node for the /dev/net/tun adapter was incorrect! Fixing this was easy after a bit of googling around: