Skip to main content


Showing posts from 2011

Getting hands wet with a Social Media Application with PHP

As directed by my Todolist powered by Zoho Sheet, today I was making a small application in a non-profit non-governmental community page for 'National Do Not Call Registry'. The objectives of this application are below:
Collect the telemarketing incident details and their calling numbers, victim's name, email and phone number.Prepare the report in a standard form. Send the same to telephone operator and register in our database. Here there is a Catch-22 situation that I have described in the utility itself as a 'Data Handling Policy'. Hence I am not sending an email but just copying the standard format to your clipboard which you can send to your telephone operator.Technical Details:
The utility contains two pages one that is hyperlinked from within Facebook Developer page. It does the preliminary handshake with the Facebook and then opens our reporting page.The reporting page does all the hard-work like collecting the details and preparing the report and sending the…

PhpCredentials -- As a fork of Php Passmanager

Today just uploaded the first draft of files for 'Php Credentials' to Sourceforge. You can have a sneak preview of the same here. Some of the salient features of this application are:

Built on the proven engine of Php Password ManagerNo need to remember another separate master password and to key in every time you enter your passwords.Does not depend on an external source of protection for the application and comes with its own login scheme. (Inspired by Keepass desktop tool). You only need to remember the login/password for the application and other authentication credentials are managed by the application for you.Simple Technology: PHP 5.3.2, MySQL 5.1 and Apache 2.0 [Opensource Combination]. Whilst the application's own password is stored and hashed in the database your custom passwords are stored in a strong 3DES.Check out the same and send me your views and comments for further improvements.

A 'Gentle Touch' command in C#

In Unix world we have a command called 'touch' which when invoked on the file updates the timestamp of the file to the current timestamp. I just thought would share a quick implementation of the same in C# for the benefit of beginners in .NET.  Check out the source implementation here.

Currently this supports only a single file. 

Things to do:
Recursive touch of files and folderswhen invoked on a directory. If you are interested to contribute let me know and I can add you as a co-member of the Sourceforge project.

My Desktop is Powered by LxDe

The illustration of 'X' in LXDE becomes like a lightening making L and D to sparkle bright and make a colorful environment.

A Test Run of Opera Browser on my Ubuntu

A few people could remember that way back my mobile used to powered by Opera Mini browser.  Other than the Unicode limitation the normal websites have a powerful acceleration without giving a pressing load on my CPU.

Fun with Java Update

Oracle is trying to push some strange update for the past two months in the system which only meets this error. I am not sure why aren't they able to even correct this issue in the subsequent fixes. Big names but cheap products as there is a Hindi saying!

Windows Server 2008 R2 -- Another Vista (Pig with a lipstick?)

For some reason, Windows Server 2008 R2 derives a sadistic pleasure in terminating non-MS applications when common Windows controls like File -> Open, File -> Save are being accessed. The most closest trace I found was the default location it was choosing like 'Favorites'. I reported this to Bugzilla (Mozilla) and they found out that the culprit was Windows and not Firefox.  Reported this to MS through forums. No responsible fix till now.

Safer Browsing Practices -- Make Your Browser To Prompt Download Location

I would prefer the recommended option in Download would be 'Always ask me where to save files' in Firefox instead of 'Save Files To'. That way I always know what is coming into my system and hence I can be sure that my system is not compromised with malware and/or hijacked by unknown persons.

It does take a couple of more clicks but it pays to pave a strong security for the computer. This screen is from Firefox 4.0.1.

Internet Clearing Houses

I just thought would share a couple of words about a few Internet Clearing Houses which helps us to stay safe online.

