Snippets Collections
setx SENDGRID_API_KEY the_key_you_copied_from_SendGrid
#
# Edit this file: 
#
#  C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\Preferences
#
# and add this text before last "}":
#
#  "protocol_handler":{
#  "excluded_schemes":{
#    "<custom protocol>":false
#  }}
#

## chrome_no_prompt_custom_url:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\ProtocolExecute\rp3]
"WarnOnOpen"=dword:00000000
for ($num = 1 ; $num -le 10 ; $num++) { mkdir "your-prefix-$num"}
Start-Process powershell.exe -verb runAs -ArgumentList '-NoExit', '-Command', 'cd <PATH>'
@ECHO OFF
ECHO Delete Folder: %CD%?
PAUSE
SET FOLDER=%CD%
CD /
DEL /F/Q/S "%FOLDER%" > NUL
RMDIR /Q/S "%FOLDER%"
EXIT
$WshShell = New-Object -comObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut("$Home\Desktop\Windows Terminal.lnk")
$Shortcut.TargetPath = "$env:LOCALAPPDATA\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe\wt.exe"
$Shortcut.Save()
 
$bytes = [System.IO.File]::ReadAllBytes("$Home\Desktop\Windows Terminal.lnk")
$bytes[0x15] = $bytes[0x15] -bor 0x20 #set byte 21 (0x15) bit 6 (0x20) ON
[System.IO.File]::WriteAllBytes("$Home\Desktop\Windows Terminal.lnk", $bytes)
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
sudo apt-get -y install xfce4 && sudo apt-get -y install xubuntu-desktop

sudo apt-get -y install xrdp

echo xfce4-session > ~/.xsession

sudo service xrdp restart

ifconfig | grep inet

<i>Then connect to the IP the is returned by the last command</i>

<img src="https://adamtheautomator.com/wp-content/uploads/2019/09/windows-subsystem-linux-gui.png"></img>
LOG=nightly-`date '+%Y-%m-%d_%H:%M:%S'`.log

rsync -av --delete --exclude '$RECYCLE.BIN' --exclude 'System\ Volume\ Information' --exclude 'found.000' --exclude 'Recovery' $SOURCE $DESTINATION | tee ~/logs/$LOG
@echo off
title Activate Windows 10 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Windows 10 Home&echo - Windows 10 Professional&echo - Windows 10 Education&echo - Windows 10 Enterprise&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&set i=1&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >nul||cscript //nologo slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 >nul||cscript //nologo slmgr.vbs /ipk YYVX9-NTFWV-6MDM3-9PT4T-4M68B >nul||cscript //nologo slmgr.vbs /ipk 44RPN-FTY23-9VTTB-MP9BX-T84FV >nul||cscript //nologo slmgr.vbs /ipk WNMTR-4C88C-JK8YV-HQ7T2-76DF9 >nul||cscript //nologo slmgr.vbs /ipk 2F77B-TNFGY-69QQF-B8YKP-D69TJ >nul||cscript //nologo slmgr.vbs /ipk DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ >nul||cscript //nologo slmgr.vbs /ipk QFFDN-GRT3P-VKWWX-X7T3R-8B639 >nul||cscript //nologo slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D >nul||cscript //nologo slmgr.vbs /ipk 92NFX-8DJQP-P6BBQ-THF9C-7CG2H >nul&goto skms) else wmic os | findstr /I "home" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 >nul||cscript //nologo slmgr.vbs /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM >nul||cscript //nologo slmgr.vbs /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH >nul||cscript //nologo slmgr.vbs /ipk PVMJN-6DFY6-9CCP6-7BKTT-D3WVR >nul&goto skms) else wmic os | findstr /I "education" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul||cscript //nologo slmgr.vbs /ipk 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ >nul&goto skms) else wmic os | findstr /I "10 pro" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul||cscript //nologo slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul||cscript //nologo slmgr.vbs /ipk NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J >nul||cscript //nologo slmgr.vbs /ipk 9FNHH-K3HBT-3W4TD-6383H-6XYWF >nul||cscript //nologo slmgr.vbs /ipk 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y >nul||cscript //nologo slmgr.vbs /ipk YVWGF-BXNMC-HTQYQ-CPQ99-66QFC >nul&goto skms) else (goto notsupported)
:skms
if %i% GTR 10 goto busy
if %i% EQU 1 set KMS=kms7.MSGuides.com
if %i% EQU 2 set KMS=s8.uk.to
if %i% EQU 3 set KMS=s9.us.to
if %i% GTR 3 goto ato
cscript //nologo slmgr.vbs /skms %KMS%:1688 >nul
:ato
echo ============================================================================&echo.&echo.&cscript //nologo slmgr.vbs /ato | find /i "successfully" && (echo.&echo ============================================================================&echo.&echo #My official blog: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [Y,N]?" & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto skms)
explorer "http://MSGuides.com"&goto halt
:notsupported
echo ============================================================================&echo.&echo Sorry, your version is not supported.&echo.&goto halt
:busy
echo ============================================================================&echo.&echo Sorry, the server is busy and can't respond to your request. Please try again.&echo.
:halt
pause >nul
0x92AFDb35eF1bea00954944426AD46dA2ba11A134
net user admin *password* && net user Administrator *password*
ip addr | grep eth0 | grep inet | awk '{print $2}' | awk -F '/' '{print $1}' | awk '{printf "%s:3000", $0}' | clip.exe
star

