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
:::::::::::::::::::::::::::::::::::::: | |
:: Setup :: | |
:: 1. [Download ZIP] :: | |
:: 2. Unpack :: | |
:: 3. Run setup_display_timeout.cmd :: | |
:: 4. Use "Display Sleep!" link. :: | |
:::::::::::::::::::::::::::::::::::::: | |
:::::::::::::::::::::::::::::::::::::: | |
:: What script do :: |
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
/* | |
Send 1 byte | |
to IP:[PORT_START - 65535] | |
over UDP | |
using <SOCKETS_COUNT> sockets (!!!) | |
<PORT_STEP> packets each <DELAY> milliseconds | |
starting from port <PORT_START> | |
*/ | |
var PORT_STEP = 300; |
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 | |
REM Отключаем эхо | |
REM включаем поддержку !имя! чтобы получать не старые значения переменных | |
Setlocal EnableDelayedExpansion | |
REM название задачи | |
SET task_name=my_own_task | |
REM проверяем первый аргумент |
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 | |
cd "%~dp0" | |
chcp 65001 > nul | |
SETLOCAL EnableDelayedExpansion | |
REM ============================================== | |
REM ================SET FOLDER HERE=============== | |
SET FFMPEG_FOLDER=D:\Down_Chrome\_part2\ffmpeg-20141009-git-f6777ce-win32-static\ffmpeg-20141009-git-f6777ce-win32-static\bin\bin | |
REM ================END OF OPTIONS================ |
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
/* node UPNP port forwarding PoC | |
This is a simple way to forward ports on NAT routers with UPNP. | |
This is a not-for-production hack that I found useful when testing apps | |
on my home network behind ny NAT router. | |
-satori / edited by smolleyes for freebox v6 / edited by Befzz | |
================================================================================ |