Portable Code Snippets


Portable code to count the number of bits

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

This basic snippet will create a random authentication code, or just a random string.

How to display the source code of any webpage. you can use below example code

04 October, 2012   

Code example for parsing XML in easy way using PHP

04 July, 2012   

Good programmer comments their code so that anyone can know what is happening in code. Its easy for others to edit the code.

Visual Basic code for inverting text with simple code. Very easy for all beginners. Easy to understand. Compatibility: VB 6 Author of the code: Ben - Ezrah Mansilla Declarations: Add two text box with default name One command with default name

17 November, 2011   

Example for some HTML <em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> Tags

15 September, 2011   

Here are example of Different computer-output tags

09 May, 2011   

This is a general code to use when inserting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. An extention of this code would be to make sure the entry you are adding to the database doesn't already exist (to save dupicate entries). Note: This code requires you to connect to the MySQL...

Delphi example code for Google Spreadsheet GEO code address

14 May, 2011   

This is a general code to use when deleting an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. A variation of the code would be not to delete the record (as you tend to always need to restore or retrieve it sooner or later) you can add a 'status' field. If status='d' then it is...

Here's how to invoke a click on a Windows Start button from code.

02 August, 2014   

JavaScript code to detects browser and OS

08 October, 2014   

JavaScript code to detect browser and OS.

CSS code to create resizable images With CSS

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

01 October, 2013   

This php code for mail someone from your code

27 March, 2012   

This PL/SQL code is for iterating through a cursor

07 December, 2013   

This code is for iterating through a cursor