Skip to content

Instantly share code, notes, and snippets.

View hyacin75's full-sized avatar

Hyacin hyacin75

  • Toronto, Canada
View GitHub Profile
@suryastef
suryastef / uninstall-google-cloud-ops-agent.sh
Last active December 4, 2025 20:55
Uninstall google-cloud-ops-agent, used by GCP monitoring and logging for GCE instances
# This will remove google-cloud-ops-agent installation
curl -fsSL https://raw.githubusercontent.com/GoogleCloudPlatform/getting-started-python/refs/heads/main/gce/add-google-cloud-ops-agent-repo.sh | bash -s -- --uninstall --remove-repo
# Reference can be found here: https://github.com/GoogleCloudPlatform/getting-started-python/blob/main/gce/add-google-cloud-ops-agent-repo.sh
@Jimmy-Z
Jimmy-Z / services-start.sh
Created February 28, 2019 08:42
multi SSID with VLAN script, for ASUS AC86U with merlin
#!/bin/sh
# multi SSID with VLAN script, for ASUS AC86U with merlin
#
# setup before hand:
# set "router" to "AP Mode"
# this will put all ports and wireless in br0
# create 2 guest network
# enable Administration => System => Enable JFFS custom scripts and configs
# put this script in /jffs/scripts/, name should be "services-start"
@peschee
peschee / git_ssl_self_signed.md
Last active October 6, 2025 15:04
Disable SSL verification in git repositories with self-signed certificates

Sometimes, we have to access git repositories over SSL and the server only provides a self-signed certificate 🙈. Although there are ways to increase the trust level for the self-signed certificate (https://confluence.atlassian.com/fishkb/unable-to-clone-git-repository-due-to-self-signed-certificate-376838977.html, https://confluence.atlassian.com/bitbucketserverkb/resolving-ssl-self-signed-certificate-errors-806029899.html), my recommendation is to just ignore SSL verification alltogether.

Prepend GIT_SSL_NO_VERIFY=true before every git command run to skip SSL verification. This is particularly useful if you haven't checked out the repository yet.

Run git config http.sslVerify false to disable SSL verification if you're working with a checked out repository already.

@auipga
auipga / iperf3.service
Last active February 2, 2025 12:43 — forked from mmasaki/iperf.service
systemd service unit for iperf3
# /etc/systemd/system/iperf3.service
# User service: $HOME/.config/systemd/user/iperf3.service
[Unit]
Description=iperf3 server
After=syslog.target network.target auditd.service
[Service]
ExecStart=/usr/bin/iperf3 -s