Skip to main content

Posts

Showing posts with the label howto

Setting up LAN with BSNL router AN 1020-21

An abstract overview for building a LAN is presented here, you can use the essence of article to build LAN with any other router you can lay your hands on. That said don't confuse modem with router, most routers are modem but a modem simply can't be router* Post is written in the hope that reader is equipped with basic knowledge about connecting line to splitter to router to device you want to use. It is assumed the your modem is configured for both wireless and ethernet access. My work requires that I interact daily with servers using putty or such terminal emulator, gradually I loved doing work the *nix way. This made me install Cygwin in almost every machine I use, thanks to MobaXTerm I need not do that anymore :) Off story on to TODO. 1. Connect the machines you want to use to Router That's all! Your router takes care of establishing (W)LAN Surprisingly simple to establish LAN, but the hard part is knowing how to use the systems connected in the network. Here...

How I fixed the CMOS baterry time & date issue

As CMOS battery in my PC got rotten my system won't boot, unless I press F1. Then I try to access the internet, Google wont open as it sights security risk! that's the first time I realized my PC date & time is getting reset to 01-01-2004 12:00:00 AM cause of this battery problem. The simplest way to fix this would have been to replace the battery. But I'm really afraid to touch anything in my decade old PC as it is running on the power of Karma not by the virtue of power cord. So I was using it as such like pressing F1 every time to boot and then later setting the time using the clock. Slowly this boring ritual started to irritate me and then I thought "hey I'm a techie let me find some good way". Automation it is! The only development work I do in my office is when I get a work item on "automation". So I simply wrote a 5 line batch script and placed it in the start up. Now when Desktop opens a Command window pops up asking ...

How to: Write a file inside webapp directory of Tomcat with Struts2 or JSP & Servlet

Hi! This time its for struts break for database, ever felt you wanna store files temporarly inside your server directory? then this post is to help you out if you are new to java and you have interest in learning, this is good to know! trust me even big folks won’t know this I’m going to tell for Struts2 framework. ============================================ Using ServletContext & ServletActionContext in Struts2 import javax.servlet.ServletContext; import org.apache.struts2.ServletActionContext; ============================================ public String execute() { try { String path = “/folder1/file1.txt” ; System.out.println(“where it might write ” + System.getProperty(“user.dir”)); ServletContext context = ServletActionContext.getServletContext(); //Line No.6 path = context.getRealPath(path); File file = new File(path); // if file doesnt exists, then create it if (!file.exists()) { System.out.println(“trying to creat new file at ” ...

How to make Recycle bin understand your mood? Delete operations made easier

I know the title is bit void ;) but i can't come up with better. With the internet age on high we are finding it difficult to actually delete outdated items. So here is way to make your Recycle bin to understand you. How? Properties dialog box of it :) Recycle bin Properties dialog box Right click Recycle-bin icon to access Properties , at the bottom of dialog box you'd find a check box (Red box in image) whether to ask for conformation un-check it when you are on week-end PC clean work. Delete operations are now just a button away ;) cool isn't it, but beware of consequences. {Sorry for the old-look image I use windows classic theme, as I heard it will use only minimum processor so speed will increase you can try this too } Still not enough you want the file to go away... just go away instead of sitting in recycle bin watch the pink box. Click configure for independent drives, every drive tab will have options similar to as Global settings except for '...

How to Buy external Hard disk drive? Things to look for in External Hard disk drive

Here I'm trying to discuss about optimal performance but absolute value for money Brand: Must be top brand offering warranty at least for 2-3 years, don't confuse Top brand is totally different from popular brand(cheaper its popular will be in India most here don't mind performance). These days manufacturers are offering 5 year warranty too. Connection: Can be two ways Firewire or USB. These days USB is sported high cause can be connected with most computers. But choose what best suits you cause Firewire's performance is unmatchable to USB. Speed: Seek time <10ms  | Buffer Size > 4Mb  |  RPM : 5,400 - 7,200 (Please keep in mind values here are for optimum performance, go higher if you can spend) Size: Must be greater than 80GB, as said before if you can spend go for bigger but not biggest it will degrade performance. Search: If you reading this post its obvious that you are searching sites for idea, but don't stop here. Go to Manuf...

How to: SCJP / OCJP certification, best practice, chennai

Oracle Certified Professional, Java Programmer(OCP,JP) is the certification I’m gonna discuss in this post. This certification is offered by ORACLE prior to this Sun was offering it in the name SCJP, in a generic way I’m gonna refer this as OCJP. Here I have given a list of FAQs that you can use. 1. What are the prerequisites or Should I have completed any other exam before this? A: Not required. But it is good that you take mock exams available in various sites before facing the big challenge. You’ll face 60 questions within 150mins you have to answer them and score 61% to clear the exam (37 questions must be correct). 2. What is the best book for this exam? A: I haven’t heard of a book for OCP,JP 1Z0-851 but there is book for SCJP 310-065 which is essentially the same exam but the name was changed once Oracle started to offer the exam. The book is authored by peoples who prepares the examination papers and patterns so they would be the best guide. 3. Is book enough for ...

How to register in National Do Not Call Registry? Is there anyway that I would get promotional SMS/Call from any particular category and leave other blocked?

To Registry in National Do Not Call Registry previously we have to SMS "START DND" to 1909. But for the benefit of Costumer and Promoters you can still receive promotional SMS/Call from particular category that you choose. New procedure is as follows. SMS "START DND" to 1909. They'll send you a conformation message Then you'll receive a message regarding categories that you want to give permission Select a category you want to receive promotions from else Reply "START 0" to 1909 to stop all promotional SMS/Call To receive SMS- based promotions for the following sector, reply with your choices to 1909: START 1 - Banking, Insurance & Financial products START 2 - Real Estate START 3 - Education START 4 - Health START 5 - Consumer Goods & Automobiles START 6 - Service provider communication, Entertainment, IT START 7 - Tourisum & Leisure You can choose multiple sectors as per your preference. Regist...

Is Ritchie street a cheaper destination

Yes, but it is only for those people who can roam much than Hutch dog! Or you must be a regular visiting costumer (like a system assembler / service engineer). As it is believed widely that Ritchie street is the cheapest destination, so most people goes in without knowing market price and with zero bargain knowledge. BARGAIN! in Ritchie street how can I my friend it is going to be cheap anyway! nah you'r wrong. If you go in without any knowledge you'll get punished to pay more! they'll quote it as high standard product,  rare product! with high warranty and all sort of things to make you believe you are not paying less. As you know in every place there is someone loyal to everyone search for that kind of person know the exact rate move to next store bargain as if you know the person how manufactured it, see the magic happen! I would like to share a similar experience. I went to buy D-USB cable, many didn't have it only one store had...

When PC slows down!

There are numerous reasons for a Computer to slow down on its processing speed. If you are experiencing this problem in your PC please don't immediately put a costly Anti-Virus program and check for hidden malware or worms! Remember you are the worst virus in your PC if you are not treating your computer well . I'll be listing some easy ways to solve this problems make a note of it. Don't Installing all programs that you use in C:\ drive( or where OS is installed) its a sin! don't commit it. Keep the C:\ drive free from images, videos and other documents that are not related to OS or primary application. By default all browsers stores  download files in C drive so change the position to some other drive. (My documents is also in C drive) Clear all temp folders so that they don't block RAM [some temp folders "temp", "%temp%", "prefetch", "recent", type these in your windows run command(without quotes) and clear if ...

R U USING your MOUSE?

This internet age has got lot to do with mouse. Basically 'Mouse' is used for moving around the screen with/without any motto and make sure screen savers don't disturb us! But what makes is stay in the field even after introduction of touch screen is it just the money? I'm sure its not! Remember mouse is not manufacture with one button and scroll ball or laser beneath. Modern mouse come with many button with unwanted/illogical uses, from the perspective of manufacturers its the edge that they are going to have against their competitor. But from the view of user like its just waste of money. The well developed and fully useful mouse is displayed below, check out their parts for further discussion Usage of left click and right click is universal, there is nothing much to say about it but there is lot about the rest, I'll point out one by one.If you notice I have have pointed "Scroll button" not Scroll roll/bar or something! Simply click on the link will ope...