Exchange Backup Procedure You followed this procedure to move a EDB file from a dying SBS server to a different server running Exchange 2007 in Trial mode. Old server was called SVL2008, new server was called SVL2DC (ie they were completely different), they were on the same domain though (unsure if that makes any difference?) The procedure was unexpectedly painless!

WordPress plugins to remember The Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another. The plugin also serves as a simple backup utility. The Duplicator supports both serialized and base64 serialized string replacement. If you need to move WordPress or backup WordPress this plugin can help simplify the process.… Read More »

Office Administrative Template / Group Policy

32bit / 64bit refers to the architecture of the Office, not the Operating System. Office 2013 Administrative Template files (ADMX/ADML) and Office Customization To Office 2013 Administrative Template files (ADMX/ADML) and Office Customization Tool 32bit Office 2013 Administrative Template files (ADMX/ADML) and Office Customization Tool 64bit Office 2016 Administrative Template files (ADMX/ADML) and Office Customization… Read More »

Yii2 crib sheet (until I create some proper pages)

Creating URL Old way (Yii 1.0 maybe??) $url = Yii::$app->controller->createUrl(‘xx’);// your own url generation logic New way (Yii 2.0 ) $url = \Yii::$app->getUrlManager()->createUrl(‘consignment/label’); Creating controllers Debugging (old skool) Yii::info(“My message” , ‘scsdebug’); Yii::warning(“this->consignment_date=” . $this->consignment_date , ‘scsdebug’); Yii::warning(\DateTime::createFromFormat(‘d/m/Y’, $this->consignment_date) , ‘scsdebug’);

Category: Yii

putting awstats live on a long hosted website

Search /home/awstats/DirData/ for any files relating to the domain you’re dealing with and are newer than those for which you have logs. eg… ll /home/awstats/DirData/awstats* ll /home/awstats/DirData/awstats* and then either remove them (if you know you can recreate them) or move them to a temp location rm /home/awstats/DirData/ mv /home/awstats/DirData/awstats* /tmp/awstats.tmp/ Unzip all your log files cd… Read More »

WordPress harderning with apache

Installing WordFence #1 #2 gives you protection and great visibility into whats going on. It’s easy to think no problems = no attacks, but after installing WordFence it was immediately obvious how much attach my little old website was under – and not because it’s a popular site (far from it – I’m pretty sure I’m… Read More »

Screen rotation – Intel HD Graphics

Special keys are Ctrl + Alt + Up (to get screen correct) Ctrl + Alt + Down (to get screen upside down) Ctrl + Alt + Left (to get rotated 90 degrees left) Ctrl + Alt + Right (to get rotated 90 degrees right)  

Comment for mcrypt_create_iv / Suggested work flow for encryption === Original comment for PHP’s mcrypt_create_iv === Block ciphers, at their core, are a pair of transformation algorithms, called transforms. One encrypts, one decrypts – in some cases the algorithms are one and the same, but that’s not important. A block transform takes a fixed-length block of plaintext, transforms it using a secret… Read More »

Munin plugin & Use of uninitialized value in

I usually find sticking this code in an existing plugin resolve the problem if(!defined $data->{$ds->{name}}) { $data->{$ds->{name}} = 0; } eg Use of uninitialized value in printf at /usr/local/etc/munin/plugins/mysql_innodb_io_pend line 885. so I stuck the code in just before line 885. The red highlighted text is the added code, the orange is the code which was… Read More »

Outlook connectivity troubleshooting

Hold down Ctrl and Right click the Outlook icon in the system tray. You get two additional options in the menu, Connection Status and Test E-mail AutoConfiguration


sslyze.exe –certinfo=basic HOSTNAME eg sslyze.exe –certinfo=basic eg sslyze.exe –certinfo=basic –starttls=auto eg sslyze.exe –certinfo=basic –starttls=auto c:\SUPPORT\SSL Software\sslyze>sslyze.exe –certinfo=basic c:\SUPPORT\SSL Software\sslyze>sslyze.exe –certinfo=basic REGISTERING AVAILABLE PLUGINS —————————– PluginCertInfo PluginCompression PluginChromeSha1Deprecation PluginSessionResumption PluginSessionRenegotiation PluginOpenSSLCipherSuites PluginHSTS PluginHeartbleed CHECKING HOST(S) AVAILABILITY —————————– => SCAN RESULTS FOR ACTIVATION.SLS.MICROSOFT.COM:443 – ——————————————————————– * Certificate – Content: SHA1 Fingerprint:… Read More »

FreeBSD port downgrade with ports-mgmt/portdowngrade utility

WARNING: Its really important you do not run portdowngrade from within the /usr/ports directory. Doing so really fucked up my server and I needed to delete all ports and reinstall into them from a list I had available. First install ports-mgmt/portdowngrade and rehash to update cache Then OUTSIDE OF THE PORTS TREE (cd ~ is a… Read More »

MySQL automatically set created and lastupdated timestamps on columns


Creating a Microsoft Office 365 Offline Installer

Creating a Microsoft Office 365 Offline Installer Product IDs that are supported by the Office Deployment Tool for Click-to-Run Office 2013 Deployment Tool for Click-to-Run Office 2016 Deployment Tool Office 365 Offline Installer (as of 29-09-2015, untested)

A Blank SUSDB Database for WSUS 3.0 SP2 & Size Information

Initial SUSDB.mdf file after a virgin installation was 8,340KB During the initial setup of WSUS it goes away and downloads update information from Microsoft Update (You press Start Connecting and wait quite a while). After this process completes, but before you pressed next the size of SUSDB.mdf was 35,008 KB. A backup of a SUSDB taken… Read More »

Using WSUS to keep Adobe software up to date Adobe Products Reader – Flash –