Skip to content

Instantly share code, notes, and snippets.

View jorp's full-sized avatar

Jordan Pisaniello jorp

View GitHub Profile
@jorp
jorp / nginx.conf
Created October 8, 2021 01:49
webtrees | /etc/nginx/nginx.conf
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;

Keybase proof

I hereby claim:

  • I am jorp on github.
  • I am jorpxyz (https://keybase.io/jorpxyz) on keybase.
  • I have a public key ASDYwfzE7m2htpCLXGlGMn4CtcoyfSMx4FdJb4_mCCHJAQo

To claim this, I am signing this object:

@jorp
jorp / find_gnome40_exts.py
Created March 17, 2021 01:20
check which our your installed gnome shell extensions are supported in gnome 40 or 40.beta
#!/usr/bin/env python3
import os, json, glob, requests
url = "https://extensions.gnome.org/extension-info/?uuid="
ext_metadata_files = os.environ['HOME'] + "/.local/share/gnome-shell/extensions/**/metadata.json"
for filename in glob.glob(ext_metadata_files):
with open(filename) as jfile:
data = json.load(jfile)
resp = requests.get(url=url+data['uuid'])