Skip to main content


Basics of GnuPG (GPG) command in Linux

Sanjeev Kumar Jaiswal's picture

What is GPG ?

GnuPG (GPG)Gnu Privacy Guard or GnuPG or popularly known as GPG is a GPL Licensed alternative to PGP (Pretty Good Privacy) and its openPGP complaint program for *nix people based on rfc 4880. It is part of GNU software project started in 1991 by Werner Koch and majorly funded by German Government.  Download its pdf format from here.

Login or register to view attached files

Delete Function in Perl with examples

Sanjeev Kumar Jaiswal's picture

“delete” function in Perl is mainly used to delete the given element/key, which in return deletes its associated value(s) too. So, exists() on such key would return false.
Note: Assigning undefined value to a key in has doesn’t remove its key but delete() function would do that. So, use delete() or assigning undefined value wisely.
The general syntax for delete function is:

  1. delete EXPR

Minimal things every Blogger should know about web spam

Sanjeev Kumar Jaiswal's picture

Web spam is more viral than email spam.

In email spam they target only known email id, which they get from various sources like small consultancies or from training institutes or by doing some social engineering ;). Mail providers like Gmail, Yahoo are too intelligent to send it to spam folder without giving you trouble. So, you are somehow safe in case of email spam.
But in case of web spam, they want us to browse their website to buy or advertise their products. Web Spammers main motto is only to earn money. We need to be sure before any comment or post is getting published in our website. In worst case you may lose permanent genuine readers too!, which will ultimately affect your site and your revenue if any.

Execute command when matches a pattern in vim

Sanjeev Kumar Jaiswal's picture

There are some situations while working in vim to add/delete/replace some keywords/lines based on matched pattern. Like remove ^M from a file and we explained various methods to do so.
User may face few other situations where they can use vim commands like %s or :g efficiently.

Minimal JSON that Web Developers should know

What is JSON?
JSON is short notation for “JavaScript Object Notation”, and is a way to store information in an organized, easy-to-access manner. It gives us a human-readable collection of data that we can access in a really logical manner.
Download its pdf version from here

Login or register to view attached files
Syndicate content