Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am omeryl on github.
  • I am eliz (https://keybase.io/eliz) on keybase.
  • I have a public key ASBb1w7t2X-s4pMNxXKx_IowYUj1_Ur4Hic42nnt7xu5ywo

To claim this, I am signing this object:

@Omeryl
Omeryl / update.sh
Last active March 9, 2024 01:26 — forked from t413/update.sh
manage an OpenWRT LetsEncrypt https installation
#!/usr/bin/env sh
## update.sh - manage a OpenWRT LetsEncrypt https instalation
# HOWTO:
# - put update.sh in its own directory (like /root/.https)
# - run ./update.sh your.domain.com (that domain needs to point to your router)
# * this get an issued cert from letsencrypt.org using the webroot verification method
# * also installs curl and ca-certificates packages
# - use crontab -e; add the line `0 0 * * * "/root/.https/update.sh" >>/root/.https/log.txt 2>&`
# * this runs the update every day, logging everything to log.txt
#
@Omeryl
Omeryl / resetting-csync2-cluster.md
Created March 4, 2016 20:50 — forked from scottsb/resetting-csync2-cluster.md
Guide to Resetting a csync2 Cluster

Guide to Resetting a csync2 Cluster

Introduction

These are possible steps to reset a csync2 cluster that has been seriously fubared. This is an apocalyptic approach and should only be used when more surgical fixes (like correcting an individual conflict) aren't workable.

Use Cases

➜ ~ host northhillshospital.com
northhillshospital.com has address 199.91.36.45
➜ ~ host 199.91.36.45
;; Truncated, retrying in TCP mode.
45.36.91.199.in-addr.arpa domain name pointer salem.h2u.com.
45.36.91.199.in-addr.arpa domain name pointer northeastflorida.h2u.com.
45.36.91.199.in-addr.arpa domain name pointer *.parkcentral.ehc.com.
45.36.91.199.in-addr.arpa domain name pointer northhills.h2u.com.
45.36.91.199.in-addr.arpa domain name pointer hcahealthcare.com.