Toggen Blog
Tech tips
Articles
Latest
How to SELECT from between double quotes in a MySQL column and update a column in the same table
Note the following data: MariaDB [pallets3]> select options, title from menus where options != ''; +-------------------------------------------------------------------+------------------------------------------------+ | options | title |...
X-Recruiting – Who would have thought
Was just checking a 301 redirect I've set up, and while looking at the the server output from the wget -S command I noticed that etsy.com has an X-Recruiting header. Etsy I hope your innovation brings all the coders to the yard.
C Struct Loses it’s Settings
A while ago I blogged about a Control system that commits a C Struct to a file on a disk and then reads the file and enters the C Struct data back into the control system. The operators started noticing inconsistent behaviours. And so I have had to investigate. After...
Struct is 652 Bytes Fwrite writes 656 Bytes
I am not a programmer but I had the need to write a C struct to disk When I then tried to write another of the same files to try and work-a-round a problem with the system they are used on I got a slightly large (by 4 bytes) file I was compiling the C program with my...
array_merge – And the winning key is!
Just a note to self about PHP array_merge The later array passed into array_merge overwrites the former, also if it's indexed with numerical keys then the values will just be appended. <?php $option_array = [ 'element' => 'ooa1', 'optionb' => 'ob1',...
OpenRPT Context Queries, Format Strings and URLs in PDFs
OpenRPT is a Report Write that is Bundled with xTuple in all it's flavours. It's simple and takes some getting used to in order to use it's power When creating a custom report there is a thing called a Context Query. These are the values that are available...

