CryptClass is a set of Helper classes (Crypt / CryptAesClass / CryptClass) that
greatly simplifies the job of encrypting and decrypting data including strings,
arrays, bool and objects allowing you to get on with developing cool stuff.
Technology
CryptClass for PHP
pretty_json() for PHP
Keep finding I need a pretty_json() for PHP - so here's mine with tests included - Grab it at GitHub or just cut'n'paste from here.
Cakephp Autocache Behavior
UPDATE: this Behavior is now a Plugin, making it even easier to use - check it out here:-
* https://github.com/ndejong/CakephpAutocachePlugin
Automatic model data caching for CakePHP
User data (ie model data) caching is something that can help you easily deal with a CakePHP webapp that is suffering under heavy database load. It can be a royal pain to wrap all the find and read calls with a bit of cache code, so your generally better off finding a way to do it right in the model itself.
Robust crypt functionality for use in CakePHP and other frameworks
Robust and flexible data encryption functionality inside your web application is an essential part of your toolkit when developing your next fantastic webapp. The right setup can help you through situations that are troublesome and/or painful to deal with otherwise.
Opcodes with bayesian classifiers for malware detection?
Here's an idea/question/postulation to consider...
Is it possible to reasonably classify malware based on the opcodes a binary utilizes as the input attributes to a bayesian classifier? Put another way for the less technical readership, is it possible to determine if a given program (binary) is good or bad based on the internal mechanics of that program when we compare it to the internal mechanics of other programs that are good and bad?
Correlation of time based variables in MySQL
I often find it useful to calculate the correlation of two time-based variables directly inside MySQL. For example:-
SELECT calcCorrelation('BHP','RIO','3600');
Where the first two inputs are the variable selections and the third is the time based quantization to use. Since MySQL does not have any built-in corr() function you need to do the heavy lifting yourself with a stored function.
Helper wrapper for Abraham Williams TwitterOAuth PHP wrapper
Recently Twitter has thrown the switch and killed basic-auth authentication for interaction with their Twitter API. This means you can no longer simply use cURL in the following manner to make status updates etc:-
PHP Freelancer.com API Wrapper class
The guys over at Freelancer.com have produced an API to interact with their already cool site. Their API is well documented and easy enough to use but there are a few hoops to jump through to get an application authorized and and the response data structures do not always seem consistent among all the possible calls (but that could just be me).
