Mauserrifle.nl Tech Articles

    Projects     Archive     Contact

Magento admin grid filter values

Getting the filter values from an grid within the Magento admin can be a tricky task and is not very straight forward. In my case I required these values for a custom order export type to build a proper file name. After digging around in the code I found a way.

(more…)

PHP-Minesweeper

Recently I’ve finished a project called PHP-Minesweeper. It’s an object-oriented PHP implementation of the game Minesweeper I’ve created to practice test-driven development. It was a success as it’s my first hobby project I actually bothered completing due to the fun with this way of developing. There were only minor bugs down the road and I implemented the front-end (HTML) within 30 minutes.

(more…)

Explorer: No cookies using underscores

Recently at work we came across, yet another new frustrating microsoft thing. Cookies don’t work on explorer 7 when you use an underscore within your domain. For us this was the case for some local develop address “domain_php5.local”. It only took my colleague a day to figure it out…

(more…)

Running Debian Linux on Toshiba Satellite R850

Recently I bought a Toshiba Satellite R850-153. I decided to install my favorite Linux distro Debian (wheezy/testing amd64). Things went well (wifi works out of the box), but also things went very wrong immediately after installation.Below I’ll describe the problems I came across after installing Debian. I think this will be useful for Ubuntu users too!

(more…)

Debian: No ipv4 connection within Java applications

Recently there is a very annoying setting within debian squeeze. It causes many java applications to not function anymore on ipv4. Basically this means a lot of programs like Eclipse and Netbeans won’t function at all when requiring a connection.

(more…)

OSX and Linux NFS shares

At work we had this odd problem of OSX (Leopard) clients disconnecting from our NFS file shares. The problem occurred when the clients opened the index of their mounted location. At this point the whole finder (OSX file browser) disconnected and reported “Connection interrupted”. However, the users were able to open child folders directly (e.g. /mount/folder/) which eventually made their work little bit possible, but usually within minutes they got disconnected again while doing copy jobs and such.

(more…)