Block Cipher Snippets


28 January, 2016   

MD5-based block cipher (MDC-like), which works in 128bit CFB mode.

23 February, 2013   

Some super-simple rules to kick out automated script.

26 January, 2012   

A code example of JScript XSLT Script Block

Cross Browser Vertically and Horizontally Centered Images in CSS without Tables

20 March, 2013   

ASP code example to block Multiple IP Addresses

05 August, 2013   

CSS code for Curly Quotes

05 January, 2012   

A simple dashed border effect by CSS

11 April, 2011   

Specifications of the TOPIC database format, a standardized structure for plain text databases that's easy to read and edit in most text editors, and easy to programmatically parse as well.

03 April, 2013   

Nice little search form snippet using HTML and CSS

01 April, 2011   

This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you don't need an empty push div.

This function takes in two strings (value,key) and uses XOR encryption to encrypt (and decrypt) the value using the key. it returns the encrypted value as a C++ string. by John Shao

07 December, 2014   

Note that hit ratio based tuning is not recommended.

27 September, 2014   

How to measure the Buffer Cache Hit Ratio. Note that hit ratio based tuning is not recommended.

13 May, 2013   

You can also run this an anonymous SQL Block

13 February, 2013   

Place line numbers in text output format using CSS and PHP

09 August, 2015   

Handy routine to display the database's SGA statistics.

02 February, 2011   

The set height and width ensure only a portion of the sprite.png graphic is shown. The rollover shifts the position of the background image, revealing a different area of the graphic.

30 January, 2012   

The following code block illustrates the use of TYPE..IS... and VARRAY. In this sample, a type v_arr is defined as an variable array of maximum 25 elements which are of type NUMBER(3). Then a variable v1 is defined as type v_arr . This sample code also demonstrates the use of %TYPE attribute.

21 January, 2012   

PL/SQL Block that uses implicit cursor attributes as below example code.

12 July, 2014   

This block finds all employees whose monthly wages (salary plus commission) are higher than $2000.