Javascript Cheat Sheet For iTouch

javascript_cheat_sheetjavascript_cheat_sheetHow about that? A Javascript reference application for the iTouch. Even expert Javascript programmers need references to methods, properties and syntax from time to time. I for one, use Google quite a lot to search for things I need regarding Javascript. If you do not have any internet access though, you got a problem. But if you have Javascript Cheat Sheet in your iTouch, you can easily look up what you need. Use it as a quick reference or if you are still new to JavaScript, use it to better understand what JavaScript it is about and what it can do.

This is a native application that is searchable and has a friendly user interface to help you quickly find what you are looking for. The categories are useful and well defined. The application includes descriptions, properties and methods for working with strings, dates, arrays, math, DOM, regular expressions and others. This cheat sheet is written and reviewed by professional web developers that use Javascript on a daily basis. Free updates are also available to give you the most updated Javascript specification reference for the iTouch.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(3 votes, average: 5.00 out of 5)
 Loading ...

Zip Compression In Mac OS

zipThe ZIP compression file format has been quite common in the computing world today. It is even incorporated within Mac OS itself. Back when storage space was small, compression was mainly used to group tons of files and divided into smaller files to fit into diskettes. Now, compression is mainly used to group files together as one file. You can zip files in Mac OS either using the UI or through the command line. This neat article Create ZIP Archives in Mac OS X has some great tips and insights when doing zip compression in Mac OS. When using zip compression, Mac OS X file elements are retained if encoded and decoded using the correct tools. Compression can save storage and bandwidth (when sending or downloading files in the internet). The zip format can be decoded on nearly any system which means compressing it in zip format can always be read in other systems that support the file format for compressing and decompressing files.

Zip compression in Mac OS has some cons of its own. The Finder does not support the creation of encrypted archives. What it is capable of, is only the standard compression. There are no file checksums to verify content as well and the Finder does not support modifying existing archives. Still, despite these cons, the zip compression in Mac OS provides users a quick and nifty tool to compress groups of files together quickly and easily.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...

Display List Of Timezones In Java

The Java TimeZone class has a method getAvailableIDs() to get the list of timezones that is supported by Java. The object returns is an array of String objects. You can then get the name of the timezone with the getDisplayName() of the timezone object.

String TIMEZONE_ID_PREFIXES = "^(Africa|America|Asia|Atlantic|Australia|Europe|Indian|Pacific)/.*";
String[] ids = TimeZone.getAvailableIDs();
Timezone tz = null;
for (int i=0; i<ids.length; i++) {
  if (ids[i].matches(TIMEZONE_ID_PREFIXES)) {  
    System.out.println(TimeZone.getTimeZone(ids[i]).getDisplayName());
  }
}

The list of IDs contains a number of duplicates so with the variable TIMEZONE_ID_PREFIXES, the duplicates will be eliminated. This code was taken from this site. I found it pretty handy when I was working with timezone issues.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(1 votes, average: 5.00 out of 5)
 Loading ...

How To Access A Hashtable Property Using JSTL

To access a Hashtable object’s property in JSTL, you can do it like this.

<c:out value="${ht['my_property']}"/>

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(5 votes, average: 5.00 out of 5)
 Loading ...