Visual Basic Datagrid Sort + Filter

How to: Group, Sort, and Filter Data in the DataGrid Control http://msdn.microsoft.com/en-us/library/dd833072(v=vs.95).aspx I couldn’t set a filter function in my case but I could use a customfilter which worked pretty good. http://msdn.microsoft.com/en-us/library/system.windows.data.bindinglistcollectionview.customfilter.aspx For some reason this link is the 3rd or 4th page or worse when searching on google. It should be higher up then

PHP base_convert

I wrote a simple tool to visualize numbers in different bases to help solve a math problem I was thinking about the other day. It uses PHP.   Convert numbers Use this form to convert numbers between different bases. This can be useful for visualizating numbers in different bases. Input base number: Numbers To Convert

A php usort function I never used.

/** * value_compare_func * The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be * respectively less than, equal to, or greater than the second. **/ $my_sort_function = function($a, $b) { $result = 0; if( $a->featured == ‘yes’ && $b->featured ==’no’ )