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.
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
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).
30 July 2009 :: Ouray to Grand Canyon
So I got I bit slack about updating my blog at the end of July. Keeping the updates going on the road is hard because by the end of the day you're physically and mentally exhausted.
The ride out of Ouray to Grand Canyon was yet another gem. The road from Ouray to Durango consists of never ending switchbacks - seriously I was riding for hours on these beautiful banked lefts and rights up and over the mountains - it was the first time I really saw many sportsbikes.
29 July 2009 :: Ouray, Mountains and Ouray
If you ever have a chance to pass through he Rocky Mountain region in the summer you must make time to visit Ouray. Ouray, known as the Switzerland of America, is nestled between two large mountains and fun twisty roads that lead in and out of the area which alone would be enough reason to pass through but on top of this there's great food, good bars and loads of outdoor activity stuff to do, but I digress...

Comments
2 weeks 2 days ago
2 weeks 3 days ago
2 weeks 5 days ago
4 weeks 3 days ago
6 weeks 5 days ago
6 weeks 6 days ago
7 weeks 3 hours ago
7 weeks 13 hours ago
7 weeks 2 days ago
7 weeks 6 days ago