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
openapi: 3.0.0 | |
info: | |
title: Fiscal Service API | |
description: API for accessing fiscal data from the U.S. Treasury, including operating cash balance, deposits and withdrawals, public debt transactions, and more. | |
version: 1.0.0 | |
servers: | |
- url: https://api.fiscaldata.treasury.gov | |
paths: | |
/services/api/fiscal_service/v1/accounting/dts/operating_cash_balance: | |
get: |
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
openapi: 3.0.0 | |
info: | |
title: FRED API | |
description: | | |
API for accessing economic data from the Federal Reserve Economic Data (FRED) | |
and Archival Federal Reserve Economic Data (ALFRED) databases, provided by | |
the Federal Reserve Bank of St. Louis. | |
version: 1.0.0 | |
servers: | |
- url: https://api.stlouisfed.org |
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 fs from 'fs' | |
import YAML from 'yaml' | |
const PasswordPresentRe = /(password=.+)&/; | |
const HasuraRootPath = `../standard-cloud-demo/metadata`; | |
const metdataString = fs.readFileSync(`${HasuraRootPath}/databases/databases.yaml`, 'utf8') | |
const metadata = YAML.parse(metdataString) | |
console.log() | |
console.log(`🔍 Checking Hasura Metadata for passwords in connection strings...\n`) |
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/bash | |
set -e | |
echo "" | |
echo "" | |
echo "Setting bash shell customizations for Raspian or Ubuntu-server based Pi's" | |
echo "LET'S GO NOW!!" | |
function file.fetch () { | |
SOURCE=$1 |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
################################################################## | |
# Load all custom shell data from their own files | |
# | |
if [ -f ~/.bash_sources ]; then | |
. ~/.bash_sources | |
fi |
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
# ------------------------------------ | |
# Exports and aliases | |
# ------------------------------------ | |
export CONTAINERS_HOME=$HOME/containers | |
export CONTAINER_HOME=$CONTAINERS_HOME | |
export JQ_EXPR_UNIQUE_DOCKER_COMPOSE_RELATIVE_PATH_VOLUMES='with_entries(.value |= .volumes) | to_entries | map(.value) | flatten | map (. | try split(":")) | map(.[0] ) | map(. | select(. | startswith("/") | not)) | unique | .[]' |
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
if [ -f ~/.bash_functions ]; then | |
. ~/.bash_functions | |
fi | |
if [ -f ~/.bash_exports ]; then | |
. ~/.bash_exports | |
fi | |
if [ -f ~/.bash_prompt ]; then |
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
{ | |
"name": "__NAME__", | |
"description": "Description of something or other", | |
"version": "0.1.0", | |
"main": "./dist/index.js", | |
"types": "./dist/index.d.ts", | |
"private": false, | |
"license": "UNLICENSED", | |
"files": ["dist/**/*"], | |
"publishConfig": { |
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
{ | |
"compilerOptions": { | |
"pretty": true, | |
"target": "esnext", | |
"module": "commonjs", | |
"lib": ["esnext"], | |
"declaration": true, | |
"outDir": "dist", | |
// "noEmit": true, | |
"strict": true, |
NewerOlder