Fixing Error 500 in WordPress

HTTP Error 500 means internal server error. This can have a variety of causes. With wordpress there are 4 common causes:Allocated Memory has been exhaustedCorrupted .htaccess filecorrupted php fileBad pluginAllocated Memory has been exhausted:You can adjust the max memory for your site by adding the following to your wp-config.php file in the root folder for your site:define('WP_MEMORY_LIMIT', '64M');The above code can be added anywhere within the <?php> tagIf that does it, then you need Read more [...]

Squashing GIT Commits

When you are working with version control. You may have multiple commits that you would like to combine into a single commit. Or perhaps you want to change their order, etc...First you need to determine how far back you want to go. Open a command prompt or terminal window, navigate to your Git Repository.next, type>git log -10 The above command will show the last 10 commits. If that does not go far enough back, in increase the number 10Once you have identified the commits you wish to squash Read more [...]

Creating a BranchCache enabled CIFS share on Netapp

Branch Cache is a caching technology to help with performance when accessing file shares over a WAN. Netapp supports this technology and it can be used with compatible clients such as Windows 7 Enterprise and newer, and Server 2008r2 and newer Enable Branch Cache on a storage system Enable SMB 2.1: options cifs.smb2.enable on The command enables both SMB 2.0 and SMB 2.1.Enable BranchCache: options cifs.smb2_1.branch_cache.enable onOptional: Configure the time (in seconds) to keep an unused BranchCache Read more [...]

Windows Update Commands

The windows update command utility in windows is: WUAUCLTHere are a list of the available switches for the WUAUCLT command:/DetectNow/ReportNow/RunHandlerComServer/RunStoreAsComServer/ShowSettingsDialog/ResetAuthorization/ResetEulas/ShowWU/ShowWindowsUpdate/SelfUpdateManaged/SelfUpdateUnmanaged/UpdateNow/ShowWUAutoScan/ShowFeaturedUpdates/ShowOptions/ShowFeaturedOptInDialog/DemoUIYou can also do it via powershell. You can download the powershell module here:https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bcAfter Read more [...]