Phishtank: ( is a service from OpenDNS. It helps us to stay away from Phishing websites.

Norton SafeWeb: ( is  a service from Symantec which helps us to identify bad websites so that we don't visit them infecting our computers.

Cloud-based security

These days the most talked about term in every enterprise is cloud-computing and living on the clouds. However we need to ensure a few things in this cloud-era: SafetySecurityReliabilityDo we have these three musketeers always with us when we dial-in to the Internet and go online? How many times we have installed a new Windows computer, been online for a few hours and then found with an installed version of Antivirus/Antispyware tool which complains that there have been a few privacy infringing third-party tracker cookies on the light end or an extreme case of financial information/identify theft to a rogue website. Though we can have the right antivirus software loaded we also need to ensure its patterns are updated. One more level of good security is to have DNS level  protection. There are a few services like OpenDNS, Norton DNS, ScrubIt which provides the following advantages: Rogue sites are automatically blocked for you. Since your name server is the only which guides you a route t…

Blogdrive Downloader ...

Blogdrive is a cool blog platform for novices and beginners. I have started to blog there around 2001 and then went ahead to diversify my blogs across Google Blogger and Wordpress. Whilst it endeavours to fulfil most of the bloggers' needs a few advanced features like 'Bulk Import', 'Bulk Export' when you want to backup the blog and restore it etc are amiss. This has been confirmed in a Wordpress forum too where people suggest to use Moveable Type format as an intermediate.  I have also briefly explained about this my new travelog over here.

The other way what I could suggest though a bit rudimentary would be to use the archive URL and download the contents to your local storage. A quick lines of code for the same using PHP would be as below:

Please note that I am using a system command called 'wget' to download the remote file. This is a built-in command for (Ubuntu) Linux and also the path format is a typical Unix. This is just a startup idea. There are a…

A Sizzling Summer Reward from Symantec ...

My humble passionate contributions to Symantec forums community has been awarded with yet another award in the form of Amazon Gift Certificate. I am delighted to share this glad news with everyone.

Perhaps it is a blissful gesture from Symantec and the Almighty to start a bright shiny rewarding jubilant, exhilarating and exciting Summer ahead!

Check out the status from Symantec Rewards Redemption Page here:

02 Jun 2011$15 US Certificateshipped02 Jun 2011Email

Cloud-based Cross-Platform IP Address Updater for OpenDNS/DNS-O-Matic

When I moved from Windows to Ubuntu one issue I was facing with OpenDNS lack of an automatic IP address updater for Unix platforms. They do point to a ddclient utility but I wasn't comfortably able to configure it on my box. Hence I sat down to wrote a few lines of PHP code which can be used in either of the following ways:
Through PHP_CLI commandline (and thus you can add it to the startup scripts in /etc/init.d)Most of the Unix installations have Apache PHP built-in. You can have this scripts in one of the aliased directories, have them bookmarked as home page in your browser. So when you launch the web browser your IP address automatically gets committed to OpenDNS catalog through DNS-O-Matic.Note: OpenDNS takes three minutes to propagate the changes to the account to all related caching servers.  Hence in this period websites that do not fall within the context of your block settings may be browse-able on your system.
The PHP script to auto-update DNS-0-Matic (and hence OpenDNS…

Maverick Meerkat to Natty Narwhal on my Virtualbox

Just yesterday Ubuntu 11.04 (Codenamed as 'Natty Narwhal') got released. I had my Virtualbox upgraded to the same. See the screenshot  below.

The upgrade is little heavy and it has its own desktop environment called Unity. But because of Virtualbox hardware Ubuntu automatically chose to boot with Classic Environment.

Ubuntu Terminal Server 'Auto-Connect' drives me crazy ...

In Ubuntu tsclient when you disconnect from the terminal server and/or it is disconnected it again tries to connect by itself. This can  be annoying at sometimes when you want to hangup the VPN connection. Whilst browsing the Ubuntu kb, I found that this had gathered a lot of interest amongst co-Ubuntu users too. Check out quick and working workaround for the issue is open the appropriate .TSC file from your home folder and add the following line:reconnect_policy: neverNow it should not bug you in auto-connecting till Ubuntu releases a patch for this bug.

Blogilo -- Another desktop blogging client

This is the followup of Scribefire discussion. If your desktop session has KDE tools you should be having Blogilo too. Or you can quickly install it from your repository.

Scribefire -- Chrome Extension Desktop Blogging Client

On a truly cloud computing spree when your web browser is the one stop window to the world, ScribeFire is a surestop resource that you would like to empower your Google Chrome with. It is a browser-based desktop blogging client. Originally for Firefox this is a new port for Google Chrome.For those non-Windows users not able to use Live Writer, I think this is a very attractive proposal to blog from the comfort of their desktop without ALT+TABbing to another application.

Interesting Text Editor in XFCE Ubuntu

Whilst playing around with my XFCE desktop environment of Ubuntu I just observed an interesting name called 'Mousepad' in the programs. When I started the same, it turned out to be a simple text editor like Notepad. Just thought would share this amusing finding with others too.

XFCE -- Smart Cute Light-weight Desktop in my Ubuntu

Today I was doing a little maintenance on the system and set up XFCE in lieu of KDE which is fairly heavy with unneeded components.  In the process I kicked off the KDE daemon which resulted in the system turning to commandline mode. Slowly groped through the dark and rebooted it to get XFCE to the fore-front.

Java complete in my Ubuntu ...

After a lot of struggle got Java installed on my Ubuntu. The catch is that by default Java is not allowed directly in my Ubuntu. I need to enable partner repository in Ubuntu Software Center and only then Java was displayed to be installed besides Java plugin for all browsers.

From when Visual Studio started treating 200 OK as Http Errors?

From when Visual Studio started treating 200 OK as Http Errors?

Recently I encountered a strange error dialog in Visual Studio TFS. All of a sudden it threw a messagebox that that it encountered a 200 OK from the server. :) See attachment. The other day I had fiddler open in my system and I could see web service requests carrying checkin/checkouts of the files from Visual Studio.

It is really excellent that Microsoft is extending patronage and embracing an Open XML format for Visual Studio too.

Gnome or KDE?

After a lengthy debate and debacle with KDE I have reverted my system configuration to GNOME which seems to be practically good and productive for my purpose. KDE is all the more good but power-packed with services and utilities which I do not get to use at the moment.

And I also want to share one thing. One of my friend who is new to Linux but got inspired by the simplicity and elegance of it always gets confuses between Ubuntu and Kubuntu. I would like to clarify. Ubuntu and Kubuntu are two flavors of Debian Linuxes. GNome and KDE are the desktop environments. Trust this makes things clearer and cleaner.

A 'Segmentation Fault' with KDE...

An interesting error message whilst removing the unnecessary packages in bulk from KPackageKit. Recalls my C Programming the college days. 'Segmentation fault. Core dumped'.

My new KDE Screenshot

I had replaced my Ubuntu desktop with a KDE environment because that is more light-weight, cheerful, enticing and creatively productive. Just thought would share the screenshot of my KDE-powered desktop here:

Which city in India is best for hosting Tech.Ed

This is a quick response to MSDN India's query on the Facebook campaigning for particular cities which are most best candidates to host the premier technology event of the year 'Tech-Ed'. Without doubts we would all like to vote 'Bangalore' (aka) 'Bengaluru'. Also dubbed as 'Silicon Valley of Asia Pacific' I am sure Bangalore has the best in store with respect to the events. A few good points on why Bangalore should be the most impressive candidate are the following:
International ports and good transportation system for ease of access.Premier software houses in and around the city which thus would give a good helping hand for everyone to attend and get benefitted.A better known geography for anyone to get adapted.I hence thought just would share this view and polling to support Bangalore as a best candidate for Tech Ed 2011. Even for first time people who visit Bangalore for Tech-Ed it also offers a lot of general non-technical tourist attractions b…

My Ubuntu has a love for LavanyaDeepak (ld)...

One cute thing I observed with my Ubuntu (and in general Linux) is that the most commonly used and significant program 'ld' and 'ldconfig'. Whenever you install/deploy a package you would get the message like

'ldconfig deferred processing now taking place'.

Today as part of my gcc (GNU C) explorations and trying to recall my college day C programming when I tried something I got the following error from the compiler:

lavanyadeepak@LavanyaDeepak:~/Downloads$ gcc a.c
/tmp/ccRQQLcH.o: In function `main':
a.c:(.text+0x11): undefined reference to `println'
collect2: ld returned 1 exit status

A beautiful Unix calendar 2011 in terminal

I was playing around my Ubuntu terminal and just recalled my DEC Unix experience during my college days. Just thought of sharing the cute one line command that draws the calendar for any specific month of year.

A simple 'cal 2011' draws a calendar like the one illustrated in the screenshot attached in this post.

Auto-reconnect feature of Terminal Server Viewer in Ubuntu

In Ubuntu if by error the terminal server disconnects it gives an elegant reconnection dialog giving a wait time dialog that normally counts up to thirty seconds as in the dialog below.

This should actually help typically when rebooting the remote box. Instead of we waiting for the other box to come  up and periodically sending ICMP ping packets this takes care of the onus.

From CAD to CAE...

My work desktop is Windows Server 2008 R2. My home desktop is Ubuntu Linux 10.04. When I connect via Openconnect and remote desktop to work, the frequent keys that I needed to use nowadays is CTRL+ALT+ENTER. This keystroke is a signal to Ubuntu Remote Desktop Viewer to toggle full screen options.

A variant of the third key (DELETE) is an indicative to Windows to signal the SAM Security Manager to attract its attention. By default, the RDP viewer does not have a maximize restore option to full screen in Ubuntu. You ought to use the CAE option to avail the same.

Fedora installation names and abbreviates my 'lavanyadeepak' very cute ...

My installation of Fedora linux with the default system name as 'lavanyadeepak' seems to be creating interesting abbreviations. Just thought would share this along here.

SuSe Linux Installation reminds me of the new SQLServer 2008 Installation Screen

The newer SuSE Linux installation screen with its left bar indicating the components and the right hand side the various actions reminds me of the SQL Server 2008's integrated installation screen of the various components. Just thought I would share this observation along.

The Three-Fingered Salute which starts a timer for me

This is what appears in my system when I press CTRL+ALT+DELETE. Ubuntu seems to be helping the users to auto-shutdown in a minute if no action is chosen by the user within the stipulated period.

How to disable automatic screen locking in Ubuntu?

My default operating system through Virtual Box is Ubuntu 10 LTS. The catch is that when I work on host Windows for a while and ALT+Tab to my Virtual Box it gets locked and I have to  unlock. The simplest way of disabling the automatic locking is through the screensaver panel that is available from System -> Preferences Menu as illustrated in the screenshot below.