Active Windows 11 Pro
# Open Powershell/Command Prompt as administrator
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms s8.uk.to
slmgr /ato| <!-- : Begin batch script | |
| @setlocal DisableDelayedExpansion | |
| @set uivr=v45 | |
| @echo off | |
| :: ### Configuration Options ### | |
| :: change to 1 to enable debug mode (can be used with unattended options) | |
| set _Debug=0 | |
| :: change to 0 to turn OFF Windows or Office activation processing via the script |
| @echo off | |
| title Activate Windows 11 (ALL versions) for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Windows 11 Home&echo - Windows 11 Professional&echo - Windows 11 Education&echo - Windows 11 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 WNMTR-4C88C-JK8YV-HQ7T2-76DF9 >nul&cscript //nologo slmgr.vbs /ipk 2F77B-TNFGY-69QQF-B8YKP-D69TJ |
| import aws_assume_role_lib # https://github.com/benkehoe/aws-assume-role-lib | |
| account_role_name = "YOUR_ACCOUNT_ROLE_NAME_HERE" # TODO: put your role name here | |
| management_account_session = boto3.Session() | |
| # if you're using AWS SSO in your management account and there's a specific role for this work, you could use aws-sso-lib | |
| # https://github.com/benkehoe/aws-sso-util/blob/master/lib/README.md | |
| # management_account_session = aws_sso_lib.get_boto3_session(start_url, sso_region, management_account_id, management_role_name, region=sso_region) | |
| orgs = management_account_session.client('organizations') |
| # AWS S3 bucket for static hosting | |
| resource "aws_s3_bucket" "website" { | |
| bucket = "${var.website_bucket_name}" | |
| acl = "public-read" | |
| tags { | |
| Name = "Website" | |
| Environment = "production" | |
| } |
| #!/bin/vbash | |
| # | |
| # Script for Ubiquiti devices to find the fastest NordVPN OpenVPN | |
| # server and switch your current VPN tunnel over to it fairly | |
| # seamlessly | |
| # | |
| # COUNTRY_ID=38 # Canada | |
| # COUNTRY_ID=228 # USA | |
| # COUNTRY_ID=140 # Mexico | |
| IP_PROTOCOL=udp |
| """ | |
| When run in cron, automatically adds compliant alias names to local DNS. | |
| Use at your own risk. | |
| Patrick Fuller, 25 June 17 | |
| """ | |
| import re | |
| import paramiko | |
| import pymongo |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Launches a Jenkins server.", | |
| "Parameters": { | |
| "InstanceType": { | |
| "Description": "EC2 instance type", | |
| "Type": "String", | |
| "Default": "t2.small", | |
| "AllowedValues": [ | |
| "t1.micro", |
| cat > /usr/local/SumoCollector/config/custom_sources.json << END | |
| { | |
| "api.version": "v1", | |
| "sources": [ | |
| { | |
| "sourceType": "LocalFile", | |
| "name": "JMeter Results", | |
| "pathExpression": "/home/ec2-user/results/*.jtl", | |
| "blacklist": "", | |
| "category": "jload/engine/results", |