Blog

Windows Server 2019 Remote Desktop Black Screen Problem

While there's no definite solution to this issue, here are some options to work around…

How to Use ImageMagic to Resize Images

Converting PNG to JPG (optimized): # This is an optimized resizing command to convert PNG…

Excel Visual Basic For Application (VBA): Determine IP List

Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True intRow = 2 Set Fso = CreateObject("Scripting.FileSystemObject") Set…

ODBC Driver 32-bit & 64-bit

The 32-bit version: Run: odbcad32.exe > check the list of installed 32-bit drivers as illustrated…

PowerShell: Function to Get Group Members as a Bypass Orphanated SID Errors

Problem: [TESTSERVER]: PS C:\Users\administrator> Get-LocalGroupMember 'Remote Desktop Users' Get-LocalGroupMember : Failed to compare two elements…

CSS: How To Set Color Gradient and Animation to Text and Background

// Static color gradient .colorGradientClass { background-color: #ffffff !important; background-image: linear-gradient(315deg, #ffffff 0%, #d9d9d9 74%)…

Uhhuh. NMI received for unknown reason 3d on CPU 4

Problem: Message from syslogd@linux03 at Aug 31 04:28:21 ... kernel:[273033.123489] Uhhuh. NMI received for unknown…

Ping Command’s First Packet Toward LDAP Server(s) Takes 2 Seconds to Start

Case 1: Are DNS servers working? dig returns results right away => defined dns servers…

How To Install Graylog in a Kubernetes Cluster Using Helm Charts

The following narrative is based on the assumption that a Kubernetes (current stable version 20.10)…

How to configure Ubiquiti EdgeRouter to send logs to a Syslog Server

Method 1: using text editor # Edit the syslog config sudo vi /etc/rsyslog.d/vyatta-log.conf # Change…

How to Setup Dynamic DNS with Google Domains & Ubiquity EdgeRouter

Step 1: Set up Dynamic DNS - Access Google Domains: https://support.google.com/domains/answer/13689670- Click on the Manage…

How To Configure Alternative Storage for a Kubernetes (K8s) Worker Node

The below illustration is assuming that one has a local RAID mount being added to…

Ubuntu: Auto Updates Configuration

Prepare the Linux OS: # Install auto-update packages sudo apt install -y unattended-upgrades apt-listchanges #…

Linux: Creating Soft Links as Directories

Optional test: create a soft-link for directory as hard-links are not allowed source=/nfs-share/linux03/docker/containers destinationdirectory=/var/lib/docker sudo…

PowerShell: Quick Snippet to Purge All ‘Orphaned’ Records of Resources in VMM

The Script: # removeMissingResourcesInVmm.ps1 $noConfirmations=$false # $true = no confirmations, $false=confirm each stale record removal…

Quick PowerShell Cmdlet to Move Computer Object

$computername='SomeComputerName' $targetOU='OU=Computers,DC=kimconnect,DC=com' Move-ADObject -Identity (Get-ADComputer $computername).objectguid -TargetPath $targetOU

A Quick Note On How To Preserve Client Source IP’s on K8s Services

namespace=ingress-nginx servicename=ingress-nginx-controller kubectl edit svc $servicename -n $namespace # edit this value from Cluster to…

Linux: Testing Disk Speed

Below is an exercise in comparing 2 different media: external USB drive vs a SD…

Linux: RSYNC Examples

Following are a few practical uses of this command: # Copying from a Local Directory…

Linux: Commands to Add a New Disk

# Step 1: create partitioning table (gpt or msdos/mbr) device=/dev/sdc sudo parted $device mklabel gpt…