Fibonacci Series in 1-Line PHP / Java SoftwareOctober 22nd, 2005 No, I am not competing for obfuscated code context. I realized while showing it to someone that Fibonacci series can be written much more succintly using modern programming languages like c, java or php.
How To Display / Delete IP Route Cache on LinuxOctober 20th, 2007 While configuring your routing (like load balancing with dual ADSL connections) you would often need to view the current route cache and also to occasionally delete the current cache. Here is how you can do it.
Change Windows 7 Current display language HowtoMay 28th, 2009 Windows 7 in its core has been optimized with a rich graphics and awesome user-friendly UI settings. Still, there are some pretty casual things which can prove to very problematic and silly.
How to change Windows 7 display language for new user accountsMay 28th, 2009 Windows 7 can let different users to have different display language settings for different user accounts. Previously we had talked about How to Change Windows 7 Current display language for an existing user.
Developer Tips: How To Show Line Number in vi / vim & nanoNovember 5th, 2008 vi / vim as well as nano are the most popular editors on Unix / Linux / Solaris and for hardcode Mac OSX users too. For developing / debugging we need line numbers.
How To Debug Execution Path in PHP...Equivalent of printStackTrace() in JavaMarch 1st, 2007 While programming in PHP often you will find that a simple echo or log statement is not sufficient. You have found out where a problem is happening but you have no clue why it is executing that code in the first place.
How To Recover Openfire admin Password October 22nd, 2007 Openfire is a cross-platform java based free Instant Messaging server which implements the XAMPP (Jabber) protocol with extensions. It is very well suited as corporate instant messaging solution.
How To Fix - Couldn't find per display information Error in Java ApplicationsJune 23rd, 2008 While running some Java applications (like Thinreader) you may see this strange looking error - Couldn't find per display information. You may find this error when running such applications in JDK 6 or later.
GCJ is Dangerously BuggyJune 13th, 2007 GCJ 1.4.2 which was forcefully bundled with Fedora Core 6 (and has been updated from their repository to the latest available version) must not be used with any enterprise product, nay for any Java project at all. I know it is being used in OpenOffice, which I think is a serious mistake.
Adding Quotations to BlogAugust 13th, 2005 Simple way to display quotations in your WordPress blog.
How to Hide MySpace Comment and FriendsMay 14th, 2009 This is an exclusive stuff for your MySpace or friendster users. Frankly you are there to make friends.
WordPress 3 Column Anaconda Theme Tested on 9 Display SettingsFebruary 16th, 2007 I just finished testing our Anaconda Theme (popular free 3 column theme for WordPress blogs) on 9 different display settings:
Screen area (pixels)
1024 x 768
800 x 600
640 x 480
1152 x 864
1200 x 600
1280 x 720
1280 x 768
1280 x 960
1280 x 1024
Needless to say it passed with flying colors.
How to display the process in Linux SystemSeptember 21st, 2009 As a part of monitoring Linux system you often need to know about the currently running processes in Linux systems. Once you know the process running on the Linux system you can kill the process that are slowing down your system.
5 Things I Don't Like About Google CalendarJanuary 22nd, 2007 I am using Google Calendar, as an experiment, for my projects. I noticed 5 things, between unprintable curses, which make it seriously dysfunctional as an usable product.
How To Display Yearly Archives of WordPress BlogsMarch 22nd, 2008 WordPress provides an easy way to display archives of any year. For example here are the archives of this blog for 2003, 2004, 2005, 2006, 2007 & 2008.
March 1st, 2008 at 12:25 pm
You might have better luck with the following since your PHP tag is incorrect:
March 1st, 2008 at 12:28 pm
Um er… Your comment filter killed my code so here it is:
<?php date(’Y'); ?>
March 1st, 2008 at 12:29 pm
3rd Try is the charm:
<?php date(’Y'); ?>
March 2nd, 2008 at 3:14 am
The code is correct. Semicolon is not required before ending PHP tag.
March 2nd, 2008 at 1:14 pm
You are right that the ending semi-colon is not required but the “?” is required to set off the PHP tag it won’t be parsed and will not appear as the browser will parse it as if it were an unknown HTML element.
November 4th, 2009 at 7:32 pm
thanks for sharing! the code was correct
January 10th, 2010 at 9:26 am
Thanks. works fine for me.