Do you know this example tricks?

JavaScript Reference / Javascript Properties

Code Syntax and Note

XML / Xquery

Min-non-empty-string

Java / Network Protocol

This whois client defaults to the whois internic net server

MSOfficeExcel 2007 Tutorial / Statistical Functions

=COUNTA(A1

Oracle PLSQL / Date Timezone

Select round( sysdate, q ) Quarter

C# Tutorial / File Directory Stream

Create a file called test txt in the current directory

Java / Data Type

Checks if a Boolean value is not false, handling null by returning true

Python / GUI Tk

Error dialog

VB.Net by API / System Security Cryptography

New CryptoStream

VisualBasic Script / Excel

XlWBATExcel4IntlMacroSheet

JavaScript Reference / Javascript Methods

InsertCell() Example

JavaScript DHTML / Jquery

Create a date picker

Sample Android Codes

Android / UI

Using MultiAutoCompleteTextView

Android / Core Class

Get child element, inner element, outer element, parse Fragment

Android / Date Type

Scale, round Number

Android / UI

This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a k a selection mode on GridView

Android / Database

Convert From Java Week To Sqlite Week

Android / Network

Get Url content with max retries

Android / Hardware

Get Memory Free

Android / UI

MultiAutoCompleteTextView Demo

Android / Database

Insert Data into database

Android / File

Delete Directory

Android / 2D Graphics

Simply resizes a given drawable resource to the given width and height

Android / UI

A list view example where the data comes from a cursor

Sample C# Codes

C# / WPF

Tiled Geometry

C# / WPF

From ScRGB values in the Color structure

C# / ADO Database

Get table Schema

C# / Development Class

SystemInformation ArrangeDirection

C# / Development Class

The Base64 utility class performs base64 encoding and decoding The resulting binary data is returned as an array of byte

C# / ADO Database

More than one Relations

C# / Data Types

An int, a short, and a float are included in a mathematical expression giving a float result

C# / WPF

Paints a rectangle with a grid pattern with VisualBrush

C# / File Stream

Determines whether the given path refers to an existing directory on disk

C# / Windows

WindowsPrincipal IsInRole

C# / XML

Moves to the first attribute

C# / LINQ

Return an Empty Sequence of Strings

Sample Java Codes

Java / Class

This program demonstrates cloning

Java / Swing JFC

Separating Components in a Row or Column

Java / SWT Jface Eclipse

Scroll an image (flicker free, no double buffering)

Java / File Input Output

File Locking

Java / Data Type

Gets the String that is nested in between two Strings Only the first match is returned

Java / File Input Output

Check if a directory is not empty

Java / Development Class

System IO Redirect

Java / Data Type

New SimpleDateFormat(ss)

Java / Advanced Graphics

A 3x3 kernel that blurs an image

Java / 3D Graphics

AWT Interaction

Java / Spring

ResultSetExtractor With Aggregate Function

Java / Language Basics

Convert Throwable to string

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.