LAMP How To – Open Source At Work

Only Passion Matters

Entries for September, 2007

Simulate Login Checks with Nagios

If you wish to check that your web application is working fine (people are able to login), you can run a script to automate the login process. It is possible to use cron to do it but with nagios, you could do much more. Nagios is highly configurable and it makes perfect sense to write [...]

Linux Network Printing

I installed a linux network printer for a friend and thought I post the steps here. First of all, find out the ip address of the printer. Go to http://localhost:631 to add a printer. You might need root access.
Under device, choose ipp and in Device URI, type ipp://hostname/ipp/. Then add the model and follow through [...]

Internet Security Is About Common Sense

I find remembering passwords the hardest thing in life. When creating user accounts on the net, we often need the username and password. To save trouble, a lot of people use the same username and password in alot of places – including bank accounts!
Not every website uses encryption for password, so if you happen to [...]

copy and paste between vim windows – stupid indentation

if you are using vim and tries to copy and paste between windows or shells, you may find that vim adds some extra spaces / identations to your code. Irritation? yes. The quick solution is to do a
:set noautoident
or add this in the vimrc file to make it a default.