Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

serbernar serbernar

💭
I may be slow to respond.
View GitHub Profile
View my_json.py
#!/usr/bin/env python3
import json
from io import StringIO
from json.decoder import JSONObject
from json.scanner import py_make_scanner
my_json='''{"ok":true,"result":[{"update_id":547677716,
@Forst
Forst / letsencrypt.sh
Last active Mar 23, 2018
Let's Encrypt webroot updater (nginx)
View letsencrypt.sh
#!/bin/sh
updatecert () {
/usr/bin/letsencrypt certonly \
--noninteractive \
--webroot \
--keep-until-expiring \
--expand \
--agree-tos \
--strict-permissions \
You can’t perform that action at this time.