Skip to content

Instantly share code, notes, and snippets.

@budiantoip
budiantoip / Remix Cheatsheet.md
Last active April 27, 2024 09:08
Remix Cheatsheet
@budiantoip
budiantoip / MySQL Cheatsheet
Last active April 24, 2024 12:24
MySQL Cheatsheet
=========================
Reset MySQL root password
=========================
# Reference: https://www.a2hosting.com/kb/developer-corner/mysql/reset-mysql-root-password/
================
MySQL Calculator
================
# Use this calculator to calculate how many max connections the MySQL instance can serve
# based on the provided RAM size
@budiantoip
budiantoip / Learn ReactJS.md
Last active March 20, 2024 04:50
Learn ReactJS
@budiantoip
budiantoip / How to update CA certificates.md
Last active March 1, 2024 01:38
How to update CA certificates

Ubuntu:

  • Copy the cert files to /etc/ssl/certs
  • Run update-ca-certificates

CentOS:

  1. Run update-ca-trust force-enable
  2. Copy CA certificate files to /etc/pki/ca-trust/source/anchors
  3. Run update-ca-trust
  4. Restart any web engine service
@budiantoip
budiantoip / upgrade_openssl_on_centos_7.md
Last active November 19, 2023 02:46
Upgrade OpenSSL on CentOS 7
@budiantoip
budiantoip / Apache Cheatsheet.md
Created August 25, 2023 04:21
Apache Cheatsheet

Limit HTTP method based on IPs

<Limit POST PUT DELETE>
 order deny,allow
 deny from all
 #allow from localhost
 #allow from 127.0.0.1
 allow from xxx.xxx.xx.xx
</Limit>
@budiantoip
budiantoip / Traefik.md
Last active August 21, 2023 03:35
Traefik

Traefik Use Cases

  • Reverse Proxy
  • API Gateway
  • Load Balancing
  • Certificate Management
  • Kubernetes Ingress

Traefik Providers

  • a provider links an infrastructure component (Orchestrator, Container Engine, Key-Value store, or File to Traefik)
  • Configure Traefik to connect to the Provider
@budiantoip
budiantoip / Exim Cheatsheet.md
Last active August 20, 2023 12:44
Exim Cheatsheet
@budiantoip
budiantoip / IP Address Inquiry.md
Created July 28, 2023 03:18
IP Address Inquiry