I am Binny V A, a Freelance Web Developer on the LAMP Platform(Linux/Apache/MySQL/PHP) based at Cochin, Kerala, India.

<< 2007 < August September 2008 October >
SunMonTueWedThuFriSat
 1
Delete all n chars in a file…

Delete all n chars in a file… tr -d "n"


2
3
4
Encrypt/Decrypt File using OpenSSL in Linux

Works on OS X, Linux, anywhere with OpenSSL installed: To encrypt a file: openssl des3 -salt -in infile.txt -out encryptedfile.txt To decrypt the file: openssl des3 -d -salt -in encryptedfile.txt -out normalfile.txt


5
JSL Demo - Chatter

Implements a very simple chatting application using JSL in around 20 lines of code.

Read 'JSL Demo - Chatter'...


6
Remove www From URL using .htaccess in Apache

This htaccess code will remove the ‘www’ part from the url. It uses the mod_rewrite module of apache to re-write the url - so make sure that’s installed. RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] RewriteRule ^(.*)$


7
Encrypt/Decrypt using PGP

Usie this command to encrypt and decrypt a file using PGP in linux. gpg -c file gpg -o file -d file.gpg (output to file)


8
9
Nexty 1.02.A

New Version of Nexty, 1.02.A, released.


10
10 Principals of PHP Development

My take on the recent '10 Principles of the PHP Masters' article. Bottom line - go read it - and decide which advices are good for you.


11
Create a Bzip2 File

create a tarball compressed into bzip2 tar -cvfj archive.tar.bz2 dir


12
Adding Support for almost All Video Formats/Codecs in Linux

There is an over abundance of video formats right now - fortunately, our favorite OS, Linux, is capable of handling all of them. But some video formats are not supported 'out-of-the-box' - in such cases, we have to install the necessary codecs. This guide


13
Decompress Bzip2 File

Decompress a compressed tar archive in bzip2 tar -xvfj archive.tar.bz2tar -xvfj archive.tar.bz2


14
Configure IP Address

Configure IP Address using the ifconfig command ifconfig eth0 192.168.1.1 netmask 255.255.255.0


15
Installing LAMP(Apache Web Server/PHP/MySQL) in Debian

Installing the LAMP environment on a Linux system is easy if you are comfortable with using the native package management software. If you on a Red Hat/Fedora/CentOS system, that will be yum - and for Debian/Ubu


16
Archive all files with a given extension

Find all files with ‘.log’ extention and make an bzip archive find /var/log -name '*.log' | tar cv --files-from=- | bzip2 > log.tar.bz2


17
SMPlayer - Linux Video Player

SMPlayer is a front-end for MPlayer, from basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. It is the most configurable video player in linux - and my favorite.


18
PS Command Forest Mode

Displays linux tasks in a hierarchical mode ps -e -o pid,args --forest


19
Nexty - Online GTD ToDo List Manager

Nexty is a easy to use GTD tool created in PHP. It can be installed in a local server or in a online web server. The core idea behind this software is simplicity.


20
Download Multiple URLs

Command to download a series of urls with zero padding files… for ((i=1;i


21
Build RPM From RPM Source

Build a rpm package from a rpm source rpmbuild --rebuild package_name.src.rpm


22
Compile and Install a LAMP(Linux/Apache/MySQL/PHP) Server from Source

In the last post, I described the method to install a LAMP server using apt in debian. But in some occasions, we need the latest build of the software - then we have to install it from source.


23
Burn an ISO image

Burn an ISO image cdrecord -v dev=/dev/cdrom cd.iso


24
Verify RPM Package

Verify the integrity of a rpm package rpm --checksig package.rpm


25
Ajax 'Loading Indicator' Design Pattern

Almost all Ajax apps shows a small loading indicator(usually a small rotating gif image) when they are sending or receiving data from the server. It is not there for decoration - it makes the application faster in the eyes of the user. Its not real speed


26
Remove Deb Package

Remove a deb package from the system dpkg -r package_name


27
LHC: A Big Letdown

I rarely do anything interesting due to my physical and mental disab


28
Packet Sniffing

Configure ‘eth0′ in promiscuous mode to gather packets (sniffing) ifconfig eth0 promisc


29
Finding the Factorial using Recursion

Finding the Factorial using Recursion in javascript. function factorial(x) { if(x


30
Remote Database Backup WordPress Plugin

Remote Database Backup wordpress plugin creates SQL dumps of your wordpress database. It is based on the WordPress Database Backup plugin - but it removes some of the security res


    


Binny V A Sitemap