HOME PHP HTML Javascript C# Display DateTime SMTP today mysql SendMail file_exists Thumbnail creation from image stream DragQueryFile Java max connection RDP Port Print Out Text Strings JQuery Monitor Power MimeBodyPart RecipientType remark Rename SC_MONITORPOWER session session.getAttribute session.setAttribute setRecipients Shell Script Turn Monitor Off Filename Change Bitmap Bitmap to Jpeg Conversion calendar Canvas click Cloud Computing cron.hourly DB Optimization dead code declaration MapReduce framework Framework getDay getMonth Image Scaling include file Javascript DateTime auto-repair JSP Email JSP Image Processing JSP session control

PRINT OUT TEXT STRINGS.ZIP

Put Date Time on HTML   (created at Oct 27, 2008)   60  

In JSP, you can simply put Date Time as below.

Copy text to clipboard in Javascript   (created at May 07, 2013)   896  

Below is the example can copy text to clipboard in javascript. It's all tested in Microsoft Internet Explorer.

Word counting source program based on MapReduce framework   (created at Feb 28, 2012)   125  

The MapReduce framework operates exclusively on  pairs, that is, the framework views the input to the job as a set of paris and produces a set of pairs as the output of the job, conceivably of different types. Below is the simple application that...

How to get the duration between days in PHP   (created at Jun 15, 2010)   84  

Following is the funcation can calculate the duration, actually number of days between the given parameters (from,to). The argument must be subclass of DateTime.  

How to resize image ?   (created at Jun 03, 2009)   174  

Here's the simple example can resizing source image:

How to set and get sessions on JSP code ?   (created at Oct 27, 2008)   160  

Here's the simple example to set and put sessions.save_my_name,jsp<%   String name = request.getParameter( "username" );   session.setAttribute( "theName", name );%>Continuesave_my_n...

How to add a declaration on JSP code ?   (created at Oct 27, 2008)   104  

If you have developed C or C++ program, you may know below examples.// printf( "a.out");/*  printf( "b.out");*/Above code have no bug, but no code will be compiled, because it's all declarations.In JSP, you can make declarations as well. In some docum...

How to include file in JSP ?   (created at Oct 27, 2008)   112  

Just like ASP, or PHP, JSP is also allow to include for programmer by include function.Here's the simple example.Going to include hello.jsp...
<%@ include file="hello.jsp" %>

How to print out text strings on HTML directly ?   (created at Oct 27, 2008)   128  

In JSP, you can print out text strings by out.println(). Here's the example. <%   

How to rename(change file name) in C# ?   (created at Mar 12, 2008)   64  

Simplest way to change file name in C# is using File.Move() function.Here's the simple example change file name for Samsung Black Jack Phone. However it may work on another platform if it supports .NET compact framework.In addition, File creation time can ...

Send An Email Using A Bean   (created at Aug 30, 2007)   41  

This JSP snippets shows how to send an email using a reuasable javabean    JSP Sample - Send Email     
 
 ...

JQuery And Function Chaining   (created at Aug 30, 2007)   71  

I am learning new things about jQuery: function chaning is a really cool feature: