Toggen Blog
Tech tips
Articles
Latest
Implementing <<first and last>> links in cakephp pagination
I don't know why they don't include them by default but here is an example of how to add first and last links to your view. <?php echo $this->Paginator->first('<< first'); #add this echo $this->Paginator->prev('< ' . __('previous'), array(),...
Understanding the Difference between Windows Server User and Device Clients Access Licenses (CALs)
Every time I ask myself the question which type of CAL do I require? It always seems to take some thought in order to comprehend the difference.... Especially when you only ask the question every couple of years. But I found this picture which helps visualize the...
Don’t Buy USB Keys, SD Cards from Malaysian Street Vendors!
So while in Kuala Lumpur I bought a couple of 512GB USB Keys a 128GB USB/Mini-USB key and a 64GB micro SD card. At 10MR each they were less than a third of what you would pay in Australia for a 8GB USB key from Verbatim or Toshiba. After attempting to use them on both...
Ping Expired in Transit
You get this: C:\Users\lisa>ping www.2test.com Pinging 2test.com [63.95.218.111] with 32 bytes of data: Reply from 63.95.218.254: TTL expired in transit. Reply from 63.95.218.254: TTL expired in transit. Reply from 63.95.218.254: TTL expired in transit. Reply from...
Specifying custom page size with Ghostscript
you can't do the following because the custom page size won't exist on the system ps2ps -sPAPERSIZE=A4 input.ps output.ps This will work (this is 100x200 converted to points) ps2ps -dDEVICEWIDTHPOINTS=283.46 -dDEVICEHEIGHTPOINTS=567 test.ps output.ps Never mind this...
Export Mailboxes in Exchange 2010 Corrupted Items Work-a-round
# You get the mailbox sizes Get-MailboxStatistics -Server MYSBS2011SERVER | where {$_.ObjectClass –eq “Mailbox”} | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size...
