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
{ | |
"imports": { | |
"example/": "https://deno.land/x/example/" | |
}, | |
"scopes": { | |
"https://deno.land/x/example/": { | |
"https://deno.land/x/[email protected]/mod.ts": "./patched/mod.ts" | |
} | |
} | |
} |
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
# multi-file copy to paths in the CSV file | |
# very useful if you are updating multiple paths from a source location often, especially useful if the source location changes or if there are many | |
function .copy.back -d "Multi-copy a file to template paths" -a source | |
# Multi-copy to locations listed in .targets.multi-copy.csv | |
source $PWD/scripts/.log.fish | |
# set the possible colors that alternate under the file copy list | |
set -a possible_colors blue | |
set -a possible_colors cyan | |
set -a possible_colors blue |
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 --allow-read | |
/** | |
* @file .lefthook.commit.ts | |
* @description This script validates commit messages based on a specific format. | |
* @author Lynsei H | |
* @usage deno run -A ./src/.lefthook.commit.ts "feature/story_89: This is cool!" | |
* @returns true if commit is invalid, otherwise false | |
*/ | |
const VALID_TYPES = [ |
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
cask "trunk-io" do | |
version "1.3.4" | |
sha256 "89fbdd8c7b63649eeb1479415757b898903c041e73b49b78028dbd64eca3087a" | |
url "https://trunk.io/releases/launcher/#{version}/trunk" | |
name "Trunk Launcher" | |
desc "Developer experience toolkit used to check, test, merge, and monitor code" | |
homepage "https://trunk.io/" | |
livecheck do |
GITHUB SCOPES
FIPS-140-3 with code complexity of $( Ω(n log(n)) > O(n^2) )
Criteria | Details |
---|---|
Efficiency | Typescript code must be efficient, reusable, and modular. Code must be complexity of less than 10. |
Security & Governance | Code must enforce security policies, governance standards, and rollback scenarios. |
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
export async function fetchAllRepos(): Promise<Type.RepoData[]> { | |
const repos: Type.RepoData[] = []; | |
let page = 1; | |
const perPage = 500; | |
while (true) { | |
console.log(blue(`Fetching page ${page}...`)); | |
const response = await fetch( | |
`https://api.github.com/orgs/${ORG_NAME}/repos?per_page=${perPage}&page=${page}`, |
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 bash | |
set -euo pipefail | |
# Requirements: curl, jq, sqlite3 | |
# Usage: ./download_gists.sh <github_token> <output_db> | |
GITHUB_TOKEN="$1" | |
DB_FILE="$2" |
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
// deno-fmt-ignore | |
const wasmCode = new Uint8Array([ | |
0, 97, 115, 109, 1, 0, 0, 0, 1, 133, 128, 128, 128, 0, 1, 96, 0, 1, 127, | |
3, 130, 128, 128, 128, 0, 1, 0, 4, 132, 128, 128, 128, 0, 1, 112, 0, 0, | |
5, 131, 128, 128, 128, 0, 1, 0, 1, 6, 129, 128, 128, 128, 0, 0, 7, 145, | |
128, 128, 128, 0, 2, 6, 109, 101, 109, 111, 114, 121, 2, 0, 4, 109, 97, | |
105, 110, 0, 0, 10, 138, 128, 128, 128, 0, 1, 132, 128, 128, 128, 0, 0, | |
65, 42, 11 | |
]); |
NewerOlder