Category: Tips and Tricks
-
Configure your Belkin N150 router for BSNL broadband
Login to your router dashboard. It should usually be at http://192.168.2.1. Now under “Inertnet WAN” click on “Connection Type”. Here select “PPPoE” and click on Next. Provide your BSNL username and password. Leave the “Service Name” field blank. For “VPI/VCI” field provide 0 and 35 as values. For “Encapsulation” field choose “LLC”. Leave all other […]
-
Hack sbicapsec.com to run on Firefox
`AG_BACKQUOTE_TURN_ON` www.sbicapsec.com is State Bank of India’s online share trading portal. This is a good portal but their site’s code quality is amazingly of low quality, dare I say, crappy. SBI being a public sector government institute, we can rest assured that the code quality or bugs in it would not get fixed soon, if […]
-
Quick bash command to mass rename files in numbered sequence
Just a quick bash command to rename all files in a directory in a numbered sequence. d=0; for i in *.jpg ; do d=$((d+1)); mv {“$i”,”$d.jpg”} ; done This is going to rename all jpg files in the directory to 1.jpg, 2.jpg, 3.jpg and so on.
-
How to Reset the Root Password of MySql in Linux
I am posting this for my future reference. Also it my help passers by. If you are using CentOS 6 (maybe others too). To reset the root password use the following steps:- sudo service mysqld stop sudo service mysqld startsos mysql -u root Now you will be at mysql prompt. Here type:- UPDATE mysql.user SET […]
-
Script that notifies via email when your server has updates
If you are the administrator of a server then you definitely understand the importance of keeping your system updated always. The following script will send you a mail whenever your server needs an update. The content of the mail will list out all the available updates. The script [code lang=”shell”] #!/bin/bash # Author: AppleGrew # […]
-
Access Ext3/Ext2 file system on Mac OSX Lion (10.7)
On Mac if you want to access ext3/etx2 filesystems, which are used by Linux systems, you will find lots of links on net but all are pretty outdate and they don’t work for Lion. So, here is the updated version, which works. At least for me. 😉 You will need two softwares:- OSXFuse – Download […]