RSS Feed
^__^

Hosting multiple Express (node.js) apps on port 80

Max Girkens, 2012/04/20 05:40

In the last days, i was trying to find a solution hosting multiple Express apps on my vServer the same Server.

Starting with Apache and mod_proxy, i ended up with a plain node solution, which i really like. » read more

how to add placeholder attributes in Silverstripe Userforms Module

Max Girkens, 2012/04/19 06:32

to be honest i didn’t find a clean way yet, but i thought this workaround might be worth sharing.

…since SilverstripesUserforms Module Uses jQuery for Validation you can put these lines of code in your UserDefinedForm.ss Template: » read more

Tools for jade template development

Max Girkens, 2012/04/09 12:12

I recently started digging into node.js and the express framework.
One thing i like about it is that it comes with the beautiful jade template engine by default.

Here are some things that come real hany when you are working with jade. » read more

run JavaScript code in PHP 5.3 with the v8js extension

Max Girkens, 2012/03/09 01:14

…for some reason i needed to get t h i s to work before going to sleep.

I’m running OSX 10.7.3 with macports which usually does the job, but  Google’s V8 Javascript Engine is not available as a port yet. » read more

Silverstripe – has_many- and many_many-relations when duplicating pages

Max Girkens, 2012/03/07 05:48

When you duplicate a page in the Silverstripe Sitetree, related “has_one” Items are automatically copied, which is nice.

But if you have, lets say, multiple related images on that Page, those are not copied when you duplicate that Page. » read more

how to not cache the footer in magento

Max Girkens, 2011/10/04 05:10

With some advanced scheduled-post-voodoo i successfully managed to publish this post already yesterday with some completely unrelated queries and no text. this was not intended – please accept my apologies :P

Anyway: In the footer of my magento shop we might have a summary of the shopping cart,
which i simply put in the footer.phtml template file:
» read more

set up magento in multiple environments

Max Girkens, 2011/09/27 05:29

I just started digging in the shop software magento for a project and set up the following development environment.

In this scenario development is done on two local machines while products and pages beeing already edited on the “Live”-Web-Server.
Git is used for version control and deployment. Also FTP SSH. » read more

Tilt – 3D DOM visualization

Max Girkens, 2011/09/23 06:00

someone just +1′d this nice addon for firefox:
(thanks, conrad :)

Tilt Firefox 3d Dom Addon1-300x160 in

Tilt visualizes the DOM in 3D and is a lot faster than i expected.
» read more

install silverstripe with some modules from GIT

Max Girkens, 2011/09/11 12:53

This is a small shell script to set up silverstripe CMS
along with some modules i often use (as seen in ivo’s post)

The script has two parameters:
- the folder to clone the whole thing into
- the branch/tag to checkout afterwards

# install silverstripe + common modules from github
# usage sh install_silverstripe.sh <folder_name> <tag/branch>
# examples:
# sh install_silverstripe.sh some_folder tags/2.4.5
# sh install_silverstripe.sh some_folder master

» read more

install lame on debian lenny

Max Girkens, 2011/06/20 13:09

If you are going to install the mp3 en/decoder lame on debian lenny,
this is how i got it done:

choose your package: http://debian-multimedia.org/pool/main/l/lame/

wget http://debian-multimedia.org/pool/main/l/lame/lame_3.98.2-0.4_i386.deb
dpkg -i lame_3.98.2-0.4_i386.deb

yay!