This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from github import Github | |
start_date = datetime.strptime('2023-12-01', '%Y-%m-%d') | |
end_date = datetime.strptime('2023-12-01', '%Y-%m-%d') | |
project = 'org/repo' | |
output_file = './gh-report.md' | |
escaped_triple_backquotes = '\\```' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -euo pipefail | |
# Interactively generate a new GPG key | |
gpg --default-new-key-algo rsa4096 --gen-key | |
# Get key id | |
KEY=$(gpg --list-secret-keys --keyid-format=long \ | |
| grep '^sec.*$' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias pw="pwgen -cnyB1 16" | |
alias chx="chmod +x $1" | |
alias wgup="sudo wg-quick up /etc/wireguard/wg0.conf" | |
alias wgdown="sudo wg-quick down /etc/wireguard/wg0.conf" | |
alias dc="docker compose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source .env | |
# create some wallets, strore address and mnemonics in a file | |
# use stargaze tool with airdrop_file | |
# distribute 0.5 Stars on each wallet | |
# make crypted files with mnemonics | |
# affect an email to each wallet | |
# send mails with attached mnemonics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
set -eu | |
BRANCH='' | |
ORG='okp4' | |
USER=ad2ien | |
REPOS=$(gh repo list ${ORG} --source --limit 150 --no-archived --json name --template '{{range .}}{{ .name }} {{end}}') | |
echo $REPOS |