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
| # Script Paths | |
| $env:Path -split ";" | |
| # Module Paths | |
| $env:PSModulePath -split ";" |
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
| function Get-DownloadFolderPath() { | |
| $SHGetKnownFolderPathSignature = @' | |
| [DllImport("shell32.dll", CharSet = CharSet.Unicode)] | |
| public extern static int SHGetKnownFolderPath( | |
| ref Guid folderId, | |
| uint flags, | |
| IntPtr token, | |
| out IntPtr lpszProfilePath); | |
| '@ |
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
| $files = Get-Item * -Stream Zone.Identifier -ErrorAction SilentlyContinue | ForEach-Object {$_.Filename} | |
| Unblock-File $files |
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
| Get-Help Unblock-File -Parameter * | Where-Object pipelineinput -Like 'true*' |
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
| 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 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
| <?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 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
| 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 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
| REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 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
| powershell.exe iex \"& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI\" |
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
| <!-- | |
| 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 | | |
| +-------+-------+ +---------------+ |
NewerOlder