Code Snippets Submitted by Jhon Jhon


27 July, 2013   

A dynamic output array by C++ Code

08 July, 2015   

Source code for a game setup for DirectX

An example of a simple double linked list using OOP techniques

18 June, 2011   

Add a space (or other delimiter) only if a variable is set, in order to avoid ugly unnecessary spaces.

21 January, 2013   

VB code to add data using access

16 April, 2012   

This CSS code will change link font-size

30 January, 2013   

jQuery code example for animated scroll

Source code by Maganti Venkatesh for another way to swap 2 numbers

29 December, 2012   

Example MySql code to append Data to Field in MySql

06 June, 2011   

This reorders the elements of an array into a random order.

11 May, 2013   

ASP code example using a 301 redirect

In order for this to work, you will need to copy mysqldump.exe and mysql.exe from the MySQL bin Program Files folder into the same directory as your executing PHP script. If you know the direct path to these for your server, you can use those instead.

Copy the declarations and code below and paste directly into your VB project.

05 August, 2013   

CSS code for Big Curly Quotes Markup

19 November, 2013   

C++ code example for binary addition using stack in STL

Source code - binary addition using stack in STL

16 February, 2013   

Binds a php variable to an SQL statement using the bindParam() method

Just some funzies with CSS3 animations. If you are worried about super deep browser support, use a GIF.

05 January, 2013   

You can use carriage return characters to break the line: & # x 0 0 A ;

30 August, 2011   

This snippet to show how to use the Last-Modified and the ETag header to optimize the caching of a website. If used correctly this will speed up your page loads.