Month: October 2021

How to Install Selenium for Python on Windows or Linux

Windows # This error would occur if pip is not up to date PS C:\WINDOWS\system32>…

How To Run Python Interactive Command Line Mode (CLI)

Windows PS C:\WINDOWS\system32> python Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit…

How To Fix History Disabled in Task Scheduler

Issue: When checking certain tasks, one may find that the 'History' tab is appended with…

The 5 Rules of Thumb of Business Presentation (To Attract Investors)

I'm noting this here so that I can revisit these bullet points in the future...…

PowerShell: Create A Shortcut on Everyone’s Desktop

Following is an example of a 'how to create a log-off button on Everyone's desktop'.…

Invoke Commands on Remote Computers [To Install Applications]

$computers=@( 'pc1', 'pc2' ) $commandString="choco install pgadmin4 -y --ignore-checksums" function invokeCommand{ param( $computers, $commandString, $credentials…

Install and Remove Choco Applications As Well As Application Wizard Programs

# installChocoApps.ps1 [string[]]$computers=@( 'SERVER01', 'SERVER02', 'SERVER03' ) [string]$chocoAppName='pgadmin4' [version]$minVersion='6.0' function installChocoApp{ param( [string[]]$computers=$env:computername, [string]$chocoAppName='Firefox', [version]$minVersion='7.0'…

Install Apps on Remote Computers via WinRM & Chocolatey

Version A: [string[]]$computers=@( 'SERVER01', 'SERVER02', 'SERVER03' ) [string]$chocoAppName='pgadmin4' [version]$minVersion='6.0' $results=[hashtable]@{} foreach ($computer in $computers){ $session=new-pssession…

Active Directory Domain Accounts Security Hardening

1. Disable or rename Administrator account1a. Create an alternate service account1b. Discover where it's being…

WordPress PHP Fatal error: Maximum execution time of 30 seconds exceeded

Error: [Tue Oct 12 05:57:03.088314 2021] [php7:error] [pid 167] [client 172.16.90.64:39776] PHP Fatal error: Maximum…

How To Increase WordPress Memory Limit

It's are lesser known fact that WordPress overrides PHP's memory_limit settings. Thus, it is possible…

Kubernetes: Use Helm to Deploy WordPress

Deploying WordPress in a Kubernetes cluster isn't as straight-forward is one might expect. As the…

How To Hide Featured Image in Blog Posts in Single View

In WordPress, single posts can have a featured image to help with displaying in List…

Disable and Enable Sleep Mode on a Linux Workstation

The following commands would work on any Linux machine with SystemD (Ubuntu, Linux Mint, Redhat,…

Linux SMB Mount via Command Line Bash Shell

Install smbfs to include these functions smbmount smbunmount Here is a demonstration of smbmount to…

Linux: How To Repair Corrupted Zip File

kimconnect@linuxbox:/media/data/newPhotos $ zip -FF corrupted.zip --out fixed.zip Fix archive (-FF) - salvage what can zip…

How to Remove Windows Junk via GPO – Chat, Weather, Hello, Shopping

Download and install Administrative Templates (.admx) Windows 11 October 2021 Update [21H2] - https:// www.microsoft.com/en-us/download/details.aspx?id=103507…

Lightbox Javascript Contents

These JavaScript codes are open source and part of many applications, such as NextGen Gallery.…

Quick 1-liner to Get a User’s Group Memberships

PS C:\Windows\system32> Get-ADPrincipalGroupMembership kimconnect|select name name ---- Domain Admins Enterprise Admins Cloud Admins Kimconnect Admins

Linux: Copy File Contents Into Clipboard

Install XCLIP (if not already installed) sudo apt install xclip -y Reading package lists... Done…