AVR Studio 4, 5 and 6 download links

To download AVR studio 4 or AVR studio 5 from Atmel.com, atmel wants you to register. Registering and waiting to receive the download link by e-mail is annoying, so here are the direct download links.

Download AVR Studio 4.19 (build 730)

AvrStudio4Setup.exe

Download AVR Studio 5 (5.1.208)

as5installer-stable-5.1.208-full.exe

Download AVR Studio 6 (6.0.1843)

as6installer-6.0.1843.exe

Magento custom address attribute

Adding a new attribute to addresses in Magento is not trivial. The attribute needs to appear in all back-end address forms. The attribute needs to appear on the checkout and edit address forms for the customer. The attribute needs to be saved in the database when the user checks out.

There are several tutorials on the internet describing how to add attributes to the address, but I found that none of those tutorials led to a satisfying result.

I combined several of those tutorials into a new module. This module has been tested with Magento 1.7.0.2 and 1.6.1.0. The attribute works in the front-end, the back-end and is available trough the Magento API.

You will find the module in this Github repository. Read the README to find out how to use the module.

I intend to keep this module compatible with future versions of Magento. Please fork & pull if I lag behind.

Questions and comments can be posted below.

Magento adres en postcode controle module

Magento adres en postcode controle voorkomt dat klanten een onjuiste postcode invullen. Ook wordt voorkomen dat klanten het huisnummer vergeten in te vullen. Dit bespaart kosten, doordat pakketten niet meer aan worden geboden op verkeerde adressen.

Op dit moment ben ik een Magento module aan het ontwikkelen voor postcode adres controle. De module zal controleren of dat postcodes aan het juiste formaat (1111AA) voldoen en de plaats en straat horende bij de postcode ophalen van een postcode webservice. Ik verwacht de Magento module binnen enkele weken op te kunnen leveren.

Voordelen van deze module:

  • Gratis te downloaden en eenvoudig te installeren.
  • Geschikt voor meertalige websites.
  • Werkt zonder het zware jQuery pakket.
  • Werkt ook als adres niet beschikbaar is.

6PP Postcode webservice review

Voor mijn Magento webwinkel ben ik automatische adresaanvulling aan het ontwikkelen. Bij het afrekenen voert een klant zijn postcode en huisnummer in. Straat en plaats worden daarna door het systeem automatisch aangevuld.

Daar is echter wel een database voor nodig met daarin voor iedere postcode de straat en plaatsnaam. Als je zoekt naar een dergelijke database kom je al snel bij postcode.nl. Zij krijgen wekelijks updates over veranderingen van postcodes van PostNL en bieden dus een accuraat bestand aan.

Dell Vostro V131 review

The Dell Vostro V131 is a 13,3" light weight notebook with up to date hardware. It seems to be a good value for money deal, but is it?

This review is under construction. read more after November the 3rd.

OV-chipkaart saldo checken online

Het saldo van de anonieme chipkaart kun je alleen bij oplaadpunten checken.

Heb je een persoonlijke OV-chipkaart? Dan kun je online al je transacties inzien, het saldo checken en gegevens bekijken en wijzigen. Dit kan op de website OV-chipkaart.nl. Om je saldo te kunnen checken dien je eerst een account aan te maken.

In de webwinkel van OV-chipkaart.nl kun je saldo kopen.

Execute commands with Notepad++

I love Notepad++ because it is a fast but flexible editor. Currently I'm using Notepad++ to write C for AVR microcontrollers. I would like to start the build process from Notepad++ so I don't have to switch to the CLI every time I want to build.

Nginx Fast-CGI performance: unix socket vs tcp/ip socket

I configured Nginx to pass php requests to PHP-FPM using fcgi_pass. I was wondering whether there would be a significant performance difference between using a unix socket:

fastcgi_pass unix:fastcgi.socket;

and a tcp/ip socket:

fastcgi_pass 127.0.0.1:9000;

I used ab to test both configurations. I tested on Magento webshop and on a php script which just printed phpinfo().

MySQL database encryption using public/private keys

As an additional security measure you can encrypt sensitive data in your database. When a hacker obtains access to your database, the hacker will find the encrypted data. You want your web application to enter new encrypted data into the database and you want to grant users of your web app access to the sensitive data without exposing the decryption key to the hacker.

Yii: Disable CSS registration by widgets

When I was working on this blog (which is based on the Yii blog tutorial) I noticed that my pages included CSS files like pager.css and styles.css. Those files are registered to CClientScript by a widget. The CSS files contain rules for the layout of the widget. But I want full control over the layout of all element on my website from one CSS file so I had to disable the CSS of the widget.