- Put
shutdown_button.py
to/usr/local/bin/
- Put
shutdown_button.service
to/etc/systemd/system/
- Enable service
systemctl enable shutdown_button.service
- Start service
systemctl start shutdown_button.service
- Enjoy!
This file has been truncated, but you can view the full file.
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
Program version: 1.5.1, Extraction mode: UEFI | |
FormSet Guid: 7B59104A-C00D-4158-87FF-F04D6396A915, Title: "Setup", Help: "Setup" | |
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: Class, Class: 0x1 | |
Guid Guid: 0F0B1735-87A0-4193-B266-538C38AF48CE, ExtendedOpCode: SubClass, SubClass: 0x0 | |
DefaultStore DefaultId: 0x0, Name: "" | |
DefaultStore DefaultId: 0x1, Name: "" | |
VarStore Guid: EC87D643-EBA4-4BB5-A1E5-3F3E36B20DA9, VarStoreId: 0x1, Size: 0x1949, Name: "Setup" | |
VarStore Guid: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C, VarStoreId: 0x2, Size: 0x2, Name: "PlatformLang" | |
VarStore Guid: 8BE4DF61-93CA-11D2-AA0D-00E098032B8C, VarStoreId: 0x3, Size: 0x2, Name: "PlatformLangCodes" | |
VarStore Guid: E770BB69-BCB4-4D04-9E97-23FF9456FEAC, VarStoreId: 0x4, Size: 0x1, Name: "SystemAccess" |
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
#!/bin/sh | |
update_tunnel_broker() { | |
local wan_ip | |
local username | |
local password | |
local proto | |
local tunnelid | |
config_get proto $1 proto | |
config_get tunnelid $1 tunnelid |
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
#!/bin/sh | |
REPO_URL=https://zaborona.help/ips.txt | |
log() { | |
logger -t ipset "$1" | |
} | |
apply_table() { | |
local ipset | |
local target |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting] | |
"DontShowUI"=dword:00000001 |
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 defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true |
###1. Connect RS232 serial (USB)
###2. Install OSX drivers NoZAP Drivers
###3. Configure tftp server Ubuntu:
# apt-get install dnsmasq
# /etc/init.d/dnsmasq stop # Debian automatically starts it as a daemon, so I stop it
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 setcap cap_net_raw,cap_net_admin=eip /path/to/execute/binary |
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
user www-data; | |
group www-data; | |
worker_processes 1; | |
events { | |
worker_connections 512; | |
} | |
http { |
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
@ECHO off | |
SET link=%1 | |
if '%link%'=='' ( | |
ECHO Please enter magnet or torrent file link: | |
set /p link= | |
) | |
START /B peerflix %link% -r -f Z:\TEMP --mpchc |
NewerOlder