This file contains hidden or 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
#!/usr/bin/env bash | |
currentDirectory=$(wslpath -w .) | |
cmd.exe /c "pushd $currentDirectory && $@" 2>/dev/null |
This file contains hidden or 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
param ( | |
[Parameter(Mandatory = $true)] | |
[string] | |
$EnvironmentScript | |
) | |
cmd /c "`"$EnvironmentScript`"&set" | ForEach-Object { | |
if ($_ -match '=') { | |
$vars = $_.split('=') | |
Set-Item -Force -Path "env:$($vars[0])" -Value "$($vars[1])" |
This file contains hidden or 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
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $true)] | |
[bool] | |
$FollowMouse, | |
[Parameter(Mandatory = $true)] | |
[bool] | |
$RaiseWindows, | |
[Parameter(Mandatory = $true)] | |
[uint] |
This file contains hidden or 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
#!/usr/bin/env sh | |
curl -LJFO https://github.com/microsoft/Git-Credential-Manager-Core/releases/download/v2.0.289-beta/gcmcore-linux_amd64.2.0.289.48418.tar.gz | |
tar xf gcmcore-linux_amd64.2.0.289.48418.tar.gz | |
sudo mv git-credential-manager-core /usr/local/bin/ | |
git config --global credential.credentialStore secretservice | |
git config --global credential.helper /usr/local/bin/git-credential-manager-core |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import os | |
import sys | |
vscodes = sys.argv[1:] | |
plugins = [ | |
'aaron-bond.better-comments', | |
'bierner.markdown-mermaid', |
This file contains hidden or 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
#!/usr/bin/env sh | |
# Instructions modified from https://github.com/CatxFish/obs-v4l2sink | |
git clone --recursive https://github.com/obsproject/obs-studio.git | |
git clone https://github.com/CatxFish/obs-v4l2sink.git | |
cd obs-v4l2sink | |
mkdir build && cd build |