Skip to content

Instantly share code, notes, and snippets.

View lettucebo's full-sized avatar
😶

Money lettucebo

😶
View GitHub Profile
@lettucebo
lettucebo / ms-learn-lang-switch-cn.js
Last active February 4, 2024 17:18 — forked from darkthread/ms-learn-lang-switch.js
MS Learn 文件快速中英切換
// ==UserScript==
// @name 中英快速切換 - CN
// @namespace http://tampermonkey.net/
// @version 0.2
// @description MS Learn 文件中英文切換
// @author You
// @match https://learn.microsoft.com/*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=microsoft.com
// @downloadURL https://gist.githubusercontent.com/lettucebo/75f05f94b7ee2dace41b5ec06b6bf022/raw/548ae23f363124b5226d6c01181e1abe470f8574/ms-learn-lang-switch-cn.js
// @updateURL https://gist.githubusercontent.com/lettucebo/75f05f94b7ee2dace41b5ec06b6bf022/raw/548ae23f363124b5226d6c01181e1abe470f8574/ms-learn-lang-switch-cn.js
@lettucebo
lettucebo / install-vsix.ps1
Created April 22, 2021 09:05 — forked from ScottHutchinson/install-vsix.ps1
PowerShell scripts for batch installing Visual Studio extensions
# Based on http://nuts4.net/post/automated-download-and-installation-of-visual-studio-extensions-via-powershell
param([String] $PackageName)
$ErrorActionPreference = "Stop"
$baseProtocol = "https:"
$baseHostName = "marketplace.visualstudio.com"
$Uri = "$($baseProtocol)//$($baseHostName)/items?itemName=$($PackageName)"