Category Archives: Web

CakePHP once again: scripts_for_layout from Element

I thought this was worth mentioning:

* using inline=false from an element will probably not work :) since…’this’!

So, echo $javascritpt->link(‘file.js’) FTW! :)

CakePHP: trouble updating record after overriding beforeSave

After defining the function beforeSave in one of my models, I could not get it to update table records anymore. No matter what I did, any call to save function would only create a new record.

CSS3 @font-face currently sucks!

How to use CSS3 @font-face specification to render the fonts you desire on your website. The problems that still exist and alternatives.

Apache SSL Vhosts and Default Vhosts Behavior

How to create an SSL Virtual Host with Apache2. How to couple this with normal Virtual Hosts already in production. Apache2 behavior when Server Name does not match and Virtual Host selection with SSL.

Hotmail, Thunderbird, pop3 and password.

Authentication issues using Thunderbird to access hotmail account.

Sapo Codebits 2009

I have just submitted my application form to attend Sapo Codebits 2009. Let’s see if I’m accepted Hope so.

TwitSlider — Mobile Widget

A mobile widget using Vodafone’s modified runtime of the Opera Widget Plataform.

Apache (apparently) Secured against our beloved slowloris attack

How to defend against slowloris attack.

Name-Based Virtual Hosts with Apache

So here is the situation:

  • you just bought a domain, namely spectacular.com, and you want to point it to you home server with a static IP, or VPS or whatever…
  • you want to serve web-pages with apache and want to have configurations that enable you to configure several sub-domain, just like sub1.spectacular.com and sub2.spectacular.com;
  • you are running Ubuntu or some Debian-based server.

Apache supports name-based virtual hosts. This nice feature of apache, lets you

Page optimized by WP Minify WordPress Plugin

Miscellaneous is Digg proof thanks to caching by WP Super Cache