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
# https://raspberrypi.stackexchange.com/questions/117632/turn-off-external-leds-on-raspberry-pi-3 | |
# check model | |
cat /sys/firmware/devicetree/base/model | |
# Raspberry Pi 3 Model B Rev 1.2 | |
# Disable Power (red) and Activity (yellow) leds | |
sudo nano /etc/rc.local | |
# Add the following lines before `exit 0`: | |
sudo sh -c 'echo none > /sys/class/leds/led0/trigger' |
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
Online kms host address: | |
-------- | |
kms.digiboy.ir | |
54.223.212.31 | |
kms.cnlic.com | |
kms.chinancce.com | |
kms.ddns.net | |
franklv.ddns.net | |
k.zpale.com | |
m.zpale.com |
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
wrk.method = "POST" | |
local f = io.open("data.json", "r") | |
wrk.body = f:read("*all") | |
wrk.headers["Content-Type"] = "application/json" | |
wrk.headers["Host"] = "foo.bar.net" | |
local counter = 1 | |
local threads = {} |
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
/* | |
Code to paste and run in the Browser Console | |
Requires devtools.chrome.enabled => true in about:config | |
Tested in Firefox 68.0.1 on Windows | |
*/ | |
// Create references to APIs we'll use | |
var ss = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService); | |
var io = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService); | |
var ds = Cc["@mozilla.org/file/directory_service;1"].getService(Ci.nsIProperties); |
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
Online kms host address: | |
-------- | |
kms.digiboy.ir | |
54.223.212.31 | |
kms.cnlic.com | |
kms.chinancce.com | |
kms.ddns.net | |
franklv.ddns.net | |
k.zpale.com | |
m.zpale.com |
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
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
sudo iptables-save |