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
/** | |
* @namespace AJAXHelper | |
*/ | |
var AJAXHelper = (() => { | |
const HTTP_STATUS_OK = 200; // status 200 is a successful return. | |
const XHR_READY_STATE_DONE = 4; // readyState 4 means the request is done. | |
/** | |
* Makes a POST request to the server and returns any result to the caller. | |
* @param {!string} url POST URL |
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 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] | |
"EditionID"="Core" | |
"ProductName"="Windows 10 Home" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion] | |
"EditionID"="Core" | |
"ProductName"="Windows 10 Home" |
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 CompileCSS { | |
param ( | |
$DestStyle | |
) | |
$srcLESSPath = $PSScriptRoot + "\style.less" | |
$destCSSPath = $PSScriptRoot + "\style.css" | |
$currStyleName | |
$destStyleName |
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
# run as Administrator! | |
# set the PowerShell execution policy as unrestricted: Set-ExecutionPolicy unrestricted | |
# after running, restore the execution policy: Set-ExecutionPolicy restricted | |
function RemoveApps { | |
# credit to https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-default-apps.ps1 | |
Write-Output "Uninstalling default apps" | |
$apps = @( | |
# default Windows 10 apps |