JudoScript.COM Design principles of Judo the sport and the language
HomeJudo LanguageJuSP PlatformJamaica Language 
Judo ReferenceJuSP ReferenceWiki/WeblogTutorials/PresentationsDownloadsGoodiesFeedback  
 
 








Goodies

Many of the goodies are witten in Judo. You can modify a script a little to better suit your needs anytime. To take advantage of the Judo scripts, you need JDK1.3+; also download and install judoscript.zip. Right-click on the scripts to download, then run like this:
java judo script.judo

Back up Your Work!

It is a good habit to back up your important information frequently regardless what CM systems or other central backup facility your organization have -- you are the only reliable person to take care of your data. archive.judo copies multiple directories trees into a single ZIP file. (JudoScript will soon support encryption, making this process even safer.) Take a look and modify for your files and directories.

CLASSPATH Viewer and Editor

showcp.judo prints your classpath nicely. gencp.judo allows you to list all the potential classpath elements line by line; any line starting with '+' will be included. This script generates a O.S. dependent script to be run and set the classpath.

Character and Symbol Tables

ascii.judo and entities.judo print out ASCII and HTML entity in tabular format for easy reference. The output of entities.judo is as follows (for ç, it is ç):

     0 1 2 3 4 5 6 7 8 9
 20:           
 30:     ! " # $ % & ' 
 40: ( ) * + , - . / 0 1 
 50: 2 3 4 5 6 7 8 9 : ; 
 60: < = > ? @ A B C D E 
 70: F G H I J K L M N O 
 80: P Q R S T U V W X Y 
 90: Z [ \ ] ^ _ ` a b c 
100: d e f g h i j k l m 
110: n o p q r s t u v w 
120: x y z { | } ~  €  
130: ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ 
140: Œ  Ž   ‘ ’ “ ” • 
150: – — ˜ ™ š › œ  ž Ÿ 
160:   ¡ ¢ £ ¤ ¥ ¦ § ¨ © 
170: ª « ¬ ­ ® ¯ ° ± ² ³ 
180: ´ µ ¶ · ¸ ¹ º » ¼ ½ 
190: ¾ ¿ À Á Â Ã Ä Å Æ Ç 
200: È É Ê Ë Ì Í Î Ï Ð Ñ 
210: Ò Ó Ô Õ Ö × Ø Ù Ú Û 
220: Ü Ý Þ ß à á â ã ä å 
230: æ ç è é ê ë ì í î ï 
240: ð ñ ò ó ô õ ö ÷ ø ù 
250: ú û ü ý þ ÿ Ā ā Ă ă 

HTML Page Table Checker

html_table_check.judo prints out <table>, <tr> and <td> tags for a HTML page indented, with line and column numbers.

Get Stock Quotes From Yahoo!

get_quotes.judo retrieves stock quote information from http://quote.yahoo.com. The following is an example:
c:>java judo get_quotes.judo "^DJI" "^IXIC" IBM MSFT SUNW

http://quote.yahoo.com/q?s=^DJI+^IXIC+IBM+MSFT+SUNW+&d=v1
^DJI    1:55PM   10005.86 -15.64           N/A
^IXIC   1:55PM    1950.67   0.27           N/A
IBM     1:35PM     119.97  -0.99     3,498,800
MSFT    1:40PM      65.76  -0.49    14,014,100
SUNW    1:40PM      12.79   0.49    23,441,700

Java Date/Time Format Symbols

Do you remember all the format symbols in java.text.SimpleDateFormat? date_formats.judo helps you to do this.

Add Line Numbers

addlinenum.judo adds line numbers to a text file and optionally can escape &, < and > for HTML display. The line numbers takes 3 digits; you can certainly modify that.

Count Lines

Can you wc on files within a zip file? countlines_in_zip.judo does. countlines.judo may be useful, too.

Display Binary Files

bincat.judo is yet another tool to display contents of binary files.

JavaCC Grammar to XML Converter

This utility creates an XML file from a jj file, useful for documentation. Download jj2xml.jar, put it in your classpath and do this:
java wws.tool.jj2xml.Main yourgrammar.jj
It prints to System.out. Redirect to a file if you wish.



Copyright © 2001-2005 JudoScript.COM. All Rights Reserved.