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
| # syntax = docker/dockerfile:1.0-experimental | |
| FROM golang:1.22-alpine as BUILD | |
| # ARG NETRCPASSWORD | |
| # ENV NETRCPASSWORD "${NETRCPASSWORD}" | |
| # ENV GOPRIVATE "github.com/example/*" | |
| ENV GOOS "linux" | |
| ENV GOVCS "*:all" |
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
| #!/bin/bash --posix | |
| # -*- Coding: UTF-8 -*- # | |
| # -*- System: Linux -*- # | |
| # -*- Usage: *.* -*- # | |
| # See Bash Set-Options Reference Below | |
| set -euo pipefail # (0) | |
| set -o xtrace # (6) |
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
| #!/bin/bash --posix | |
| # -*- Coding: UTF-8 -*- # | |
| # -*- System: Linux -*- # | |
| # -*- Usage: *.* -*- # | |
| # Author: Jacob Sanders (GitHub - Segmentational) | |
| # See Bash Set-Options Reference Below |
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
| find . -name "node_modules" -type "d" -exec "rm -rf {} || true" \; | |
| find . -name "*.js" -type "f" -exec rm -f {} \; | |
| find . -name "*.js.map" -type "f" -exec rm -f {} \; | |
| find . -name "*.d.ts" -type "f" -exec rm -f {} \; | |
| find . -name "*.ts.map" -type "f" -exec rm -f {} \; | |
| find . -name "*.d.ts.map" -type "f" -exec rm -f {} \; |
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
| import Cryptography from "crypto"; | |
| /*** | |
| * @example | |
| * void (async () => { | |
| * const parent = new Abstract("root"); | |
| * | |
| * const child = new Abstract("child-1", parent); | |
| * | |
| * new Abstract("child-3", child); |
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
| ; For reference, every programming language's package-manager | |
| ; has a similar *.*rc (dot-rc) related setup (few exceptions | |
| ; include Go, C, etc.) | |
| ; | |
| ; Defaults := $ npm config ls --list | |
| ; -> $ npm config ls --json | |
| fund = false | |
| cache = ~/.npm |
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
| import * as Network from "net"; | |
| /*** | |
| * @module Test | |
| * | |
| * **TSC Configuration** | |
| * | |
| * ```json | |
| * { | |
| * "compilerOptions": { |
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
| import Utility from "util"; | |
| process.argv = [...process.argv, "hello", "--debug", "--secrets-manager=local-azure-test", "another", "--key", "value", "--debug"]; | |
| class Arguable extends String { | |
| position?: number; | |
| original?: string; | |
| constructor(value: string | Arguable) { | |
| super(value); |
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
| /*** | |
| * Prompting Users for Input should be Easy... | |
| * | |
| * The following package is established with zero dependencies, and only | |
| * uses the node.js standard library. | |
| * | |
| * As such, context should be kept to devDependencies, and should never | |
| * be attempted to be used within a browser. | |
| * | |
| * Simply prompt the user for input at a given "key", and after a response, |
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
| import * as Mock from "@faker-js/faker"; | |
| function Generation() { | |
| const { git } = Mock.faker; | |
| const { address } = Mock.faker; | |
| const { color } = Mock.faker; | |
| const { company } = Mock.faker; | |
| const { database } = Mock.faker; | |
| const { hacker } = Mock.faker; | |
| const { image } = Mock.faker; |