Posts by Robin

Very flexible image gallery with Alchemy CMS

Die Aufgabe: Entwicklung eines Bildergalerie-Rasters, in das unterschiedlich breite und hohe Bilder einfließen können. Es sollen möglichst viele Anordnungsmöglichkeiten der Bilder im Raster ausgeschöpft werden. Die Bilder werden von einem Redakteur im Alchemy CMS eingepflegt, der die Wartung möglichst einfach haben soll und dabei keine Fehler machen können soll. Die Lösung: Das Raster ist insgesamt [...]

Permission denied: /var/www/xx/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Sometimes I got this Error Message in Apache error.log Permission denied: /var/www/xx/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable I am using Parallels Confixx Software for managing the virtual hosts. When creating a new RootDirectory for a Domain via Confixx, it will be create with wrong ownerships. Setting ownerships via console will [...]

libMagick (ImageMagick cannot open shared object file: No such file or directory)

On Debian 5 (Lenny) after installing ImageMagick and rmagick, when testing my rails application: libMagickCore.so.2: cannot open shared object file: No such file or directory – /usr/lib/ruby/gems/1.8/gems/rmagick-2.8.0/lib/RMagick2.so Missing these required gems: rmagick … At first I thought it must be a problem of rmagick because apaches module passenger raises up an error about missing rmagick… [...]

Alchemy CMS (Content Management System)

Alchemy is a full featured Content Management System (CMS) with a gorgeous Userinterface. Nearly every content management system stores the content of a page in a body column in the pages table. This is easy to develop and the user manages the content inside one of the fancy new Javascript based wysiwyg processors. Formatting, image [...]

simple and lightweight jquery image gallery

This is a very simple and lightweight image gallery based on the jQuery javascript framework. The principle of this image gallery is that we dont need to render thumbnails seperatly. The thumbnails are the big images wich are resized via CSS. You need the jQuery javascript framework and the jGalight javascript and the css styles [...]

MAC Snow Leopard MySQL 32Bit to 64Bit

My MySQL Installation is copied from a 32Bit System to a new Snow Leopard System running with 64Bit. While Installing some Daemons, i needed to upgrade MySQL to 64Bit. I downloaded MySQL5 Package from here: http://www.mysql.com/downloads/mysql/ I ran into some Issues, but at least this worked for me: First Ive stopped running MySQL-Server: sudo /Library/StartupItems/MySQLCOM/MySQLCOM [...]

Sphinx on Mac OSX

I ran in the problem, that i could not compile Sphinx correctly. I got many errors and warnings until make task died. The first error looked like this: /usr/include/iodbcunix.h:128: error: conflicting declaration ‘typedef unsigned int DWORD’ The Solution was just adding a little configure parameter: ./configure –without-unixodbc –prefix=/usr/local/ After that it works like a charm! [...]

Transferring Files with rsync and ssh from Server to Server

This rsync Command is really helpful for transferring data to another server. I need this very often. rsync -vrlptgoD -e ssh ./yourfile.tar.gz root@XXX.XX.47.73:/root If you need to change the ssh Port, you can write it as a string: rsync -vrlptgoD -e ‘ssh -p1356′ ./yourfile.tar.gz root@XXX.XX.47.73:/root Tweet

change owner of files or directories globally by searching for a group

Sometimes, thankfully not very often, I need to change the group or the user of many directories or files in a global way. This could happen owing to unfortunate circumstances, e.g when you switch a Serversystem to another and something went wrong or something happens you did not plan before. With this command I find [...]

Verlag zu Scherzen aufgelegt

Bei der Heimwerker-Zeitschrift “Selber machen” die vom Jahreszeiten Verlag herausgegeben wird, gab es in der diesmonatigen Ausgabe (Mai 2009) einen recht unauffälligen, aber durchaus eindrucksvollen Hingucker zu entdecken! Das Impressum der Zeitschrift wurde nicht wie gewohnt in den Druck gegeben, sondern wurde scheinbar bewusst umformuliert. Laut Impressum kann man sich über den Bestellservice an die [...]