This file contains hidden or 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
cscript //B "%windir%\system32\slmgr.vbs" /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX | |
cscript //B "%windir%\system32\slmgr.vbs" /skms zh.us.to | |
wscript "%windir%\system32\slmgr.vbs" /ato | |
cd "C:\Program Files (x86)\Microsoft Office\Office16" | |
cscript OSPP.VBS /sethst:zh.us.to | |
cscript OSPP.VBS /act |
This file contains hidden or 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 load jQuery and yaml on 越南商店 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://sites.google.com/view/nicsolas/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @require http://code.jquery.com/jquery-3.4.1.min.js | |
// @require https://github.com/plohoj/userscript-requirejs/releases/download/0.0.2/userscript-require.js |
This file contains hidden or 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
<?php | |
// Use HTTP Basic Authentication for verification | |
$username = 'admin'; | |
$password = 'Passw0rd!'; // Please use your own password!! | |
// Check if the client has provided correct credentials | |
if (!isset($_SERVER['PHP_AUTH_USER']) || $_SERVER['PHP_AUTH_USER'] !== $username || $_SERVER['PHP_AUTH_PW'] !== $password) { | |
// Send authentication request headers | |
header('WWW-Authenticate: Basic realm="Restricted Area"'); | |
header('HTTP/1.0 401 Unauthorized'); |
OlderNewer