How To Disable Automatic Updates in WordPress

Author: , September 19th, 2022

To disable automatic updates in WordPress, simply edit the wp-config.php file in your WordPress root directory and add the following line:

How To Calculate CSS Height On The Fly Using Calc

Author: , March 25th, 2020

I needed to use an iframe between a pre-defined header and footer that would auto-fill the full height on any size screen. On a desktop, the combined height of the header + footer was 223px and for mobile was 157px, so below find the CSS example: calc(100vh – 223px) – for desktop calc(100vh – 157px) […]

How To Configure CPAN to Automatically Install Dependencies Without Confirmation

Author: , March 20th, 2014

perl -MCPAN -e ‘my $c = “CPAN::HandleConfig”; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => “follow”); $c->edit(connect_to_internet_ok => “yes”); $c->edit(build_requires_install_policy => “yes”); $c->commit’

How To Avoid Auto-Increment Collisions During Multi-Master Replication

Author: , September 25th, 2013

If you are inserting to the same table at the same time at two or more different sites, and using bi-directional or multi-master replication, then the auto-increment keys need to be offset so they do not conflict or the application needs to be be able to generate it’s own unique keys. Use the auto-increment-increment and […]

How To Modify the Menu Width in jQueryUI Autocomplete

Author: , June 18th, 2013