Implementation Snippets

A JavaScript implementation of the famous sprintf() function

28 June, 2012   

Function to generate soundex code for any string (usually a name). Conforms to Knuth's algorithm and the common Perl implementation.

If you want to react on user maximizing or minimizing a Delphi form, use the code.

Delphi code example for Hide minimized MDI child windows

How to disable UITableView header or footer floating

Note that you must include the unit ExtActns in the uses clause.

Source code for Validate Longitudinal Redundancy Checksum

Python has no equivalent to Java's "super" keyword (so that some part of a method can be delegated to the superclass), but it's easy to get similar convenience despite Python's multiple-inheritance generality.

Due to the default Windows handling of the WM_GETMINMAXINFO message, the max size of the form is set to the screen size. Add a button to a form and try this:

13 March, 2011   

This program make input type for password.

13 February, 2014   

Just got inspired last night and decided to start a class to get the screen in "blocks" and check which one has changed to update only those.

13 March, 2014   

Delphi code example for [UNIT] ROT1 Encrypt Strings

Simple singly linked lists example usage; it is only one of many possible implementations

C++ Example code to convert a real number to the string

Converts the given floating-point value to a zero-terminated string. The supplied buffer should be large enough to accommodate the converted value. The value includes a decimal point and possiblesign and exponent information, plus a terminating null character, which is appended automatically. Returns: a pointer to zero-terminated...

24 April, 2014   

[UNIT] Im Spreading. I posted it as learning to defend yourself.

This Unit is Made by Snify and MindfreaK Remember, the Process is chosen randomly and could be terminated by itself , so u need an re-inject system which checks for an running persistence module/dll/codeinjection. ( TIPP: Communicate via Mutex )

28 April, 2011   

Over the years I have made quite a few software programs in Delphi, and inevitably I have also come up with many useful functions. Most of them I have never published on the Internet before, now I would like to list on blog. Part 1 are functions for managing integer or real numbers, they were written very early in 1997.

12 March, 2013   

Example code Raw Disk Access Unit