Skip to content

Instantly share code, notes, and snippets.

@hunsiri
hunsiri / sno-staticip.txt
Created September 15, 2023 02:31 — forked from ralvares/sno-staticip.txt
Installing single node with staticIP and nip.io
## Download Artifacts
## openshift-client
curl -s https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.9/openshift-client-linux.tar.gz | tar zxvf - oc && mv oc /usr/local/bin
## butane
wget https://mirror.openshift.com/pub/openshift-v4/clients/butane/latest/butane -O /usr/local/bin/butane && chmod +x /usr/local/bin/butane
@hunsiri
hunsiri / certPolicy.ps1
Created March 16, 2021 15:52 — forked from rchaganti/certPolicy.ps1
Cert Policy
Add-Type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
@hunsiri
hunsiri / my.cnf
Created June 26, 2020 03:58 — forked from fevangelou/my.cnf
Optimized my.cnf configuration for MySQL/MariaSQL (on Ubuntu, CentOS etc. servers)
# Optimized my.cnf configuration for MySQL/MariaSQL
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# ~ Updated January 2020 ~
#
#
# The settings provided below are a starting point for a 2GB - 4GB RAM server with 2-4 CPU cores.
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage.
#