Skip to content

Instantly share code, notes, and snippets.

View favoyang's full-sized avatar

Favo Yang favoyang

View GitHub Profile
ProductName;LicensePartNumber;LicenseSKUID
APP CONNECT IW;SPZA_IW;8f0c5670-4e56-4892-b06d-91c085d7004f
Microsoft 365 Audio Conferencing;MCOMEETADV;0c266dff-15dd-4b49-8397-2bb16070ed52
AZURE ACTIVE DIRECTORY BASIC;AAD_BASIC;2b9c8e7c-319c-43a2-a2a0-48c5c6161de7
AZURE ACTIVE DIRECTORY PREMIUM P1;AAD_PREMIUM;078d2b04-f1bd-4111-bbd4-b4b1b354cef4
AZURE ACTIVE DIRECTORY PREMIUM P2;AAD_PREMIUM_P2;84a661c4-e949-4bd2-a560-ed7766fcaf2b
AZURE INFORMATION PROTECTION PLAN 1;RIGHTSMANAGEMENT;c52ea49f-fe5d-4e95-93ba-1de91d380f89
DYNAMICS 365 CUSTOMER ENGAGEMENT PLAN ENTERPRISE EDITION;DYN365_ENTERPRISE_PLAN1;ea126fc5-a19e-42e2-a731-da9d437bffcf
DYNAMICS 365 FOR CUSTOMER SERVICE ENTERPRISE EDITION;DYN365_ENTERPRISE_CUSTOMER_SERVICE;749742bf-0d37-4158-a120-33567104deeb
DYNAMICS 365 FOR FINANCIALS BUSINESS EDITION;DYN365_FINANCIALS_BUSINESS_SKU;cc13a803-544e-4464-b4e4-6d6169a138fa
@favoyang
favoyang / Restart-TdxW.ps1
Created August 7, 2022 02:36
The PowerShell script to restart TdxW processes
$processes = Get-Process TdxW
foreach($process in $processes)
{
write-host Restarting: $process.MainWindowTitle
#Get the process details
$procID = $process.Id
$cmdline = (Get-WMIObject Win32_Process -Filter "Handle=$procID").CommandLine
# Kill and wait
$process.Kill()
$process.WaitForExit()
@favoyang
favoyang / README.md
Last active January 21, 2021 10:38
Monkey patch wagtailimages_tags.image tag to resolve specs from a context variable.

Monkey patch wagtailimages_tags.image tag to resolve specs from a context variable.

wagtail/wagtail#2090

Usage:

  • Place the patch file into one of your templatetags folder.
  • Load the patch after the wagtailimages_tags in your template file.
@favoyang
favoyang / plex-proxy-settings-for-scrapper.md
Last active August 17, 2025 17:48
The guideline to set up Plex to access scraper API via proxy on macOS

The Guideline to Setup Plex to Access Scraper API via Proxy on macOS

Similar questions:

This post helps you set up plex to access scraper API (thetvdb for example) via your proxy on macOS. Plex doesn't respect the system-level sock proxy (in Network settings), but it respects the HTTP_PROXY and HTTPS_PROXY variables.

---
git:
commitMessage: 'chore: release v${version}'
changelog: npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs
github:
release: true
npm: false
version: "1"
rules:
# hardreset local master with upstream
- base: master
upstream: yasirkula:master
mergeMethod: hardreset
# create pull request when local master is updated
- base: upm-convert
upstream: master
{
"tagFormat": "v${version}",
"plugins": [
["@semantic-release/commit-analyzer", { "preset": "angular" }],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", { "preset": "angular" }],
["@semantic-release/npm", { "npmPublish": false, "pkgRoot": "Packages/com.littlebigfun.semantic-release-upm-example" }],
["@semantic-release/git", {
"assets": ["Packages/com.littlebigfun.semantic-release-upm-example/package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
@favoyang
favoyang / ci.yml
Last active April 20, 2020 13:25
GitHub actions to automate semantic-release with upm branch. https://medium.com/openupm/how-to-maintain-upm-package-part-2-f352fbf5f87c#6bf4
name: CI
on:
push:
branches:
- master
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
{
"tagFormat": "v${version}",
"plugins": [
["@semantic-release/commit-analyzer", { "preset": "angular" }],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", { "preset": "angular" }],
["@semantic-release/npm", { "npmPublish": false }],
["@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
name: CI
on:
push:
branches:
- master
jobs:
release:
name: release
runs-on: ubuntu-latest
steps: