I’ve downloaded the Boost C++ library and my little adventure with it will begin as soon as the files have copied.
Category Archives: Programming
dirent.h
I’m doing some Linux C++ programming, and I’m doing the dev work on Windows, so I figured I’d have a go at compiling in Visual Studio (I’m running VS2008). One problem I had was that there was no dirent.h header file, but I found one.
Making Subversion/SVN recognize CVS Id and Revision tags
Today I found this article Making Subversion/SVN recognize CVS Id and Revision tags which describes how to add support for Id and Revision tags in Subversion.
PHP krsort
Today I used the PHP function krsort for the first time. It sorts the array with keys in reverse order, which is exactly what I needed to get my version listbox options in order from latest to earliest.
Doctrine Bidirectional Mant-To-Many Associations
I found out how to do a Many-To-Many, Bidirectional mapping with Doctrine in PHP.
PHP in_array and array_keys
The PHP function in_array is a really handy way to check if a value is in an array. Combine with array_keys to check if a value is in the array keys.
The importance of !important in CSS
I found an article on !important which explains how !important works in CSS.
PHP flush
Reading a character from a string
What do you do in PHP when you want to get the character at the specified index within the string? I’m not sure what the best way is, but the way that I’ve been using is with the substr function, passing in the index and a length of one.
Trying out PHP features
I’ve added a web testing section to my jj5-test project, and its hosted on Member Net in the test directory.
Now when I want to write little things that test/demo PHP features that I’m learning about I have a place to put the code.