How To Add Trim Functionality To Javascript StringAugust 12th, 2007 Trim is a useful function available in languages like Java & PHP which removes the leading and traling whitespace(s) from a String. Unfortunately Javascript doesn't natively provide trim functionality to the String object.
5 FaceBook Source Code SecretsAugust 15th, 2007 I glanced over the Facebook source code for both index and search pages. As an enterprise developer of some experience, source code is always interesting to me as it provides an insight into the health of a company.
How To trim() in JavascriptMarch 17th, 2006 Javascript doesn't natively support trim on strings. It is however very easy to implement with regular expressions.
How to Compress CSS Files Using PHP without RenamingJanuary 5th, 2009 IF you are using a stylish and feature rich environment for your website, then your CSS files must have reached its limit of annoyance for you. So how can you compress CSS files using PHP? You can.
Subversion: How To Ignore Files From Status DisplayJune 23rd, 2007 In directories under subversion there may be files which you do not want to add to subversion. Normally such files would show in subversion status (svn stat) with ? in front of them.
Microsoft Sues FairUse4WM, Windows Media DRM Remover, DeveloperOctober 2nd, 2006 Microsoft Corp. has sued an anonymous computer hacker whose free program FairUse4WM allows users to copy digital movies and songs by bypassing a software protection (DRM) built into the company's Media player.
How To Clean Subversion DirectoriesJune 15th, 2006 When you checkout a repository from subversion it creates a .svn directory (with subdirectories) for every directory (and subdirectory) checked out. The .svn directory contains information about the repository and files in the directory and allows you to run svn commands without having to authenticate yourself in future.
Java Program: Compare two text filesApril 29th, 2009 Today while managing the comments, I got a request of this sort. HI,
I have a small question in java.
How To: PHP Script To Windows EXE File GenerationMarch 22nd, 2008 PHP files are scripts which are interpreted by php interpreter (php.exe in windows). Converting them to exe files makes it easy to distribute PHP applications to Windows users.
How To Connect To CVS Via Proxy ServerFebruary 10th, 2007 CVS is commonly used by open source project to provide access to their source code. Here is a simple way how you can connect to CVS server from behind a proxy server.
How to Compile Java Source within Java ProgramMarch 26th, 2009 This small trick will tell you how you can compile a java source file from another java file on the go. You do not need to run it on a different page and compile it there and then get back to this program.
The Power of Ant (Build System)August 27th, 2008 I am using Ant (Java based build system) for our project. Ant is an exceptionally powerful build system and should be the only build system you will ever need.
Java Software: 1-Line Sort & Uniq UtilityOctober 18th, 2005 I had to sort and uniq (create a unique set of strings) a large list with lots of duplicate. My options were to write it in Java or download cygwin and run: cat file | sort | uniq > result
Cygwin download never works for me.
BandSite CMS and SmartSite CMS (PHP based) Root File Inclusion Vulnerability DiscoveredJune 21st, 2006 Archit3ct and IR4DEX GROUP have discovered a vulnerability in SmartSiteCMS, which can be exploited by malicious people to compromise a vulnerable system. Input passed to the "root" parameter in include/inc_foot.php is not properly verified before being used to include files.
Simplifying Java Software Development: How to Count the Number of Words in a String using Java (one-liner)June 18th, 2005 Java is a language of choice for millions of developers worldwide. In a series of articles I will show simple tips and techniques which make Java extremely powerful and yet simple to use.
October 12th, 2008 at 4:06 am
It only trims very few lines, I think its good for very large pages.
December 14th, 2008 at 3:00 am
strongly recommend using joomla. php based cms and very easy to handle!