Get Time Snippets


13 April, 2011   

Connecting to a MySQL database to make the data from the database available in your Web application, can be done in many different ways. Here are two often used methods.

24 August, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

28 March, 2011   

When you are writing dynamic link libraries and need to control the loading and unloading of a DLL, or if you want to initialize your DLL when it is loaded, you can have a function called DllMain do your initialization. Windows calls the DllMain function of a DLL in four instances: 1) When a process attaches the DLL 2) When a thread attaches...

Oracle 10G has enhanced the flashback feature further and has turned it into a much more powerful feature by introducing a number of additional function. Some of the more common ones are discussed here. - Flashback Table - Flashback Drop - Flashback Database

C++ source code for standard ASCII table generator

Many applications, such as CuteFTP and Outlook Express, allows you to enter a password and use it when it is needed. However, if you forget your password, you cannot see it, because it's hidden behind asterisks ('****') characters. The following code snippet scans all windows on the screen and reveals the passwords behind the asterisks...

16 March, 2011   

Take an image, and put a water mark on top of it. Note that you can only use this function once per page.

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

08 July, 2015   

Source code for a game setup for DirectX

An example of simple stack using linked lists, can be used for database management system.

06 May, 2014   

This PHP script allows you to parse multiple feeds from different sources into separate pages using SimplePie class. A fast and efficient way to serve fresh content to your site as to provides the most up-to-date information to the readers.

The following code snippet shows how to execute standard Control Panel applets (Display Properties, Reginal Settings, Mouse Properties, and more) from Visual Basic code.

07 August, 2014   

All hints except /*+ rule */ cause the CBO to be used. Therefore, it is good practise to analyze the underlying tables if hints are used (or the query is fully hinted.

30 December, 2010   

Class to back up entire databases and email them out, or individual tables

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.