Card Input Snippets


15 November, 2012   

This program has two input checks: one for a blank card to indicate end-of-data, and the other for a zero value within the input data. Either condition causes a message to be printed.

15 November, 2012   

If one of the input values is zero, then the program will end with an error code of "1" in the job control card listing following the execution of the program. Normal output will be one line printed with A, B, C, and AREA. No specific units are stated.

C++ source code for a portable card deck class with shuffling

12 August, 2015   

Example shows how to capitalize in MySQL.

This example code showing how to use PHP Functions to clean User Input

14 August, 2016   

All of the XOR encryption algorithms

An example of HTML form control where used-password input box

CSS code example how to custom File Input Styling in WebKit/Blink

27 February, 2013   

An example code for tableless forms

HTML code Snippet to get directions form (Google Maps) saddr = blank input field for entering START address daddr = hard-coded END address

12 September, 2013   

Just use the autocomplete attribute to turn off autocomplete for Input.

06 February, 2012   

ASP Forms and User Input from HTML form

18 May, 2011   

To randomize an array we loop over the length of the array, removing an object chosen at random and then adding it back onto the Array’s end position. Think of this as having a deck of cards where you pick a card at random from the deck and move it to the top of the stack repeated for the total number of cards in the deck. It’s important to...

31 January, 2012   

Use this code to put Google search bar on web page.

19 April, 2016   

A simple method that generates a MD5 hash from a given string. It should be compatible with PHP's md5() function (just lowercase the string).

03 October, 2013   

Basic commands for reading a text file one line at a time.

11 February, 2013   

File inputs can have an attribute of "multiple" which then allows multiple files to be selected in the file section dialog box.

12 April, 2012   

Delphi code example - force the input in a TEdit

An example of HTML form control where used single text input box

09 September, 2014   

Simple Javascript snippet that lets you toggle a group of checkboxes on or off at the same time. This is the format for your HTML form.