Skip to content

Instantly share code, notes, and snippets.

View Starttoaster's full-sized avatar

Starttoaster

  • Chia Network Inc.
  • Washington
View GitHub Profile
@Starttoaster
Starttoaster / script.sh
Created March 15, 2024 22:28
Check if Dependabot automated security fixes are enabled
#!/bin/bash
ORGANIZATION="your-org"
# Get list of repositories (public and private) in the organization -- ignore archived
repos=$(gh repo list $ORGANIZATION --no-archived --limit 400 --json name --jq '.[].name')
for repo in $repos; do
result=$(gh api repos/$ORGANIZATION/$repo/automated-security-fixes)
@Starttoaster
Starttoaster / chia-community-repos.txt
Last active March 13, 2023 21:27
Chia Community Repositories
github.com/madMAx43v3r/chia-gigahorse
github.com/Pengor/chia-log-analysis
github.com/stolk/chiaplotgraph
github.com/rjsears/chia_plot_manager
github.com/AngeloMonharti/Chia-plot-log-importer-for-excel
github.com/abueide/harry-plotter
github.com/guydavis/machinaris
github.com/madMAx43v3r/chia-plotter
github.com/tobernguyen/madmax-manager
github.com/charnet3d/plot_watcher
2022-03-13T02:10:43.932Z INFO Need to update DB
2022-03-13T02:10:43.932Z INFO Downloading DB...
29.91 MiB / 29.91 MiB [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 23.00 MiB p/s 1.5s
2022-03-13T02:10:51.051Z INFO Detected OS: debian
2022-03-13T02:10:51.051Z INFO Detecting Debian vulnerabilities...
2022-03-13T02:10:51.058Z INFO Number of language-specific files: 2
2022-03-13T02:10:51.058Z INFO Detecting python-pkg vulnerabilities...
2022-03-13T02:10:51.060Z INFO Detecting node-pkg vulnerabilities...
ghcr.io/chia-network/chia:latest (debian 11.2)

Keybase proof

I hereby claim:

  • I am starttoaster on github.
  • I am brandonbutler (https://keybase.io/brandonbutler) on keybase.
  • I have a public key ASAzjmmeuyIdjyfEt1CuLcfnxIFGVrqzoztjJeruadv0lQo

To claim this, I am signing this object:

@Starttoaster
Starttoaster / main.go
Created September 20, 2019 14:37
Sample Scribble DB usage
package main
import (
"github.com/nanobox-io/golang-scribble"
"fmt"
)
type Auth struct{ Token string }
//Declaring variables..
@Starttoaster
Starttoaster / 1. docker-compose.yml
Last active April 30, 2023 14:24
Setting up Nextcloud behind Traefik in Docker
version: "2"
services:
# Reverse Proxy and Let's Encrypt
traefik:
container_name: traefik
image: traefik:alpine
restart: always
networks:
- srv
@Starttoaster
Starttoaster / 1. Parameter Explanations
Last active April 7, 2021 07:59
Cloudflare API Calls (Ignore !'s. Used for emphasis/easy spotting)
*X-Auth-Email:* This is the email you use to log into your Cloudflare account. Found in "My Profile"
*X-Auth-Key:* This is found in the Cloudflare website under "My Profile > API Keys > Global API Key".
[See this link on finding the Global API Key](https://support.cloudflare.com/hc/en-us/articles/200167836-Where-do-I-find-my-CloudFlare-API-key-)
*Zone Identifier:* This is an ID specific to your domain. Found in the Cloudflare website on your domain's "Overview" page written as "Zone ID"
*Identifier:* This is an ID specific to a singular DNS record under your domain. This one is a little tricker to find.
It would appear that you need to find this by making an API call, which Gets info about all DNS records on your domain and outputs an "id" attribute.
@Starttoaster
Starttoaster / docker-compose.yml
Created April 28, 2019 20:48
Portainer + Traefik
version: "2"
services:
# Reverse Proxy and Let's Encrypt
traefik:
container_name: traefik
image: traefik:alpine
restart: always
networks:
- srv