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.
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.
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…
If you want to free the memory from all unused “crap” you can run this little one liner as root:
sync;echo3>/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.
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 »
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.
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.
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.
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:
After: Read the rest of this entry »
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.
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”.
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 »
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.shSCRIPT=$(readlink-f $0)# Absolute path this script is in. /home/user/binSCRIPTPATH=`dirname$SCRIPT`
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.
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.
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.
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.
subbu:
Hey,
Thanks a lot. I was searching for something similar.
Subbu
Maik:
Habe jetzt für ein eigenes (schon ewig geplantes) Projekt auch mit dem ZF(version 1.10) angefangen und das tutorial hier hat trotzdem noch ganz gut g