Skip to content

Instantly share code, notes, and snippets.

@jayrgee
jayrgee / Wistia-download-videos.md
Created December 2, 2025 05:21 — forked from szepeviktor/Wistia-download-videos.md
Download Wistia videos - Please do not misuse it!

Download Wistia videos

  1. right-click on the playing video, select Copy link
  2. find Wistia video ID in the copied link e.g. wvideo=tra6gsm6rl
    • alternative: look for e.g. hashedId=tra6gsm6rl in the page source
  3. load http://fast.wistia.net/embed/iframe/ + video ID in your browser
  4. look for "type":"original" in the page source and copy the URL from the next line e.g. "url":"http://embed.wistia.com/deliveries/129720d1762175bcd8e06dcab926ec76ad38ff00.bin"
  • alternative: look for "type":"hd_mp4_video"

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"