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

Scripting with Scheme Shell

Posted by suvi under Programming

Last month, Daryl Lee gave us a taste of the language Scheme in the article It’s time to learn Scheme with a C++ code generator. This time we will be looking at some practical examples written with Scheme Shell (SCSH): finding and replacing text in a bunch of files, sorting files in two different ways, [...]

No Comments

Make Your Scripts User Friendly with Zenity

Posted by suvi under Programming

The first time I played with Zenity, I recognized several potential uses for it. While I’m pretty comfortable with interacting with computers with a command line interface, I know many people are not. Zenity creates GUI widgets from a simple command line and can be used from any shell script. This allows an Administrator to [...]

No Comments

Using a wiki for FOSS application documentation

Posted by suvi under Programming, Software

For a lot of programmers, writing an application is fun, but writing its manual is not. Adding new features, refining the product, and responding to users’ input are all more rewarding than writing instructions on how to use the software. However, good documentation is necessary to have happy, informed users who can contribute meaningfully to [...]

No Comments

How to Install C and C++ Compilers in Ubuntu and testing your first C and C++ Program

Posted by suvi under Programming, Ubuntu

If you are a developer you need C and C++ Compiler for your development work.In ubuntu you can install the build-essential for C and C++ compilers.
Read more at Ubuntu Geek

No Comments

RPMs - The HOWTO Short Story

Posted by suvi under CentOS, Fedora, Mandriva, Programming, openSuse

If you like the latest and greatest version of everything and you use an RPM based system you probably want to learn how to create RPMs. You don’t have to, you can just download the latest source and compile and install it in /usr/local. This of course leaves your system in a state where your [...]

No Comments

Setting Up A Modular Subversion Repository For PHP-Driven Websites

Posted by suvi under Programming

Sharing code between projects is still not a trivial matter with
subversion. Especially if you are familiar with SourceSafe, you will
find that subversion makes it hard to share code. Subversion seems to
be really great in creating a version mess and good in solving one, but
the reason I need source code control is to prevent such a
mess. [...]

No Comments

OOo Basic crash course: Creating a simple game using strings in a database

Posted by suvi under OpenOffice.org, Programming

Just because OpenOffice.org Basic is designed to automate mundane tasks doesn’t mean that you must use it only for serious work. It’s a programming language after all, and nothing stops you from using it to write something fun. Today we’ll use it write a simple game where you have to guess a word, a letter [...]

No Comments

Command line automation with Expect-lite

Posted by suvi under Programming

Expect is a venerable tool for scripting interactive command-line tools. One normally sees expect coupled with the TCL programming language — for example, in the DejaGNU test environment. Expect-lite is a wrapper for expect designed to allow you to capture an interactive session more directly mapped into a script. The expect-lite language also includes simple [...]

No Comments

Better source control for your coding projects

Posted by suvi under Programming

The proper use of source control systems is a critical skill for programmers to have, and something that many of them have to pick up through observation, trial, and error in the workplace. For students, or people who primarily program as a hobby, the learning process can be particularly slow and painful. Here are some [...]

No Comments

Creating rich Internet applications on Linux with WebKit

Posted by suvi under Linux, Programming

The open-source WebKit HTML rendering engine is rapidly gaining ground on the Linux platform where it is increasingly being adopted by conventional desktop applications for content display. Ongoing efforts to facilitate tighter WebKit integration are opening the door for developing rich Internet applications on Linux with the open-source GTK and Qt development toolkits.

No Comments

Learning XHTML: Monty Python Style

Posted by suvi under Programming

For reasons unknown to civilized (or uncivilized) man, all programming books are often immensely boring. Seriously. That is, until now. Today, Free Software Magazine presents (in conjunction with Andrew Min Writing Studios) Learning XHTML: Monty Python-Style.
Your name is King Arthur (or if you prefer, it could be Lancelot or Galahad or Bedivere or even Robin [...]

No Comments

PHP programming on Ubuntu 7.10

Posted by suvi under PHP, Programming, Ubuntu

We can do PHP programming by any text editor, such as vi and nano. However, a Integrated Development Environment (IDE) is good for debugging.
For IDE, I choose EasyEclipse for LAMP and it is not required to install. Download it and double click it to run. However, we should install some server programs and do some [...]

No Comments

Installing NetBeans 6.0 on Ubuntu-7.10

Posted by suvi under Programming, Software, Ubuntu

I followed the instructions mentioned in this NetBeans Wiki to install NB 6.0 on my ubuntu.
But I feel some more information can be added to this wiki.
For example, when i ran the command “sudo apt-get install sun-java6-jdk“, ubuntu complained to me that this package is not found in its repositories.
The problem here is that the [...]

No Comments