This file contains 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
# Takes the OpenAPI file | |
Param( | |
[parameter(mandatory=$true)][string]$file | |
) | |
$name = [System.IO.Path]::GetFileNameWithoutExtension($file) | |
# Converts OpenAPI to Markdown documentation | |
npm install -g widdershins | |
widdershins $file --search false --expandBody --summary -o markdown.md | |
# Converts Widdershin's markdown output to HTML, then to DocBook5 | |
pandoc markdown.md -f markdown+raw_html -t html -o html.html |
This file contains 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
// ==UserScript== | |
// @name LinkedIn No-Storytelling-Bait-Posts | |
// @version 1.0 | |
// @description Hide those annoying posts with one sentence per paragraph. | |
// @match https://www.linkedin.com/* | |
// @grant none | |
// @inject-into content | |
// ==/UserScript== | |
(function() { |
This file contains 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
# Adapted from http://json.schemastore.org/json-patch | |
components: | |
schemas: | |
patchRequest: | |
type: array | |
items: | |
oneOf: | |
- additionalProperties: false | |
required: |