Skip to content

Instantly share code, notes, and snippets.

Befzz Befzz

  • Russia, Saint-Petersburg
Block or report user

Report or block Befzz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Befzz / emacs-fwdpar.gif
Last active Aug 5, 2016
Emacs forward paragraph with hide-show support
Befzz / setup_display_timeout.cmd
Last active Jan 29, 2016
Turn off display shortcut. Windows cmd.
View setup_display_timeout.cmd
:: Setup ::
:: 1. [Download ZIP] ::
:: 2. Unpack ::
:: 3. Run setup_display_timeout.cmd ::
:: 4. Use "Display Sleep!" link. ::
:: What script do ::
View udp_stress.js
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;
Befzz / task_setup.cmd
Last active Aug 29, 2015
Window 7+ SCHTASKS example. BATCH
View task_setup.cmd
REM Отключаем эхо
REM включаем поддержку !имя! чтобы получать не старые значения переменных
Setlocal EnableDelayedExpansion
REM название задачи
SET task_name=my_own_task
REM проверяем первый аргумент
Befzz / save_2mics.cmd
Last active Jan 29, 2016
FFMPEG merge two microphones to file (windows)
View save_2mics.cmd
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================
Befzz / upnp.js
Last active Aug 29, 2015 — forked from acacio/upnp.js
View upnp.js
/* 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
You can’t perform that action at this time.