You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.
Visual Calendar Servlet:
12 Hits screen. Good exercise in learning how to handle date math visually (i.e. what column number does the first date of a month fall on, and how many rows are in the current month?) I always intended to ext... al math.
This servlet depends on my [[technology:datetools]] class.
<code java>
/**
* Insert the type's description here.
* Creation date: (9/26/01 10:20:12 AM)
* @author: Administrator
*/
import j
How Long has a Process Been Alive?:
10 Hitsnning can be useful. Unfortunately, the standard date fields in the ''ps'' command use a "scrolling date" display. In other words, it displays uptime differently based on a process's age. Here's an exa... estamp. And the last process only says 2008. No date, no time.
This is not a very script-friendly way to display the date. If I wanted to use the start time in a script, I would have to codify the t
Easter Date Calculations:
5 Hits====== Easter Date Calculations ======
I found the code below on the internet, written in C. I converte... nce when I need a convenient way to calculate the date of Easter.
<code java>
import java.util.Date;
import java.util.Calendar;
import java.text.SimpleDateFormat;
class EasterDate
{
public static void main(String[] args)
{
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/M/d E");
Date d;
for
DateTools:
4 Hits====== DateTools ======
This is a set of utility routines to provide guidance to visual calendar buildin... * Insert the type's description here.
* Creation date: (9/26/01 11:57:50 AM)
* @author: cfreyer
*/
import java.util.Date;
import java.util.Calendar;
public class DateTools {
public static String ... Insert the method's description here.
* Creation date: (9/26/01 2:19:17 PM)
* @param userYear int
* @
Formatting Syntax:
3 Hitsirst |
| author | show item authors names |
| date | show item dates |
| description| show the... *
{{rss>http://slashdot.org/index.rss 5 author date 1h }}
{{rss>http://slashdot.org/index.rss 5 author date 1h }}
===== Control Macros =====
Some syntax influences how DokuWiki renders a page witho
Java Tutorials:
3 Hitseadsheet_reader|Spreadsheet Reader]]
* [[easter_date|Easter Date]]
* [[visual_calendar_servlet|Visua
Thread Example:
1 Hitsava 1>
import java.lang.*;
import java.text.SimpleDateFormat;
import java.util.*;
class threads {
pu... d {
public int threadID = 0;
public SimpleDateFormat sdf = null;
public String name = null;
... g n) {
threadID = t;
name = n;
sdf = new SimpleDateFormat("yyyy.MM.dd hh:mm:ss.SSSS");
rndm = new Ra... + msg);
}
public String getTime() {
return "[" + sdf.format(new Date()) + "]";
}
}
</code>
The Dog Page:
1 Hitsing. I took her on the longest walk she's had to date...over a mile. Its not really a "walk", but kind
Creating a 4-Disk RAID Array:
1 Hits Persistence : Superblock is persistent
Update Time : Mon Aug 24 11:30:38 2009
State :... bad partition/device ====
Suppose you forget to update your ''/etc/mdadm/mdadm.conf'' file after changin... Persistence : Superblock is persistent
Update Time : Tue Aug 25 20:45:20 2009
State :... and ''mdadm'' can recover it (i.e. bring it up-to-date on any changes that have been applied since it wa
Apple:
1 Hitsine]]
===== NewsFeed =====
{{rss>http://www.apple.com/main/rss/hotnews/hotnews.rss 10 author date 1h}}
Spreadsheet Reader:
1 Hits
<code java>
import java.io.*;
import java.util.Date;
import jxl.*;
class SpreadsheetReader
{
p
Smart script:
1 Hitst/scripts/smartmsg.txt
rm $outfile
problemflag=0
date >> $outfile
# --------------------------------
#
JavaOne 2008:
1 Hitso download it. To make things even better, Sun updated NetBeans to provide tooling support for these ne... www.apple.com/support/downloads/javaformacosx105update1.html|Java for Mac OS X 10.5, Update 1]] until Ap... n generated if Apple hadn't released its Java 6 update in time for Java One. There would have been hund... n technology and design, yet it hasn't kept up-to-date on Java (one of the most widely used web technolo
History With MythTV:
1 Hitsworking except for MythTV. The projected release date for a new kernel from SuSE was several months out... Since then I've been through countless software updates and distribution upgrades, all with no issues.