Command-line Drupal-core update with drush
Warning!
This article is over 2 years old and drush no longer works as it did before, so the technique described here may be harmful to your setup. However, the ability to update Drupal core is now part of drush, so just grab a recent version of it to update Drupal core for your setup.
This is just a quick note on how one can use drush to update a Drupal core from the command-line.
Fixing Open Clip Art import process in Inkscape for Kubuntu Karmic
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.
- peter's blog
- Login or register to post comments
Installing Amazon MP3 Downloader under Ubuntu 64 bit
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.
getting php bindings for subversion
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:
- peter's blog
- Login or register to post comments
converting mts (avchd) to flv with ffmpeg
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!" :)
Development Environment Tip: setting up dns wildcards
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.
- peter's blog
- Login or register to post comments
elegant fix for heightless container div that has only floated elements in it
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.
- peter's blog
- Login or register to post comments
Fixing the infamous "kernel panic: VFS: Unable to mount root fs" problem.
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?
- peter's blog
- Login or register to post comments
Configuring multiple KDE sessions to support multiple monitor configurations
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.
Get moodle face-to-face iCal invites to work with MS Exchange / Outlook
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.
- peter's blog
- Login or register to post comments