Skip to content

Instantly share code, notes, and snippets.

View imochoa's full-sized avatar
🥑
=^._.^= ∫

IMO imochoa

🥑
=^._.^= ∫
View GitHub Profile
@imochoa
imochoa / json-schema-viewer.md
Last active September 22, 2022 09:49
json-schema-viewer

JSON Schema viewer

Using json-schema-viewer to explore schemas

If you already have schemas, that's great. If you have OpenAPI specs instead of dealing with schemas you can follow the next section

(Optional) Get your schemas from OpenAPIv3 Specifications

A) Reference OpenAPI Specification

@imochoa
imochoa / parent_path.sh
Last active October 5, 2021 11:48
POSIX parent directory path
# https://unix.stackexchange.com/questions/76505/portable-way-to-get-scripts-absolute-path
currpath=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)/$(basename -- "$0")")
currdirname=$(dirname $currpath)
currfilename=$(basename $currpath)
# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
# Black 0;30 Dark Gray 1;30
# Red 0;31 Light Red 1;31
# Green 0;32 Light Green 1;32
@imochoa
imochoa / base.skin
Created August 15, 2017 12:12 — forked from Sythelux/base.skin
basic skin template for plantuml skins
skinparam Activity {
ArrowColor
ArrowFontColor
ArrowFontName
ArrowFontSize
ArrowFontStyle
BackgroundColor
BarColor
BorderColor
BorderThickness