I’d like to show you how to make two great libraries work together: Raphael and Knockout. I’ve built the basics of a purely browser-based application for creating simple graphs (as in “graph theory”). This article was supposed to be a longish explanation of how it all works, but unfortunately I’m really short on time. The working [...]
Author Archives: Zoltán Nagy
Linux server security tips
The obvious Always keep your system up to date with security patches. No amount of configuration can save you if your version of sshd allows anyone born before 1970-01-01 to log in as root. Always employ the Principle of least privilege: give users only the permissions they strictly need. Check that your system doesn’t run [...]
Proposal: a community-powered collection of PHP best practices
Scott Griepentrog kindly rented a domain to use for this purpose and set up a publicly accessible Google Sites page. All that’s missing now is great content (actually, maybe not, if you’re from the future). You can find the wiki at http://phpfu.org Why? We all know the old argument on why PHP is often seen [...]
Node.js, Express and CoffeeScript
The solution oultlined here uses the compiler Connect middleware, which was removed in Connect 1.7 (and therefore in newer Express.js versions). The new alternative is connect-assets.Thanks to Marcel Miranda for pointing this out. I’ve been working on a moderately complex hobby project for a while using Node.js and CoffeeScript. This is the first of a [...]
Sup + GMail on Arch Linux
“The goal of Sup is to become the email client of choice for nerds everywhere.” It sure became my email client. Setting it up is quite straightforward once you have it figured out, but it takes some time if you haven’t used a similar setup yet. Installing on Arch Linux I don’t know if this [...]



Bringing back the scroll buttons to GMail
There’s been some noise on the ‘net about missing scroll up/down buttons in the new Google design. Note that this only affects the browsers based on WebKit (Chrome, Safari and some KDE browsers, to name a few). Here’s a way to fix that. Why are the buttons gone? As IE before, WebKit has introduced styleable scroll-bars. (Whether that’s [...]