clemens's blog

Firefox extensions I use atm

This is my list of Firefox extensions.

* CodeBurner for quick lookups for HTML and CSS

* Cooliris nice image wall

* CoolPreviews previews a link hoover

* DownThemAll a much better download manager

* DrupalForFirebug explains enough

* Ghostery for the paranoids among us

* Grab Them All for having full browser screenshots. Is a little arcane to use

* Pixel Perfect for overlaying a design on the development version

* Quick Translation

* SenSEO

* Session Manager for quickly switch browser tabs

grep your heart out

I'm still learning to use more command line options.

Today I wanted to apply Hide machine readable name of menu by default. so I had to search for the context around the drupal #attached_js form tag.

So I type man grep and search for context. And bly me there is an option :)

grep --context=4 -r "attached_js" *

Which is _cool_

Finally I can blog remotely

It took some time and effort to configure but now I found the time and annoyance to give it a try.

Well not quite. The gnome-blog-poster is way to simple. Anyway it works.

The annoyance today is about eclipse. I need eclipse integration with trac and it wasn't working on eclipse 3.4.

So I installed eclipse 3.5 which is the third installation of eclipse in 1 week time sigh. Enabled mylyn and downloaded the trac integration plugin.

So what happens when I connected to my https trac site ... a self signed error.

From _en_ into a translatable _en_

On a multi language site it is desirable to translate the drupal English into the customers Englich likings.

Steps taken

  1. Goto /admin/settings/language/add
    1. Add a custom languages with language prefix en, name en-ours, english English @ Our place and native English @ Our Place
    2. Make your new language the default.
    3. Disable drupal's en
    4. Change the name en-ours into en

Importing languages the rough way.

Guess it's not intended to do but this is how I import languages into Drupal 6.

  1. wget the language files needed
  2. run the script below which creates *_full.po files.

    #!/usr/bin/env bash

    for FILE in *.tar.gz
    do
    DIR=`basename $FILE ".tar.gz"`
    OUT="../${DIR}_full.po"
    [ -f $OUT ] && rm $OUT && echo "File $OUT removed ... "
    [ -d $DIR ] && rm -r $DIR && echo "directory $DIR gemoved ..."
    [ ! -d $DIR ] && mkdir $DIR && echo "directory $DIR created ..."
    cd $DIR
    tar xzf ../$FILE
    find . -type f -name "*.txt" -exec rm {} \;
    rm $OUT

Implementing a ad service

This is a test for a ad service. I thought is was hard to implement an ad service. But it is not. Just a few copy and paste actions at the right places. [edit] Well initially it was easy but the video is not working now. That's quite annoying. Maybe it is because I use the files from Jeroen Wijering his site. If they are moved or that site is unavailable it will break. So I changed this by grabbing the files from my own site. [/edit]

JWPlayer 4.2

I'm having troubles with the image preview when playing a video. The video goes dead. It seems version or content (?) dependent. The first movie uses all content and player from http://www.jeroenwijering.com. This player is from http://www.jeroenwijering.com/embed/player.swf (4.2.90)

Drupal from the prompt. A dutch presentation.

I prepared a presentation for the Third Drupal Jam held in the Netherlands.

This is off course in Dutch. See the attached pdf.

Dual Screen under Linux

Dual Screen Graph

EDIT: When using a nvidea card run

sudo nvidia-xconfig --twinview

And just     Option "TwinViewOrientation"      "<relationship of head 1 to head 0>"

Problem still remains for multiple configurations like with or without a beamer.
-- EDIT END

Problem: difficulty to attach a beamer or secondary screen to X.

Installing swfmill and finding your friends

While reading the README for http://www.swfmill.org/ to compile non of the dev versions of libxml, libxsl, libfreetype and libpng where mentioned.

As it turned google this point me to http://www.burobjorn.nl/blog/?p=324 with the exact specs documented. Installing a lot dev versions.

I rather install packages then running ./configure && make && sudo make instll but following instruction is cool when they are working.

Pages

Subscribe to RSS - clemens's blog