command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
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
// ==UserScript== | |
// @name UTM param stripper | |
// @author Paul Irish | |
// @namespace http://github.com/paulirish | |
// @version 1.2 | |
// @description Drop the UTM params from a URL when the page loads. | |
// @extra Cuz you know they're all ugly n shit. | |
// @include http*://* | |
// ==/UserScript== |
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
Call EncryptTool | |
Call DecryptTool | |
'------------------------ | |
'【 加密字符串 】 | |
'------------------------ | |
Private Function Encrypt(Plaintext) | |
Const offset = 10 | |
Const minAsc = 33 |
windows_update_toggle.bat v10.1 final
~ one script to rule them all!
~ block build upgrades and/or automatic updates without breawking Store downloads and Defender protection updates
~ there is a lot of focus on Defender updates working independently, unlike any other updates "management" solution
~ ifeo safe blocking with no destructive changes of ownership, deleting files, removing tasks, or over-blocking
~ toggle everything from the Desktop right-click context menu!
but wait, there is more:
~ hide/unhide/install update lists with counter at the Desktop right-click context menu!
Previous update toggle batch suite scripts have been overwritten on pastebin, but will still be available here:
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 10 AME BATCH Script | |
:: v2004.2021.04.01 | |
@echo off | |
pushd "%~dp0" | |
echo. | |
echo :: Checking For Administrator Elevation... | |
echo. | |
timeout /t 1 /nobreak > NUL |
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\Classes\Directory\background\shell\Command Prompt *] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\Command Prompt *\command] | |
@="cmd.exe /s /k pushd \"%V\"" | |
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
# Source: https://superuser.com/a/1201549 | |
function force-mkdir($path) { | |
if (!(Test-Path $path)) { | |
#Write-Host "-- Creating full path to: " $path -ForegroundColor White -BackgroundColor DarkGreen | |
New-Item -ItemType Directory -Force -Path $path | |
}} | |
function Takeown-Registry($key) { |
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 PowerShell script to restore the right to set your desktop wallpaper when a group policy blocked it. | |
# Must be executed as administrator. | |
# Automates the steps described at http://neuralfibre.com/paul/it/how-to-block-your-corporate-wallpaper-in-windows | |
Set-StrictMode -Version 2.0 | |
function enable-privilege { | |
param( | |
## The privilege to adjust. This set is taken from |
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
REM ---------------------------------------------------------------------------------------------------------- | |
REM ### Apps and app suggestions | |
REM ---------------------------------------------------------------------------------------------------------- | |
REM TITLE: Turn Off Automatic Installation of Suggested Apps in Windows 10 | |
REM LINK: https://www.tenforums.com/tutorials/68217-turn-off-automatic-installation-suggested-apps-windows-10-a.html | |
REM OPTIONS: 0x00000001=On, 0x00000000=Off | |
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V "SilentInstalledAppsEnabled" /T "REG_DWORD" /D "0x00000000" /F 1>NUL 2>&1 |
NewerOlder