Velleman K8055 C# test application

August 19th, 2009 by Dragos 4 comments »

In my attempt to (re)learn electronics and PIC programming I’ve bought a K8055 board from Velleman. I know it’s not good to learn PIC (actually you can’t do it with this board) but all i want initially is to make some simple projects without the headache of  programming the PIC.

K8055

The board comes with source code for C++ and a DLL so you can use it in your project to easly communicate with the board. If you need the library for linux get it from here.

As my C++ skills are … well … let’s just say i haven’t programmed anything in C++ for a long time, I made myself a small program in C#.

» Read more: Velleman K8055 C# test application

VN:F [1.9.22_1171]
Rating: 9.7/10 (6 votes cast)

PHP Spell Checker

August 18th, 2009 by Dragos 2 comments »

This package can be used to check the spelling of text and get fix suggestions.

There is a base class that defines functions for spell checking.

There are also two classes for checking the spelling of text using either PHP scripts that contain arrays of valid words and grammar definitions, or using the hunspell program.

If the classes determine that there are misspelled words, they may return suggestions for eventual fixes.

» Read more: PHP Spell Checker

VN:F [1.9.22_1171]
Rating: 9.7/10 (12 votes cast)

PHP WSDL Generator

August 18th, 2009 by Dragos No comments »

This package can be used to generate a Web Services Definition Language (WSDL) document from the code of a class that implements Web services calls.

It parses the code of a given PHP class script files and generates a WSDL definition from the list of the class functions.

Certain functions may be skipped to not be included in the WSDL definition based on the function access type.

The generated WSDL may be saved to a given file, returned as a string or served for download.

Download class

VN:F [1.9.22_1171]
Rating: 9.4/10 (9 votes cast)

Timed One Time Password (TOTP)

August 17th, 2009 by Dragos 1 comment »

This class can be used to generate and validate one time passwords that may expire after a period of time (without using a database or saving the password of any kind).

It generates a code based on a secret key that is valid during a period of time.

The class can also be used to validate the generated code in a different server and check if the code expired.

Download class

» Read more: Timed One Time Password (TOTP)

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)

PHP Yahoo Messenger Archive Decoder

August 17th, 2009 by Dragos No comments »

This class can be used to parse and extract information from Yahoo Messenger chat history files.

It can parse a given chat history file and extract several details of each message that was exchanged in the chat sessions.

The class retrieves the message text and length, timestamp and the identifier of the user that sent the message.

The message text is retrieved in HTML format, but the class may strip HTML formatting.

Download class

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)

Big Number Calculator

August 17th, 2009 by Dragos No comments »

This class can be used to add arbitrary precision numbers in pure PHP.

It takes two decimal numbers represented as strings of unlimited length and performs an addition digit by digit.

The result is another decimal number represented as a string.

Download class

» Read more: Big Number Calculator

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Time online Class

August 16th, 2009 by Dragos No comments »

This class is meant to keep track of the time the users spend visiting the pages of a site.

It can keep track of the time spent in a single page, on the entire site using the same session or the total time since the first access.

It can display in the site HTML pages the time spent and keep displaying the time in real time so the user can see the time spent as it passes.

Download class

VN:F [1.9.22_1171]
Rating: 3.0/10 (1 vote cast)

Graf

August 16th, 2009 by Dragos No comments »

This class is meant for computing all the possible ways from a point to another and the distance between them.

Download class

» Read more: Graf

VN:F [1.9.22_1171]
Rating: 8.0/10 (2 votes cast)