in <vault>/.obsidian/plugins
und the following command
find . -name manifest.json -prune -exec jq -r '"* [\\(.name)](\\(.authorUrl))", " - \\(.description)"' {} \;
from apscheduler.schedulers.background import BackgroundScheduler | |
from apscheduler.jobstores.base import JobLookupError | |
from app import write_log | |
from models import Prompt, Image | |
import random | |
from flask import Flask | |
import openai | |
import models | |
from extensions import db | |
import time |
in <vault>/.obsidian/plugins
und the following command
find . -name manifest.json -prune -exec jq -r '"* [\\(.name)](\\(.authorUrl))", " - \\(.description)"' {} \;
code --list-extensions --show-versions
#!/bin/bash | |
set -o errexit | |
clear | |
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n" | |
### HOW TO USE | |
### Pre-req: | |
### - run on a Proxmox 6 server | |
### - a dhcp server should be active on vmbr1 |
#!/bin/sh | |
#original from http://community.spiceworks.com/topic/262635-linux-does-not-register-on-the-windows-ad-dns | |
# reply of Phil6196 Oct 1, 2012 at 12:41 AM (EDT) | |
ADDR=`/sbin/ifconfig eth0 | grep 'inet addr' | awk '{print $2}' | sed -e s/.*://` | |
HOST=`hostname` | |
echo "update delete $HOST A" > /var/nsupdate.txt | |
echo "update add $HOST 86400 A $ADDR" >> /var/nsupdate.txt | |
echo "update delete $HOST PTR" > /var/nsupdate.txt | |
echo "update add $HOST 86400 PTR $ADDR" >> /var/nsupdate.txt | |
nsupdate /var/nsupdate.txt |
#!/bin/bash | |
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
# Used to provide DDNS service for my home | |
# Needs the DNS record pre-creating on Cloudflare | |
# Proxy - uncomment and provide details if using a proxy | |
#export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
# Cloudflare zone is the zone which holds the record |
$ apk add --no-cache curl
$ echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /etc/fstab
$ cat > /etc/cgconfig.conf <<EOF
mount {
cpuacct = /cgroup/cpuacct;
memory = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
""" | |
A script to automatically export bookmarks from Firefox's SQLite database. | |
There does not seem to be a programmatic way to get Firefox to export its bookmarks in | |
the conventional HTML format. However, you can access the bookmark information directly | |
in Firefox's internal database, which is what this script does. | |
Always be careful when working with the internal database! If you delete data, you will | |
likely not be able to recover it. |
# Generate PDFs from the Markdown source files | |
# | |
# In order to use this makefile, you need some tools: | |
# - GNU make | |
# - Pandoc | |
# - LuaLaTeX | |
# - DejaVu Sans fonts | |
# Directory containing source (Markdown) files | |
source := src |
Scripts to confgire a group of hosts on a LAN to use VXLAN over Wireguard.