Tag: Script
-
Homebrew Installed Jenkins on MacOS Sequoia Cannot be Accessed From External
I recently installed Jenkins 2.479.2 on MacOS Sequoia (15.1). The service is working fine on http://localhost:8080, but it can not be accessed from any other devices at my home. This post provided solutions to fix that issue. Here is a summary:
-
What is the time format in Bitbucket API?
I was trying to retrieve a report in a Bitbucket instance. The return from the API contains event dates. However, the value looks strange. It is something like 1680143775227. The format looks like Unix Epoch Timestamp. But it was converted to a far future time in any online converters. The .Net action [System.DateTime]::UnixEpoch.AddSeconds() threw an…
-
Fixing Motor Unresponsiveness on Raspberry Pi Due to Grounding
Discover the practical insights into solving grounding issues when interfacing a motor driver board with a Raspberry Pi.
-
Connect-NsxtServer shows “Unable to connect to the remote server”
When you run Connect-NsxtServer in the PowerCLI, it may show “Unable to connect to the remote server“. Because the error message is a little bit confusing with other login issues. It’s not easy to troubleshoot. The actual reason is the NSX-T uses a self-signed certificate, and the PowerCLI cannot accept the certificate automatically. The fix…
-
Move Terraform Providers to Other Folders
Create a new control file with the name .terraformrc or terraform.rc in your profile folder. Add the following lines: Create the folder .terraform.d/plugin-cache in your profile folder. The providers will be downloaded to the cache folder when you run terraform init. If you don’t want to create the control file in the profile folder. Alternative…
-
Setup Terraform and Ansible for Windows provisionon CentOS
Provisioning Windows machines with Terraform is easy. Configuring Windows machines with Ansible is also not complex. However, it’s a little bit challenging to combine them. The following steps are some ideas about handling a Windows machine from provisioning to post configuration without modifying the winrm configuration on the guest operating system.
-
How to Manage Windows Servers With Ansible on CentOS 8
This article will focus on the quick configuration in the lab environment to get Ansible ready for Windows automation.
-
Get SSD Hard Disk Information by PowerShell to HPE Servers
HPE published an advisor for SSD issue recently. The issue impacts most popular Proliant servers in the world. The remediation is upgrading firmware. Unfortunately HPE doesn’t have a product can easy report hard disk model for Gen9 and earlier models.
-
Machine Learning Basic – Calculate Euclidean Distance by PowerShell
Calculate Euclidean distance by PowerShell script.