recently featured posts we've got 29 articles so far

spieleAG.de ist live 0

Jul21

Die spieleAG ist eine Website, die Freunden von Brett- oder Kartenspielen nützliche Funktionen rund um das Spielen zur Verfügung stellt. Im Zentrum steht die Idee beim Abstimmen eines Termins zu helfen, es geht also um das “Wer mit wem?”, “Wann?” und “Welches Spiel überhaupt?”.

spieleAG.de

Installing postgreSQL and ruby-pg on Snow Leopard 1

Apr28

I tried to install  postgres as a local development db for a Sinatra/Sequel project and it turned out to be no fun at all. It started with problems installing ruby-pg:

checking for pg_config... yes
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for PQconnectdb() in -lpq... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
Can't find the PostgreSQL client library (libpq)

After playing around with ENV and PATH-Settings and ARCHFLAGS the gem installation succeded – i’m not even sure what the problem was exactly. But when trying to connect from ruby I ran into the next problem telling me that still somethings is wrong with the gem (and yes, i’ve build it for x86_64):

/Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle, 9): no suitable image found.  Did find: (LoadError)
/Library/Ruby/Gems/1.8/gems/pg-0.9.0/lib/pg_ext.bundle: mach-o, but wrong architecture - /Library/Ruby/Gems

I have installed postgres with the EnterpriseDB installer for OS X in the first place and was able to solve my problems by uninstalling postgres and ruby-pg and by using Homebrew to install postgres. You have to do a little more db-configuration this way and you have to  install tools like pgAdmin on your own, but installing ruby-pg and connection to my db from Sequel was no problem afterwards.

Hope that helps if you’re running into simular problems. Thanks to Peter for showing me Homebrew.

Making it work is not enough 2

I started with prototyping, added some features, did some releases and then took a break to look at my code. OMG!
continue reading »

Ein funktionierendes Media-Server-Setup 2

In der Theorie ganz einfach: die Musik liegt zentral auf einem Server und kann in jeden Raum gestreamt werden. In der Praxis stellt sich die Frage auf welches Pferdchen man setzen soll …
continue reading »

SinguTab Firefox Extension 0

I was searching for a firefox extension that closes old tabs matching a specific URL, when a new tab with that URL is opened – ended up scripting it on my own.
continue reading »

ptMobile beta 1 ist fertig 2

Release early, release often… ja, ja, deine Mudder. Auf jeden Fall nimmt mein Android Pivotaltracker Client langsam Gestalt an, daher hier die erste Beta.
continue reading »

Samsung Galaxy Update ist nichts für schwache Nerven 0

Sep9

Ab heute ist das lang erwartete Update I7500XXIH8 verfügbar, das viele kleine Problemchen beheben soll und vor allem mehr Akkulaufzeit und mehr Snappiness beim Touchscreen verspricht. Als Ex-iPhone Nutzer bin ich sehr verwöhnt was das Aufspielen von Updates angeht, mit Samsung … ach, lies selbst
continue reading »

Wo ist die eclipse.ini unter OS X? 0

Sep6

Wer Eclipse unter OS X mehr Speicher zugestehen möchte, wundert sich vielleicht wo die eclipse.ini steckt. Kurzfassung: Ctrl-Klick auf Eclipse.app > Paketinhalt zeigen > Contents/MacOS > da isse.

blux.de: Strom wird blau 0

Sep1

Seit gestern bietet Blau neben günstigen Mobilfunktarifen auch günstigen Ökostrom und Gas an!
continue reading »

Firefox-Fenster schließen per Javascript 1

Aug10

Ich hab heute mit einem Kollegen ziemlich lange rumgegoogelt, um herauszufinden, wie man ein Browserfenster oder Tab (das nicht per Javascript geöffnet wurde) per Javascript schließen kann.
continue reading »

linnemann.me is powered by WordPress and FREEmium Theme.
developed by Dariusz Siedlecki and brought to you by FreebiesDock.com