Fritz Thomas

I installed the default nginx package available in Ubuntu 10.04 server. For PHP-5.3.2 you have to use the cgi version, of course. But enough of the words.

It is really really simple, so i just post the config files. The only “trickier” part was to convert the Apache Rewrite Rules from the FLOW3 distribution. After this you can completly delete the .htaccess file.

It should be self-explanatory:

Read the rest of this entry »


If you edit a file and vim does not recognize its syntax correctly or not at all you can set its syntax manually with :set syntax=[SYNTAX]
Do you want to know which syntax your vim installation understands you can list all with this find: find /usr/share/vim/*/syntax -name "*\.vim". This is also the place where to put new Syntax files.


Have you ever wanted to set permission to all directories under a certain directory to 755 and permissions to files under that certain path to 644?

Read the rest of this entry »

Tags: ,

This is an update and in depth look to my previous Blog post of “How to get absolute path within the running shell script“.

In my previous post i used a solution with readlink which is not available everywhere. Especially on Mac OS there is no readlink. But, we do not need readlink anyway…

Read the rest of this entry »


28 Jun, 2010

Tweet Blog Posts

Posted by: Fritz Thomas In: Overall

If you want to tweet any of your blog posts to your twitter account the Twitter Tools Plugin for WordPress is what you need.


28 Jun, 2010

Post to Twitter Plugin

Posted by: Fritz Thomas In: Overall

For now on, i am going to publish new blog entrys to my twitter account.


If you look at the RC1 source of the upcoming 5.3.3 release of PHP you see that the PHP-FPM sapi is already included. PHP-FPM was announced to be in the 5.4 release. Hopefully this gets not changed in the final release.
Why i am so excited about that? “PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.”
Read the rest of this entry »


My continuous research about how to create real native desktop applications brought me to this solutions which are available today:

Read the rest of this entry »


If you want to free the memory from all unused “crap” you can run this little one liner as root:

sync;echo 3 > /proc/sys/vm/drop_caches

The sync command flushes all buffers from memory to disk so you are safe that you do not loose anything. Keep also in mind that not everything from the cleared memory was crap. You dropped all caches – so expect that some things might run even slower.

Tags: ,

cd /home/USER
tar cf - . | (cd /dir/where/you/want/to/copy && tar xBf -)

This has some advantages over cp -rfp. You can read it in detail at O`Reilly


18 Jun, 2010

Update to WordPress 3.0

Posted by: Fritz Thomas In: Overall

OMG. Thats what i thought when upgrading to WordPress 3.0 – with a single click. Without any problems. It took about 1 Minute. And voilá – Here is WordPress 3.0 on my Blog. Great.
Keep up your good work WordPress Team. Thank you for the greatest Blogging Software.


RaphaelJS, JQTouch, Connect and ExtJS are joining forces and therefore ExtJS (the Company) renamed their name to Sencha. ExtJS (their JavaScript Library) gets not unchanged. I think there will be much much more cool news regarding Sencha in the future.


Because i wanted to play around a little bit with Titanium i have created the ExtJS API Doc as a Desktop Application.
There was a version available for Adobe AIR some time ago – now it is available again, but made with Titanium not with Adobe AIR. I plan to update the App with a search Interface so you can do a full-text search on the API Docs. I also plan to update the Docs to the latest version as it is officially available via ExtJS Website.

Go to the download page and select the API Docs App for your desktop platform – Windows, Linux or Mac.
Desktop ExtJS API Documentation


After upgrading my Browser on Ubuntu 9.04 to Firefox 3.5 Shiretoko i couldn’t watch Flash Videos in Fullscreen resolution.
Read the rest of this entry »


You can safely empty some directory`s in Gentoo. But as always – first make sure if my suggestions are OK for YOU too!

# As superuser
gentoo ~ # emerge --sync
gentoo ~ # emerge -av gentoolkit
gentoo ~ # emerge -av --newuse --deep --update world
gentoo ~ # emerge -av --depclean
gentoo ~ # revdep-rebuild
gentoo ~ # rm -rf /var/tmp/portage/*
gentoo ~ # rm -rf /var/tmp/ccache/*
gentoo ~ # rm -rf /var/tmp/binpkgs/*
gentoo ~ # rm -rf /var/tmp/genkernel/*
gentoo ~ # rm -rf /usr/portage/distfiles/*
gentoo ~ # rm -rf /tmp/*

First, you have to install gentoolkit if you haven done this already. Then we remerge or update all packages where USE flags have changed. Then we are searching for unneeded dependencies and remove them. Finally we check if there are any packages with unresolved link dependencies, let them emerge and then clean up some directories.

Optionally you can defrag some of your partitions if this is neccessary. In case of XFS you can do this by:

gentoo ~ # xfs_db -r /dev/hda2

After this you should have a cleaned up gentoo environment, with no broken dependencies and no unneeded packages or libraries.


I recently stumpled across Swiftfox when i searched for a Firefox 3.5 .deb File for Ubuntu 9.04. The .deb Files should be compatible with all Debian based distributions.

The benefit of Swiftfox is it is up-to-date with the latest Firefox Version and you get it as an optimized build for your CPU! Currently there are build for Intel Prescott, AMD64, AMD64 (32bit OS) and each with one build for older CPUs.

Go to http://getswiftfox.com/ to read more about it.


Recently on the TYPO3-5 Mailing-List Eike Starkmann wrote about his master thesis project called Saros:

Saros is an Eclipse plugin for collaborative text editing and
distributed pair programming, i.e. it allows two or more developers to
work together in real-time on the same files. It is similar to Gobby,
SubEthaEdit or Google Docs but focuses on programming in Eclipse.”

He summarizes the advantages of using such a plugin:

“[Projects] … can benefit from Saros because I think it brings many
advantages to Open Source Software development:

  • Distributed Pair Programming is like a live peer review. This should
    help with finding good design, get rid of bugs, increase readability, etc.
  • Transferring knowledge should be easier to do when more than one
    person look at and work with the same code. This should also help to
    give new developers an introduction to the code.
  • In contrast to screen sharing, Saros only shares your actions inside
    of Eclipse with regards to the project you are both working on (think
    privacy) and you are still independent to explore the project on your own.

Saros can be useful in the following contexts:

  • Working on complicated problems in the code
  • Performing code reviews
  • Debugging
  • Code presentation
  • Code sprints
  • Introducing new developers to the project

There is also a screencast avilable which demonstrates the features very well.


30 Jun, 2009

PHP 5.3.0 officially released

Posted by: Fritz Thomas In: PHP

Now it is finally here. The long awaited PHP 5.3.0 Release with Namespaces, Late Static Binding, Closures, many new extensions, new additions to the SPL and many more.
Read the full Release Announcment for PHP 5.3.0
You can download PHP 5.3.0 on php.net Download site.


Read the full News at the FLOW3 Project Website:


Tags: ,

25 Feb, 2009

Little Blog update

Posted by: Fritz Thomas In: Overall

I have just updated my Blog a bit. Actually i updated just some CSS but i hope it has more contrast now.

Tags:

You may know the CSS declarations text-align and vertical-align. Perhaps you tried alredy to vertically align inline span elements within a div block element but did not succeed yet. I will try explain how to achieve this with a simple button example.
Before:screenshot14
After: screenshot13
Read the rest of this entry »


18 Feb, 2009

CSS Browser Compatiblity

Posted by: Fritz Thomas In: Overall

Many of you may already know this sites. But one more link can not be that bad.

If you are searching for a list of CSS Attributes and their compatibility in the major browsers with examples, demos, hacks or workarounds to get it working Cross Browser wide take a look at http://www.quirksmode.org/css/contents.html and http://de.selfhtml.org/navigation/syntax.htm#css (only in german language at the moment).


Yesterday Zend Framework 1.7.5 was released with the normal enhancements and bug fixes. There is also an update to Zend_View which breaks Backwards Compatibility due an Security Issue. Read more on this on Matthews Blog.

It is available for download as usual on http://zendframework.com/download/latest.


Do you ever wanted to know which features of HTML5, SVG or CSS3 are implemented in which browsers, or when they are going to implemenet it?
Thats what you can see in the compatibility tables on “When can i use” .
Read the rest of this entry »


Mozilla released a new Labs project which shows what can be done with HTML5. It uses only Web Technologys – No Flash. I write this because it might look like Flash in the video.

Bespin is not another richt text editor. It is a fully integrated development environment usable right in your browser. Like the title of Bespin Homepage says: “Code in the Cloud”.

Read the full announced on the Mozilla Labs Blog.

Or watch this introducing screencast from Dion and Ben:


Introducing Bespin from Dion Almaer on Vimeo.


06 Feb, 2009

Funny Stoned Kid after Dentist

Posted by: Fritz Thomas In: fun

“Is this real life?”, “I can’t see anything…”, “I feel funny….” –> So funny!


06 Feb, 2009

Designing Rich Web Interfaces

Posted by: Fritz Thomas In: Overall

There is also a Web Site about the new book: http://designingwebinterfaces.com with a little comparison of the essential controls needed in an web application and which JS Librarys have implemented it so far and how.


The first annual ExtJS Conference was announced and takes place in Orlando, Florida from 14th to 16th April 2009. There is also a release party of the new ExtJS 3.0 release.
Read the rest of this entry »


Take a look at my updated post

Have you ever needed the absolute path of the shell script within this script? I do not mean the current working dir (pwd). That is different, because you do not know from which path the bash script is called.

In my case i needed the absolute path, because i wanted to call another script, which is by convention, in the same directory as the called script. In such a case you would use realpath in PHP – readlink is the bash equivalent to it.

1
2
3
4
# Absolute path to this script. /home/user/bin/foo.sh
SCRIPT=$(readlink -f $0)
# Absolute path this script is in. /home/user/bin
SCRIPTPATH=`dirname $SCRIPT`

07 Jan, 2009

Picture gallery moved

Posted by: Fritz Thomas In: Hardware|Overall

I made some changes to my picture gallery. There is also new folder ‘Hardware‘. Within this folder there are all pictures of my previous blog posts about new hardware. This is:

If you have made any High Quality Photos of your Hardware in at least 1024×768 resolution and you think this might interest other people, please contact me via the contact form.


01 Jan, 2009

First!

Posted by: Fritz Thomas In: Overall

Yay. First!!


After buying some cool new stuff from Thinkgeek my workroom looks like this now. Only the orignal super mario sound is missing. Maybe this will be done in the future. ;-)


Songbird is for the first stable release yet powerful.But do you miss an option or feature in Songbird.  Take a look at the addons for songbird. I missed to minimize the player in the notification area of Gnome in Ubuntu 8.10 and i found an addon – Firetray for Songbird. Installed, Restarted, ready to minimize.


A few weeks ago Adobe announced to release new versions of the Flash player and Air simultaneously for the 3 major operating systems Linux, Mac and Windows.

Today Adobe released AIR for Linux in Version 1.5 to catch up with the others. So in future Linux Users of AIR do not have to wait for new version. I think this is just another step of Adobe in the Linux world. I hope they will release also other Software simultaneously for Linux in future. For example Photoshop or other foto related programs of Adobe.

bildschirmfoto-adobe-adobe-air-mozilla-firefox

Read the rest of this entry »


The Upgrade to WordPress 2.7 did not raise any errors and was straight forward. I just followed as usual this guide: http://codex.wordpress.org/Upgrading_WordPress

This was the last upgrade i had to make, because of the new automatic upgrade system introduced in WordPress 2.7. In Future an upgrade will only be a click away. Yay. ;-)


05 Dec, 2008

I love Clouds

Posted by: Fritz Thomas In: Overall

I found a really nice tool on our corporate blog. Wordle .

To describe best what worlde does with Webpages – take a look at this picture:

Tags: ,

After upgrading to Ubuntu 8.10 Intrepid you may get some error on sshfs mounted directories, when you tried to copy something on this places. This fix seems to be fixed in sshfs 2.1. If you need a fast fix on this install sshfs 2.1 manually from here: http://packages.ubuntu.com/jaunty/sshfs

Select the right Architecture and download the .deb file from one of the locations on the next site. You can open the deb file directly with GDebi Package Manager.

Ignore warnings that an older version was found in your package manager.


As i posted some days ago, the ExtJS Roadmap was updated and includes some very interesting and promising new features. Some of them will be:

  • Comet
  • Charting API
  • etc…

Now Jack Slocum posted a preview of a visual drag and drop developer tool for ExtJS. In the Screencast he shows how to create a grid with an XML Source with Drag and Drop.

Read the rest of this entry »


Andi Gutmans writes in a recent blog post about the progress of Zend_Amf in the Zend Framework since the partnership between Adobe and Zend:

At ZendCon this year we announced a partnership between Zend and Adobe. The goal of the partnership is to help make it easier for PHP developers to use Flex. Since then there has been a flurry of activity including blog posts and the introduction of Zend_Amf into the main trunk of Zend Framework.

Read the rest of this entry »




Latest Tweets

Posting tweet...