Skip to content

Instantly share code, notes, and snippets.

View Tcarters's full-sized avatar
🤒
Out sick

Tcarters Tcarters

🤒
Out sick
  • Lunar Planet
  • 14:59 (UTC +05:30)
View GitHub Profile
@Tcarters
Tcarters / convert_cvs_to_yaml.py
Last active April 4, 2024 02:35
A demo to group data column in a csv file passing through python and using ansible to display it.
import csv
import yaml
# Path to your CSV file
csv_file_path = 'sample_ip.csv'
# Initialize an empty dictionary to store the groups and hostnames
groups = {}
# Open and read the CSV file
@nikhita
nikhita / update-golang.md
Last active March 16, 2026 20:53
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

As mentioned here, to update a go version you will first need to uninstall the original version.

To uninstall, delete the /usr/local/go directory by: