How To Delete Property From java.util.PropertiesAugust 23rd, 2008 This isn't a trick question. For a long time you couldn't delete a property from java.util.Properties class.
PHP Encapsulation SurprisesSeptember 15th, 2005 In PHP, unlike Java or C++, $this has to be explicitly used to refer to variables within a class. The value of $this is determined by the context in which it is called.
How To Communicate Between Java AppletsOctober 22nd, 2007 Communication between Java applets has been an interesting topic from the early days of Java. There are several esoteric ways to communicate like using Javascript as a bridge.
Play with VIM Editor to Start a New Shell, Change the Permission and MoreJanuary 15th, 2009 Suppose you were concentrating hard to develop something new and editing a file in vim editor. Just when you thought you are done with the problem, the save option reminded you how unfortunate you are.
Apache Ant: How To Set Property When Initially UnsetAugust 19th, 2008 Also: How To Flexibly Pass JVM parameters to Apache Ant Java (Runtime) Task
Apache Ant is an excellent Java based build & deployment system using XML configuration file. In Ant properties are extensively used to configure tasks, conditionally run targets and more.
Understanding Varargs in Java: 2 Minute Guide For Non-DummiesApril 30th, 2006 Varargs allows variable number of arguments in methods and constructors. Let's start with a simple example.
9 Important Tips for Selenium Remote Control (Java client) - Test ToolApril 16th, 2008 Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services.
ExtJS Hack: Dynamic ComboBox & Remote On-Demand Loading With Local FilteringAugust 20th, 2007 In ExtJS you can create ComboBox which loads data from the server. You can also code so that new data is loaded from the server in response to an event like changing selection of another ComboBox.
How To Get Subversion Revision ID From PHPJanuary 24th, 2007 First of all identify the file(s) for which you want to know the revision number from PHP. Then add a property to the file as follows:
svn propset svn:keywords Revision file_name.php
Now add the following function within php blocks:
/** Returns revision number */
function getSCID() {
$svnid = '$Rev: 43 $';
$scid = substr($svnid, 6);
return intval(substr($scid, 0, strlen($scid) - 2));
}
You can now access the revision number of this file from PHP by calling getSCID().
Java Software Platform J2SE6 (Mustang) Enables System Tray / TaskbarNovember 26th, 2005 Java 2 Platform Standard Edition 6.0 version (Mustang) lets you access the system tray through two classes in the java.awt package: SystemTray and TrayIcon. These classes give you the ability to add graphics, popup menus, and floating tip functionality to the system tray.
How To Make AJAX Calls With ExtJS EasilyAugust 14th, 2007 Simple things should be simple. While starting with ExtJS, I saw a screencast on Grid which used a rather dubious method of making an AJAX call using an actual form element.
Dovecot: How To Enable Secure (SSL) IMAP & POP3 With (Free) Self-Signed CertificateNovember 9th, 2007 First you should learn how to create a self-signed certificate using OpenSSL (free). After that it is a simple matter of copying the files to appropriate location and enabling dovecot to use SSL authentication.
Simple Logging in PHP (File based & one-liner)April 8th, 2006 Often we (php developers) need to log certain messages in order to debug our script. Here I will describe the default syslog method and a much simpler (and better) way to log your messages quickly and painlessly.
Java Application Security Through Static AnalysisJune 28th, 2008 Extendable (by plugins, ...) Static Analysis tools like FindBugs can enhance the security of your Java applications (web as well as standalone or client-servers applications) in several significant ways. Enforcing security policy compliance
Security policies are espoused by security experts such as OWASP and mandated for compliance by many regulations such as Sarbanes-Oxley that require organizations to demonstrate they have done "due diligence" in safeguarding application security and information privacy.
How to Reduce Boot Time for WindowsDecember 27th, 2008 I know that Windows runs super slow in some people's machine. And try as hard as you can but you can seldom find a good reason for the slowing up or a remedy to it.