Posts by madods

Outlook IMAP Inbox not Updating

I’ve recently found that creating sub-folders in the Inbox of an IMAP email account can inhibit the updating of the...

Removing Cisco router static nat entries

Removing static nat entries from a Cisco router sometimes generates the error: [crayon-6709c605bfe16292021221/]

Increasing Linux RAID 1 array HDD Sizes

Here is a procedure I developed to upgrade the disks in a Linux RAID 1 (mirror) array, and hence increase...

Forcing UTF-8 MySQL query results in PHP

Issuing the query below immediately after establishing the MySQL database connection forces UTF-8 responses to subsequent queries.

MSSQL strings truncated to 4096 characters in PHP

I found when retrieving long TEXT fields from an MSSQL database using PHP, that the response was truncated to 4096...

Cygwin SSH to Ubuntu – “no mutual signature algorithm”

After updates to Cygwin and Ubuntu I was no longer able to ssh to the Ubuntu servers using a certificate...

Convert Unix dates for export to Excel with PHP or MySQL

Its easy enough to export formatted dates as strings to a .csv file for Excel, but if you want to...

php/PDO access to MS SQL Server from Ubuntu 16.04 LTS Server

The replacement of a Ubuntu 10.04 LTS server with one running Ubuntu 16.04 LTS necessitated moving from the php mssql_*...

Mikrotik Router redirect to transparent proxy

A customer with a new Mikrotik router needed to redirect all port 80 and 8080 web traffic to their existing...

>2TB Partitions

The normal fdisk partition utility supplied with Ubuntu can only create MBR partitions which are limited to 2TB in size....