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
enum PRTGUnit { | |
BytesBandwidth | |
BytesMemory | |
BytesDisk | |
Temperature | |
Percent | |
TimeResponse | |
TimeSeconds | |
Custom | |
Count |
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
"gitProjectManager.baseProjectsFolders": [ | |
"%HOME%\\git" | |
] |
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
{ | |
"key": "ctrl+enter", | |
"command": "editor.action.insertLineAfter", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+enter", | |
"command": "task.new", | |
"when": "editorTextFocus && editorLangId == 'todo'" | |
} |
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 Stop-ProcessUsingWMI | |
{ | |
[CmdletBinding(SupportsShouldProcess=$True)] param( | |
[parameter(mandatory=$true)] [regex] $pattern | |
) | |
foreach ($process in Get-WmiObject Win32_Process | | |
where { $_.Name -match $pattern }) | |
{ | |
if ($PSCmdlet.ShouldProcess( | |
"process $($process.Name) " + |
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
2016-07-01 14:22:03,533 [INFO ] - ============================================================ | |
2016-07-01 14:22:03,548 [INFO ] - Chocolatey v0.9.10.2 | |
2016-07-01 14:22:03,564 [DEBUG] - Chocolatey is running on Windows v 10.0.10586.0 | |
2016-07-01 14:22:03,564 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old". | |
2016-07-01 14:22:03,564 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old". | |
2016-07-01 14:22:03,564 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install -y blitzrechnen34 | |
2016-07-01 14:22:03,579 [DEBUG] - Received arguments: install -y blitzrechnen34 | |
2016-07-01 14:22:03,611 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage. | |
2016-07-01 14:22:03,626 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers... | |
2016-07-01 14:22:03,626 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed... |
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
$SFTCode = @" | |
[DllImport("kernel32")] public static extern uint EnumSystemFirmwareTables (uint FirmwareTableProviderSignature, IntPtr pFirmwareTableBuffer, uint BufferSize); | |
[DllImport("kernel32")] public static extern uint GetSystemFirmwareTable (uint FirmwareTableProviderSignature, uint FimrwareTableID, IntPtr pFirmwareTableBuffer, uint BufferSize); | |
"@ | |
$SFT = Add-Type -MemberDefinition $SFTCode -Name "SFTKlasse" -Language CSharp -UsingNamespace "System.Reflection", "System.Diagnostics", "System.Collections.Generic" -PassThru | |
# 0×41435049=ACPI ? https://github.com/michaelforney/coreboot/blob/master/src/include/cbmem.h |