Monthly Archives: September 2011
Disable a user account in Linux
There are some different approaches to do that. The easy way to disable a user account is to alter stored password which is stored to /etc/shadow. In that case password will be lost unless you save save the password in different file. You can alter the password by using following command: passwd {username} {new password}…
How to resize Facebook UI dialog
Once, I had to re-size the facebook UI dialog while working on friends invitation widget for greenarrow.com The widget was loaded under a popup which was wrapped up by an iframe as well. In this case it was not showing properly, the widget was not accommodate in that popup. That’s why had to re-size the…
Ruby interpreter has stopped working
From last couple of days, I was facing a problem with my ruby interpreter. It was crashing continuously after few page requests and getting message: Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working I have tried to find out the reason and frequency to stopped but couldn’t find the actual reason. After googling got a…