dracoblue.net

Installing php 5.3.5/5.3.6 on Ubuntu Maverick/Lucid

Latest Version for PHP 5.3 on Ubuntu is just PHP 5.3.3. This is not so good, if you want to have some of the plenty bugfixes which will be shipped with a later version.

If you want to upgrade to 5.3.5 (5.3.6 support may come later), you can use this inofficial ppa by the nginx user at launchpad:

https://launchpad.net/~nginx/+archive/php5.

For ubuntu maverick just create a file:

$ gedit /etc/apt/sources.list.d/php5-ppa.list

with the contents

deb http://ppa.launchpad.net/nginx/php5/ubuntu maverick main
deb-src http://ppa.launchpad.net/nginx/php5/ubuntu maverick main

and run:

$ sudo apt-get update
$ sudo apt-get dist-upgrade

Now you have php-5.3.5 installed on your ubuntu box! Have fun.

In linux, php, ubuntu by DracoBlue @ 13 Apr 2011 | 118 Words

Custom identity file (id_rsa.pub) with git client

Whenever you want to use a custom identity file with ssh, you usually use the -i parameter.

$ ssh -i ~/.ssh/other_id_rsa [email protected]

This will validate against ~/.ssh/otheridrsa.pub and not the default one at ~/.ssh/id_rsa.pub.

If you want to use this with the default git client, it won't work. You cannot specify the identity file when cloning/pulling from or pushing to a repository, yet.

So:

$ git remote add origin ssh://[email protected]:repository.git
$ git pull origin master

will fail, because it's using the default rsa key at ~/.ssh/id_rsa.

Instead you can use this workaround.

Adjust your ~/.ssh/config and add:

Host example
  Hostname example.com
  User myuser
  IdentityFile ~/.ssh/other_id_rsa

Now use the ssh host alias as your repository:

$ git remote add origin example:repository.git
$ pull origin master

And it should use the otheridrsa-key!

In linux, ssh by DracoBlue @ 20 Mar 2011 | 155 Words

GoogleMails verschicken, ohne "Im Auftrag von"

Es gab mal einen

Blog-Eintrag auf dem Gmail-Blog, welcher erklärt hat, wie man seinen eigenen smtp server benutzen kann. Dadurch würde die "Im Auftrag von"-Information z.B. in Outlook nicht mehr angezeigt.

Das toole ist nun, dass das nicht nur klappt, wenn man einen eigenen smtp-server hat! Ich hab mal versucht smtp.gmail.com als eigenen Server einzufügen, und siehe da: "Im Auftrag von" ist verschwunden!

In articles, google mail by DracoBlue @ 24 Jan 2011 | 65 Words

Send GoogleMails from another address without "on behalf of"

There was a blogpost on gmailblog a while back, which explained how to use a own smtp server to avoid the "on behalf of" message in clients like Outlook.

The cool thing, this does not only work, if you have a custom smtp-server! I tried to add smtp.gmail.com as custom server: the "on behalf of" was gone!

In articles, google mail by DracoBlue @ 24 Jan 2011 | 58 Words

PhpDebugToolbar 1.3.0 (for agavi) released

Today I am pleased to announce the new version 1.3.0 of the Agavi PHP DebugToolbar for download.

New features include full propel support (thanks tim), rows+time+memory display for the database queries and some small bugfixes.

The source can be found on github now http://github.com/DracoBlue/PhpDebugToolbar, feel free to fork it and send pull request with new features!

Download for PhpDebugToolbar 1.3.0 (just 23KB) is also available here at dracoblue.net.

Short installation and configuration information can be found in the readme. Thanks to all contributors!

In agavi, javascript, open source, php, phpdebugtoolbar, propel by DracoBlue @ 04 Jan 2011 | 86 Words

Page 13 - Page 14 - Page 15