This file contains 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
function Clean-Solution { | |
param ([string]$path) | |
Write-Host "Removing bin from: $path" | |
Get-ChildItem $path -include bin -recurse | Remove-Item | |
Write-Host "Removing obj from: $path" | |
Get-ChildItem $path -include obj -recurse | Remove-Item | |
} |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<config> | |
<clear /> | |
<add key="repositoryPath" value="[PackagesPath]" /> | |
<add key="globalPackagesFolder" value="[PackagesPath]" /> | |
</config> | |
</configuration> |
This file contains 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
from datetime import datetime | |
import os | |
import sqlite3 | |
import time | |
import aranet4 | |
NUM_RETRIES = 10 | |
DEVICES = { | |
'bedroom': 'xx:xx:xx:xx:xx:xx' |
This file contains 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
REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1 |
This file contains 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
powershell.exe iex \"& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI\" |
This file contains 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
<!-- | |
via https://pastebin.com/NBkccE7B | |
Add this to your openbox rc.xml | |
inside <keyboard></keyboard> | |
+-------+-------+ +---------------+ | |
| ALT+q | ALT+e | | ALT+w | | |
+-------+-------+ +---------------+ | |
| ALT+z | ALT+c | | ALT+x | | |
+-------+-------+ +---------------+ |
This file contains 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
Windows Registry Editor Version 5.00 | |
; Open files | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code] | |
@="Edit with VS Code" | |
"Icon"="C:\\Program Files\\Microsoft VS Code\\Code.exe,0" | |
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command] | |
@="\"C:\\Program Files\\Microsoft VS Code\\Code.exe\" \"%1\"" | |
; This will make it appear when you right click ON a folder | |
; The "Icon" line can be removed if you don't want the icon to appear | |
[HKEY_CLASSES_ROOT\Directory\shell\vscode] |
This file contains 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
#runs-on: windows-latest | |
# steps: | |
# - uses: actions/checkout@v3.5.2 # https://github.com/marketplace/actions/checkout | |
- name: Get Head Commit Message | |
id: get_head_commit | |
shell: pwsh | |
run: | | |
$Message = git log --format=%B -n 1 HEAD | |
Write-Output "title=$($Message | Select -First 1)" >> $Env:GITHUB_OUTPUT | |
Write-Output "body=$($Message | Select -Skip 1)" >> $Env:GITHUB_OUTPUT |
This file contains 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
lxrun /uninstall /full` | |
lxrun /install` |
This file contains 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
<Frame> | |
<Frame.Content> | |
<Page/> | |
</Frame.Content> | |
</Frame> |
NewerOlder