Skip to content

Instantly share code, notes, and snippets.

The OAuth Bible

I tried to make this as understandable as possible for any party reading it which means that the wording, references, and terminology used may not reflect that of a technical paper or resource. Excuse me if you may for I wish all to understand this, and not just those with a degree in understanding legal or technical jargon.

Table Of Contents

  1. Reference
    1. Terminology
    2. Signed Requests
  2. OAuth 1.0a
@jayrgee
jayrgee / README.md
Created August 24, 2023 23:02 — forked from noamtamim/README.md
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

@jayrgee
jayrgee / xunit.code-snippets
Last active May 27, 2024 02:31
xunit code snippets for vs code
{
// https://code.visualstudio.com/docs/editor/userdefinedsnippets
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
@jayrgee
jayrgee / gist:c07155170e06a50d77d43d663cd1d815
Created December 24, 2022 04:19 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@jayrgee
jayrgee / mermaid.md
Last active November 6, 2023 13:23
@jayrgee
jayrgee / powershell-selenium45-select.ps1
Last active October 16, 2022 11:31
Get Selected Option value with Selenium 4.5
$url = "file:///C:/Users/jrg/code/powershell/ps-selenium/html/select.html"
$pathWebDriver = Join-Path $PSScriptRoot "WebDriver"
Import-Module (Join-path $pathWebDriver "WebDriver.dll")
Import-Module (Join-path $pathWebDriver "WebDriver.Support.dll")
$edgeOptions = New-Object OpenQA.Selenium.Edge.EdgeOptions
$edgeOptions.AddArgument("log-level=3")
@jayrgee
jayrgee / powershell-selenium-edgedriver.ps1
Last active October 9, 2022 11:26
powershell-selenium-edgedriver.ps1
$url = "https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/"
$linkText = "x64"
# $url = "https://www.nuget.org/packages/Selenium.WebDriver"
# $linkText = "Download package"
$pathWebDriver = Join-Path $PSScriptRoot "WebDriver"
$pathDownloads = Join-Path $PSScriptRoot "downloads"
$pathSnapshots = Join-Path $PSScriptRoot "snapshots"
@jayrgee
jayrgee / tetrodes_pentodes.sub
Created October 28, 2021 13:15 — forked from chanmix51/tetrodes_pentodes.sub
LTSpice models for vacuum tubes
*--------------------------------------------------------------------------
* Model generated by Motega software:
*
* Modeling Of Tubes Employing Genetic Algorithms
*
* Models contain 1G resistors from all nodes to earth in order to avoid
* floating nodes. Triode and tetrode/pentode models contain a diode for
* simulating grid current.
*
* Non-commercial use is permitted, but at your own risk... This model