This file contains hidden or 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
#!/usr/bin/env -S deno run | |
import { sortBy } from "https://deno.land/[email protected]/collections/sort_by.ts"; | |
import { groupBy } from "https://deno.land/[email protected]/collections/group_by.ts"; | |
import { reduceGroups } from "https://deno.land/[email protected]/collections/reduce_groups.ts"; | |
import { plot } from "https://deno.land/x/[email protected]/mod.ts"; | |
// Using JSON from this gh --json output | |
// gh pr list --json title,additions,deletions,changedFiles,author,number --search "uiv2 in:title" --state=all --limit 300 | |
type Pr = { |
This file contains hidden or 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
set dotenv-load | |
export RESTIC_REPOSITORY := 'E:\restic-repo' | |
# This retrieve the pw from bitwarden vault. | |
# bw cli needs bw login and bw session key set in .env before used. | |
export RESTIC_PASSWORD := `bw get password "restic repo"` | |
# Restic docs | |
# https://restic.readthedocs.io/en/stable/index.html |
This file contains hidden or 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
.bar { | |
background-color: white; | |
width: 200px; | |
padding: 4px; | |
border-radius: 4px; | |
border: 2px solid; | |
overflow: hidden; | |
height: 20px; | |
} |
OlderNewer