From the Spiceworks forum: # get all mailboxes that have a forward, sort by name and select their name and forward address $fwds = get-mailbox | Where-Object { $_.ForwardingAddress -ne $null } | sort Name | select Name, ForwardingAddress # now get the primary smtp...
James McDonald
Virtual Box Windows XP Clonezilla Restore
JoyceMayne was offering a 100-300 for your old PC for a new laptop deal so I had to give them my old computer before I could transfer everything to the new laptop so I used clonezilla-live-2.2.4-12-i686-pae.iso to take an image of the old Windows XP box before I...
Who’s down with Apc? It almost wasn’t me
Symptoms: You have the Apc cache engine turned on it Config/bootstrap.php and Config/core.php You are running php-fpm You run the cake console from the command line inside your app dir and you get the below error // Config/bootstrap.php // Setup a 'default' cache...
applicationCache too small to be (really) useful
I have a html5 CACHE MANIFEST file with 600+ resources listed in it totalling 78.4 megabytes Access the application on Internet Explorer 11 under windows 7 I manage to download exactly 57.16MB before it stops. The applicationCache reaches a status of 0 (UNCACHED) so...
Testing Session TimeOut with CakePHP
By default CakePHP uses the session timeout value in php.ini But sometimes you might want to specify a very short Session timeout for testing your code To do that you open Config/core.php and add a value to the "Session" Configure::write area...
CakePHP with TCPDF
This is brilliant:- http://www.martin-schenk.es/en/cakephp-2-pdf-with-tcpdf/ in View/Layout/pdf/pdf.ctp <?php header("Content-type: application/pdf"); echo $content_for_layout; But with google chrome using the $pdf->Output('filename.pdf', 'I') option you get the...
CakePHP in a subdirectory NginX
This is how I setup cakephp so I can have multiple apps in subdirectories with a shared cakephp instance. Under NGinx I setup my webroot folder as follows /var/www/html <== webroot everything served from here /var/www/cakephp-2.5.4 <== cakephp lib folder here...
Squishing your content down for Mobile Devices
As usual my experience comes just after I need it. Been working on mobile enabling a web page and am trying to get the content to display sensibly on an iPhone and a Galaxy. I'm making a lot of mistakes... I've been using pixels for button sizes and they are...
Vultr VPS Pricing
I've used Rackspace & Digital Ocean but I've only just became aware of https://www.vultr.com/ I only spend about $20USD a month on my 2GB RAM 40GB SSD VPS and I think Rackspace was around the $24 dollar mark. But Vultr is charging $15.00 a month for the same...
How I Imagine OpenDKIM works
Disclaimer: This is just what I've gleaned from Google and trial and error. So I'm not sure if the following is entirely true but this is how I imagine DKIM works. See http://dkim.org for more information A person with an email address of [email protected] wants to...
