Unix Path Snippets

11 August, 2013   

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

PHP code to convert MySQL date to UNIX timestamp

03 December, 2013   

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

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.

This will return the number of seconds between now and when the time field was inserted.

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.

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.

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.

14 June, 2015   

This function helps you checking a UNIX timestamp with human readable time formats like 1m, 2d or 4y.

13 April, 2013   

Load and store classes for easy use and re-usability using advanced PHP object storing.

Delphi's RTL ExpandUNCFilename function retrieves the full path and filename of a specified (relative) file using Universal Naming Convention for network files (thus making my *very old* custom function obsolete).

11 September, 2011   

This is a minimal apache ant build.xml file that will quickly do all the things that you will generally want to do, including compiling and building a simple Java project to class files and jars. It provides targets to compile the class files and jars and to run the main class. The fields marked "My Project Name Here" and "My Main...

31 December, 2014   

Function that allows a Javascript cookie to be set after HTML has been output to the page.

The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.

03 August, 2013   

Example shows bash code to change CWD to file's directory