This file has been truncated, but you can view the full file.
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
{ | |
"letters": { | |
"E": 445155370175, | |
"T": 330535289102, | |
"A": 286527429118, | |
"O": 272276534337, | |
"I": 269731642485, | |
"N": 257770795264, | |
"S": 232082812755, | |
"R": 223767519675, |
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
CREATE DATABASE IF NOT EXISTS test; | |
USE test; | |
DROP TABLE IF EXISTS t1; | |
CREATE TABLE t1 ( | |
c1 BIGINT(20) NOT NULL, | |
c2 tinytext NOT NULL, | |
c3 tinytext NOT NULL, | |
c4 DATE NOT NULL, |
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
NOW := $(shell date +"%Y%m%d%H%M%S") | |
BUCKET := thomd/github/ | |
N_REPOS := $(shell gh repo list --source -L 200 | wc -l | sed 's/ //g') | |
N_GISTS := $(shell gh gist list -L 400 | wc -l | sed 's/ //g') | |
.PHONY: backup | |
backup: | |
@n=1; for repo in $$(gh repo list --source -L 200 --json name | jq -r '.[].name'); do echo "\033[0;90mcloning repository $${n}/$(N_REPOS):\033[0m $${repo}"; n=$$((n+1)); gh repo clone $${repo} thomd/$${repo} -- -q; done | |
@n=1; for gist in $$(gh gist list -L 400 | awk '{print $$1}'); do echo "\033[0;90mcloning gist $${n}/$(N_GISTS):\033[0m $${gist}"; n=$$((n+1)); gh gist clone $${gist} thomd/$${gist} -- -q; done | |
@tar -czf thomd_$(NOW).tar.gz thomd/ |
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
# | |
# Notify on an upcoming expiration of a SSL ceritficate | |
# | |
# SETUP | |
# | |
# Create an Variable Group 'SSL-Cert-Check' within the Pipeline Library with the variables | |
# SSL_HOSTNAME | |
# SSL_THRESHOLD_DAYS | |
# TEAMS_WEBHOOK_URL | |
# |
NewerOlder