Skip to content

Instantly share code, notes, and snippets.

View yuliu's full-sized avatar

Yu 'noyle' Liu yuliu

View GitHub Profile
@yuliu
yuliu / ttfb.sh
Created June 12, 2021 17:30 — forked from sandeepraju/ttfb.sh
curl command to check the time to first byte
#!/bin/bash
# file: ttfb.sh
# curl command to check the time to first byte
# ** usage **
# 1. ./ttfb.sh "https://google.com"
# 2. seq 10 | xargs -Iz ./ttfb.sh "https://google.com"
curl -o /dev/null \
-H 'Cache-Control: no-cache' \
-s \
<?php
/**
* MyBB 1.8 plugin: Share Misc
* Website: https://github.com/yuliu/...
* License: https://github.com/yuliu/.../blob/master/LICENSE
* Copyright Yu 'noyle' Liu, All Rights Reserved
*
*/
// Make sure we can't access this file directly from the browser.
@yuliu
yuliu / windows10activation
Created October 14, 2019 12:49
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH