Browse Internet Using Blackwindow

December 13, 2007 at 2:40 pm (New Technologies)

Black window sample

Blackwindow is a browser which in other ways, something more than a browser. This tech tool allows you to parse the websites through http as well as access to the directory structure which you may try getting by sending http request.

Moreover, there are options for scanning a website to get high availabilities or to download whole website in a swash. People creeping out for web based informative material watch it as a useful tool for browsing.
More Information


Permalink Leave a Comment

Using Assertions In Java

December 12, 2007 at 2:26 pm (Java)

Java’s new assertion mechanism, allows programmers to increase the robustness of their code by sprinkling it liberally with assert statements. The new assertion feature is easy to use, but any language feature, no matter how simple, can be used well or poorly. Here I’ll explain how to use Java’s assertion facility, and how not to misuse it.

Using assertions couldn’t be easier. Anywhere you can put a statement in Java, you can now write

assert boolExpr;

where boolExpr is any Boolean expression. If the expression is true, execution continues as if nothing happened. If it’s false, an exception is thrown. You can disable assertions at runtime if you wish, effectively removing them from your code.

Permalink Leave a Comment

Defeat Java Script Protected Password

December 11, 2007 at 7:11 am (Security, Tips n Tricks)

There are many ways to defeat java-script protected web sites. Some are very simplistic, such as hitting ctl-alt-del when the password box is displayed, to simply turning off java capability, which will dump you into t he default page. 🙂

Permalink Leave a Comment

Speeding Up Share Viewing In Windows XP

December 10, 2007 at 7:06 am (Operating Systems, Tips n Tricks)

This is a great tweak. Before I found it, I was always smashing my head against the table waiting to view shares on other computers. Basically, when you connect to another computer with Windows XP, it checks for any Scheduled tasks on that computer – a fairly useless task, but one that can add up to 30 seconds of waiting on the other end – not good! Fortunately, it’s fairly easy to disable this process. First, navigate to HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Explorer/RemoteComputer/NameSpace in the Registry. Below that, there should be a key called {D6277990-4C6A-11CF-8D87-00AA0060F5BF}. Just delete this, and after a restart, Windows will no longer check for scheduled tasks – mucho performance improvement!

Permalink Leave a Comment

Monitor Performance Of Your Java Programs Using Verbose

December 9, 2007 at 5:54 am (Java, Tips n Tricks)

Concerned about the memory usage of your java development ? Here is an option that allows you to monitor the performance. Garbage collection is performed automatically in java when the heap size exceeds a threshold percentage of available heap. Verbose comes in two parts – GC verbose and JNI Verbose. which allows us to monitor the internal functioning.

java -verbose:gc <class name>

java -verbose:jni <class name>

This even helps us to set the heap sizes of our application for best and efficient utilization of JVM. ( Setting heap sizes is also available in previous posts ) This may not work for light programs.

Note: Verbose was introduced in J2SE so it is not available in previous versions.

Permalink Leave a Comment

Google Search Shortcuts

December 8, 2007 at 12:51 am (Google, Tips n Tricks)

Navigate search results quickly and easily, minimizing use of your mouse. Current keyboard shortcuts include:

Key Action
J Selects the next result.
K Selects the previous result.
O Opens the selected result.
<Enter> Opens the selected result.
/ Puts the cursor in the search box.
<Esc> Removes the cursor from the search box.

Permalink Leave a Comment

Manage Routes For Your Network Connections

December 7, 2007 at 5:49 pm (General, Tips n Tricks)

Routing information for all your connection to the internet is maintained in form of connecting gateways and their interfaces. These gateways provide the routes to the backbone. The routing information can be seen and edited using route command.

route has primarily 4 function available :-

route PRINT   –  Prints a route

route ADD        –  Adds a route

route DELETE–  Deletes a route

route CHANGE– Changes a route

Here is a sample output of route PRINT


Permalink Leave a Comment

Windows – Increasing options in add/remove programs

December 6, 2007 at 12:40 pm (Operating Systems, Tips n Tricks)

If you try to uninstall windows built in programs such as msn, media player etc. You won’t find them in add/remove programs. Here is a trick to get what you want.

just open the file C:\Windows\inf\sysoc.inf (where C: is the drive letter where Windows XP is installed) in Notepad.
You should see a section of the file something like this:

IndexSrv_System = setupqry.dll,IndexSrv,setupqry.inf,,7
TerminalServer=TsOc.dll, HydraOc, TsOc.inf,hide,2

This is a list of all components installed at the moment. I’ve taken the example of MSN Messenger – the program entry called ‘msmsgs’, third-last line. You can see the word ‘hide’ highlighted – this is the string which tells Windows not to display the component in the Add/Remove Programs list. Fix this up by simply deleting the word ‘hide’ like so:


To this:


Now, after restarting, you should be able to see MSN Messenger in the Add/Remove Programs list. If you want to be able to quickly view and remove all components, simply open the sysoc.inf file and do a global find and replace for the word “,hide” and replace it with a single comma “,” and experience the difference 🙂

Permalink Leave a Comment

Increase Heap Memory For Java Applications

December 5, 2007 at 12:10 am (Java, Study Refers, Tips n Tricks)

Many times you may crack out with an error like
Out Of Memory…
while running your java application. This is because of your jvm’s bounded heap size. You can alter this heap size by adding an argument to the command
java -Xms
java -Xmx
java -Xss

eg. java -Xmx32m will set the maximum heap size as 32MB.

Java Compiler has also some defaults for heap. These are initially set to 1GB so there is no need to worry about that. Moreover compiler job is not rigorous till we run a big set of code.
Launcher has 128MB as the maximum heap size and is generally reconfigured for biggies.
So, adjust your heap size according to your hardware capacity for optimized performance. 🙂

Permalink Leave a Comment

Access FTP through your browser

December 4, 2007 at 12:01 pm (Security, Tips n Tricks)

If you have all ftp things blocked, here is something that gives the gateway for ftp. Web2ftp and Net2ftp. Both of them allow SSL and anonymous FTP. And they allow you to change permissions and all the other things you do with your FTP app, including making a directory, renaming a directory, uploading in both ASCII and binary modes. Both of them even allow you to edit files and automatically unbundle any archived files (tar, tgz, zip, tar.gz) in the directory you upload them to.

With web-based FTP, you can FTP even if you use a browser that doesn’t support that protocol. So Firefox, Opera and Safari can use these services.

Permalink 2 Comments