Python Code Snippets


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

07 December, 2013   

This code is for iterating through a cursor

27 March, 2012   

This PL/SQL code is for iterating through a cursor

12 February, 2015   

JS sniffer detects browser and OS.

12 January, 2013   

Search the source code of all stored procedures.

14 May, 2011   

This is a general code to use when updating an item from a MySQL database. This code isn't considered definitive and can be written in many varied ways. Note: This code requires you to connect to the MySQL database to work. Also, all field and table names need to be set up to match.

30 August, 2012   

CSS code example for stylish submit buttons

26 July, 2012   

Java code example to append text to file in Java

09 July, 2011   

How to sort array in smarty template? Create sort modifier file and save it in smarty / plugins with modifier.sortby.php name use this modifier in smarty template like... {foreach item=item key=key from=$users|@sortby:"firstname"} {$item.id}-{$item.firstname} {/foreach}