Path Data Snippets


21 December, 2016   

Convert Polygon to Path Data code snippet by Chris Coyier

11 June, 2012   

You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

11 August, 2013   

Converts a DOS path to a Unix path and returns it.

03 December, 2013   

Delphi code to return type of drive that contains the given (full) path.

08 February, 2014   

How to set/get/delete Cookies

26 April, 2015   

Recursively determines the size of a directory

03 December, 2013   

Delphi code to return root drive path for drive with given number.

10 August, 2011   

An easy way to send an HTML email with an attachment.

11 March, 2015   

PHP code shows how to upload images into a mysql database using

17 October, 2011   

Copying Folders With All Contents Including Other Folders. VB.net 2010 does not have a built in code to copy full folders with their contents but only files(one by one)!!! But you can do it by this code

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.

Two simple functions to read an write tab seperated files (like CSV files, etc).

04 August, 2012   

The GetIEFavourites function called from the OnClick event of a button returns a list of all the favorites from your Internet Explorer in a ListBox.

Source code for Binary tree creation, traversal and search

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

This simple program shows the size and ability of primitive data types to handle minimum and maximum values, to take care about it, while you write a program.

03 June, 2013   

Plots a histogram from an external file with the frequency of each bin shown above each bar. The XTick is also the intervals of the histogram.

05 April, 2015   

A simple PHP script that outputs data into formatted columns.