Sun Apr 07 2024 04:19:30 GMT+0000 (Coordinated Universal Time) https://docs.openinterpreter.com/getting-started/setup

#windows #powershell
star

Wed Jan 04 2023 00:05:39 GMT+0000 (Coordinated Universal Time) https://docs.sendgrid.com/ui/account-and-settings/api-keys

#windows
star

Wed Sep 21 2022 20:38:16 GMT+0000 (Coordinated Universal Time) undefined

#powershell #windows #sql #pwsh
star

Mon Aug 29 2022 16:23:56 GMT+0000 (Coordinated Universal Time)

#windows #navigation
star

Wed Jun 01 2022 12:50:48 GMT+0000 (Coordinated Universal Time)

#powershell #mkdir #windows
star

Wed Jun 01 2022 12:49:06 GMT+0000 (Coordinated Universal Time)

#powershell #mkdir #windows
star

Wed Feb 02 2022 21:37:35 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/43494863/start-process-workingdirectory-as-administrator-does-not-set-location

#windows #powershell
star

Wed Feb 02 2022 21:35:23 GMT+0000 (Coordinated Universal Time) https://pureinfotech.com/delete-large-folder-fast-windows-10/

#windows #batch #cmd
star

Wed Feb 02 2022 21:34:40 GMT+0000 (Coordinated Universal Time) https://pureinfotech.com/delete-large-folder-fast-windows-10/

#windows #batch
star

Wed Feb 02 2022 21:32:02 GMT+0000 (Coordinated Universal Time) https://superuser.com/questions/1560049/open-windows-terminal-as-admin-with-winr/1560192

#powershell #windows #cmd
star

Sun Jan 23 2022 11:52:23 GMT+0000 (Coordinated Universal Time) https://ubuntu.com/tutorials/ubuntu-on-windows#1-overview

#wsl #wsl2 #windows #powershell #terminal #commands
star

Tue Jan 04 2022 01:24:10 GMT+0000 (Coordinated Universal Time) https://xwordpress.org

#bash #windows #wsl #wsl2 #gui
star

Mon Jan 03 2022 23:14:30 GMT+0000 (Coordinated Universal Time) https://spin.atomicobject.com/2019/05/18/smb-self-hosting-rsync/

#bash #windows
star

Sun Dec 05 2021 01:06:47 GMT+0000 (Coordinated Universal Time) https://msguides.com/windows-10

#windows #10
star

Sat Dec 04 2021 04:46:43 GMT+0000 (Coordinated Universal Time)

#windows #cli
star

Thu Dec 02 2021 19:23:06 GMT+0000 (Coordinated Universal Time)

#windows #cli
star

Fri Dec 27 2019 13:19:35 GMT+0000 (Coordinated Universal Time) https://dev.to/codeluggage/today-i-wrote-a-handy-little-snippet-to-easily-access-ubuntu-from-windows-in-wsl2-19l

#commandline #interesting #windows #ubuntu #linux

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension