WordPress on OSX (10.6.8), Apache, PHP & htaccess

I’ve just managed to get OSX 10.6.8 to work with mod_rewrite and .htaccess to be able to let WordPress rewrite it’s URLs. Here is what I did.

I installed WordPress to my homefolder so I’ll access it using http://localhost/~ola/wordpress. Apache is configured to use a split config in OSX so to change the directives for the home folder you change the file /private/etc/apache2/users/Ola.conf.Fortsätt läsa

Using Motion webcam software to capture an image every 30 seconds

Sometimes I use a webcam to capture images that I then use for time lapse videos. Other times I use my old Canon camera with CHDK and an interalometer script.

I have been trying to find a simple and robust webcam tool for this for years but all packages are too complicated and anoying.… Fortsätt läsa

Upload your old photos to Flickr

I use Flickr for all photos I would like to share with everyone and (a locked down) Picasa album for family events and other more personal things.

I have been using different online photo tools the last couple of years. Everything form building my own, to Gallery, WordPress, Picasa and Flickr.… Fortsätt läsa

Sony Vegas Platinum 8 HDV workflow

I’m using Sony Vegas Platinum 8 to make my video editing. It’s some years old but I like it a lot. I just updated my camera from standard definition to high definition (one Canon HV20-PAL and one Canon 550D). It gave me some problems.… Fortsätt läsa

WordPress development environment – Aptana, Virtualbox and Google Code

At work we always have a pretty hefty development environment. At home I’ve never had any dedicated environment for my web development. It’s both a relief and something I miss.

Today I’ll try to set up a WordPress development environment that’s a bit more robust than my old setup where I download the file I need to change from my website to my desktop, change it, upload it and refresh the browser.… Fortsätt läsa

Combine Time Lapses with standard DV – Avidemux and Sony Vegas

I’ve just gone trough some hoops to import a time lapse video made in Avidemux into my standard DV project in Sony Vegas. My first issue was to find a suitable video format and the second to get the size of the time lapse video to match the size of the DV format.… Fortsätt läsa

Script to cleanup Windows hidden attributes and AlbumArtSmall.jpg

I wanted to remove the hidden files attributes and delete some types of files so I created the following bat-file.

attrib -R -A -S -H D:Music* /S /D
del /S /P D:Music*AlbumArtSmall.jpg D:Music*desktop.ini

(Don’t ask me why /S /D should be last on the line when using attrib and first when using del, but the manual said so.)

The first line removes all read only, archive, system and hidden -attributes on all files, folders and subfolders in folder D:Music.… Fortsätt läsa

Easy way to convert videos using FFmpeg!

Update: I used FFmpeg for some conversions but I just found out Avidemux and it seems promising! Trying it right away!

Every once in a while I get my hands on a video file that I can’t play. Today when I wanted to watch a bouldering movie it failed.… Fortsätt läsa