Think LAMP - Web Development, Linux Administration and Networking

open source, programming, networking, system administration, linux, unix

Entries for the ‘Blog’ Category

Online Calendar Using PHP and AJAX

This calendar plugs in seamless with any content management system you are using. With Ajax, your screen need not be refreshed. The functionality can be easily extended using inheritance.
The full demo can be seen here - PHP Ajax Calendar and source code is here - Simple PHP Calendar Source.

Arrow Keys In Vim

When you navigate using the arrow keys in vim, you might get some funny characters like A, B, C…etc. In .vimrc, add this line:
:set nocompatible
This should do the trick.

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.