YugabyteDB is a high-performance transactional distributed SQL database.
TODO: add description and usage
#!/sbin/openrc-run | |
# CloudFlared OpenRC for Alpine Linux | |
# https://github.com/cloudflare/cloudflared | |
# SPDX-License-Identifier: Apache-2.0 | |
cloudflare_token="YOUR_TOKEN_HERE" |
# Continuous Integration for Wails.io | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
name: Continuous Integration for Wails.io | |
on: | |
push: | |
branches: | |
- main |
#!/bin/sh | |
# daily_tasks.sh - Execute daily tasks and sends a notification upon successful completion. | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/ef01b51032cff6299246abe02de04099 | |
# crontab -e | |
# 0 3 * * * sh /somewhere/daily_tasks.sh >/dev/null 2>&1 # execute silently at 3 a.m every day | |
NOTIFY() { | |
DATE_NOW="$(date)" |
#!/bin/sh | |
# install-nomad-openrc.sh | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
wget -O "/etc/conf.d/nomad" "https://ncurl.xyz/s/ymx8l_nHg" | |
wget -O "/etc/init.d/nomad" "https://ncurl.xyz/s/G1Vsr_7NR" | |
chown root:root "/etc/conf.d/nomad" "/etc/init.d/nomad" | |
chmod +x "/etc/init.d/nomad" |
# Consul OpenRC from Alpine Linux 3.17 | |
# SPDX-License-Identifier: MPL-2.0 | |
# https://pkgs.alpinelinux.org/package/v3.17/community/x86/consul-openrc | |
# /etc/conf.d/consul | |
# Consul startup | |
consul_opts="agent -config-dir=/etc/consul.d" |
[Install] | |
WantedBy=multi-user.target | |
[Unit] | |
Description=YugabyteDB is a high-performance transactional distributed SQL database. | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=simple |
# nginx.conf - Easy OpenAI reverse proxy gateway | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
limit_req_zone $binary_remote_addr zone=ai_trial:1m rate=5r/s; | |
server { | |
# TODO: your server conf | |
location /ai/openai/ { | |
include proxy_params; |
#!/bin/bash | |
# cloudflare_nginx_ip.sh | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/2d19d98da8a4845c22c7cadb7ea02d38 | |
# crontab -e | |
# 0 3 * * * /somewhere/cloudflare_nginx_ip.sh # update at 3 a.m every day | |
set -e |
#!/bin/bash | |
# auto_x11vnc.sh | |
# SPDX-License-Identifier: MIT (https://ncurl.xyz/s/o_o6DVqIR) | |
# https://gist.github.com/supersonictw/14dc3cfc0c82b7c9cf430ad33d0a12da | |
SUDO='' | |
if [ "$EUID" != 0 ]; then | |
SUDO='sudo' | |
fi |