Supercharge Firebug

Posted by suvi under Programming

Designing and building Web sites can be a maze of tasks these days. One tool that can simplify the task is the well-known Firebug extension, which lets you edit and debug HTML, CSS, and JavaScript from within Firefox. As useful as Firebug is on its own, it can actually be extended past its initial setup [...]

No Comments

Dress up your Python scripts with EasyGui

Posted by suvi under Programming

In many cases, adding a graphical interface to Python scripts means getting your hands dirty with TKinter or other GUI programming kits. This exercise is usually reserved for users who have already acquired decent Python programming skills, as it requires some serious code wizardry. Thankfully, the EasyGui module allows you to add some GUI goodness [...]

No Comments

Scripting Best Practices

Posted by suvi under Programming

Scripting languages are incredibly useful for quick-fix scripts. The problem with this is when the quick-fix script is still in place 6 months down the line, at which point the corners you cut because, hey, it’s just a short-term fix, come back to bite you. Read on for some best practice tips to make the [...]

No Comments

How To Create A Bash Install Script

Posted by suvi under Programming

Have you ever wanted to create an installer program on a Linux system, but didn’t want all the hassle of an actual install builder? I have. I recently had need of a simple, no frills installation that could:
1. ask the user a few questions
2. extract some binary files and
[...]

No Comments

Generating Native Excel Files in Perl

Posted by suvi under Office, Programming

Over the years, I’ve probably created thousands of reports for customers and co-workers. Usually, I have a web-based program that generates reports in either html or comma-separated format. The html format is a lot prettier and usually gives the user what they want. The comma-separated format allows the user to easily import the results into [...]

No Comments

How To Install Django On Mandriva 2008.1 (Apache2/mod_python)

Posted by suvi under Apache, Mandriva, Programming

This tutorial explains how to install Django
on a Mandriva 2008.1 server. Django is a web framework that allows to
develop Python web applications quickly with as much automation as
possible. I will use it with Apache2 and mod_python in this guide.
Read more at HowtoForge

No Comments

Generating Native Excel Files in Perl

Posted by suvi under Office, Programming

Over the years, I’ve probably created thousands of reports for customers and co-workers. Usually, I have a web-based program that generates reports in either html or comma-separated format. The html format is a lot prettier and usually gives the user what they want. The comma-separated format allows the user to easily import the results into [...]

No Comments

100 Vim commands every programmer should know

Posted by suvi under Programming

Since the 70’s, Vi is one of the programmer’s best friend. Nevermind you’re new to Vi or not, here’s a big list of 100 useful commands, organized by topic, which will make your coder life better.
Read more at http://www.catswhocode.com/blog

No Comments

Howto: build and install the intl PECL extension for PHP5 in Debian

Posted by suvi under Debian, PHP, Programming

For the past few days I have been looking for a proper i18n (internationalisation) and l10n (localisation) method for PHP. PHP has quite a few locale aware functions such as strftime and sprintf. In combination with gettext this can work quite well. The major downside is that you need to install all the locales that [...]

No Comments

Jump start your Web app deployment with a JumpBox

Posted by suvi under Programming, Software

Software installation, deployment, and configuration can be a headache and a time sink for systems administrators. To ease the process, JumpBox delivers preconfigured Web apps that run as virtual appliances on any machine, across platforms, irrespective of operating system.
Read more at Linux.com

No Comments

Designing rich AJAX Web interfaces with ZK

Posted by suvi under Programming

ZK is an AJAX toolkit designed to make creating user interfaces that run in a Web browser as simple as creating event-driven interfaces for desktop applications. The interfaces created with ZK use an XML markup language to define the user interface and Java code to implement the Web application’s functionality. ZK includes support for [...]

No Comments

Debugging PHP Applications with Xdebug and Eclipse PDT

Posted by suvi under PHP, Programming

OK, so I have x64 Eclipse successfully installed and running with all the plugins I use for Web Application Development. But what about debugging? Sure, var_dump(), echo, print and so on are all valuable to me when debugging a script, but it’s always good to have more information.
Xdebug is a fantastic PHP extension, which is [...]

No Comments

Add an Auto-Incrementing Build-Number to Your Build Process

Posted by suvi under Programming

When building software it’s often useful to give each iteration of your build process a unique number. Many IDEs and RAD tools do this for you automatically. If yours doesn’t and you’re using a make file to build your code you can add an auto-incrementing build number to your project with a few simple changes [...]

No Comments

Make your own configuration deployment system, part 1

Posted by suvi under Programming, Tricks

In this series of articles, I describe the steps to making a flexible configuration deployment system tailored to your needs. It can be as simple or as complete as you care to make it. And since you made it, you can understand it intimately.
If you have two or more machines to manage, you have probably [...]

No Comments

Compiling Wormux 0.8 from Source

Posted by suvi under Programming, Software

Wormux is an open source clone of the classic game Worms. It’s a multiplayer turn-based game in which teams of open source mascots battle on a deformable landscape with a variety of weapons.
Wormux 0.8 was recently released, bringing networked multiplayer, new maps & weapons, bugfixes, and more. Wormux has been one of my favorite [...]

No Comments