Skip to content

Instantly share code, notes, and snippets.

View YongSangUn's full-sized avatar
🏃‍♀️
Focusing

Rylan Loong YongSangUn

🏃‍♀️
Focusing
  • Earth.
View GitHub Profile
@eggbean
eggbean / install_golang.sh
Last active October 1, 2024 09:36
Script for automated installation or updating Go. For Linux and macOS, x86_64, arm64 and arm.
#!/bin/bash -e
# This script installs or updates to the latest version of Go.
# Multi-platform (Linux and macOS)
# Multi-architecture (amd64, arm64, arm) support
#
# Add to your .profile, .bash_profile or .zshenv:
# export PATH=$PATH:/usr/local/go/bin
error_string=("Error: This command has to be run with superuser"
@mikepruett3
mikepruett3 / shell-setup.ps1
Last active February 23, 2026 10:58
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018
@project0
project0 / ad_password_reset.go
Last active May 3, 2025 03:38
Go AD password reset
package passwordresetservice
import (
"crypto/tls"
"fmt"
ldap "github.com/go-ldap/ldap"
"golang.org/x/text/encoding/unicode"
ber "gopkg.in/asn1-ber.v1"
)