Skip to content

Instantly share code, notes, and snippets.

Working from home

Andrii Korzh korzhyk

Working from home
  • Rivne, Ukraine
Block or report user

Report or block korzhyk

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
korzhyk / DontShowUI.reg
Last active Sep 30, 2018
DayZ Standalone server startup script
View DontShowUI.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting]
korzhyk /
Created Aug 27, 2018
Raspberry Pi3 Shutdown button with LED indicator


  1. Put to /usr/local/bin/
  2. Put shutdown_button.service to /etc/systemd/system/
  3. Enable service systemctl enable shutdown_button.service
  4. Start service systemctl start shutdown_button.service
  5. Enjoy!


korzhyk / 50-unblock
Last active Aug 11, 2018
OpenWRT using VPN server for banned networks.
View 50-unblock
start() {
local tun=`ifconfig | grep tun | awk '{print $1}'`
wget -qO- "" | while read net; do
if [ "${net:0:1}" = "#" ] || [ "$net" == "" ]; then
logger -t unBlock "unlocking $net"
korzhyk / domains.txt
Last active Aug 10, 2018
List of some banned domains by Ukrainian government
View domains.txt
# This one is for testing purposes only
# All VKs storage nodes
korzhyk /
Last active Sep 20, 2018
NetAssist :: IPv6 Tunnel Broker auto update client IPv4 on OpenWRT
update_tunnel_broker() {
local cfg="$1"
local reported_ip_file="/tmp/netassist_last_ip"
local reported_ip=`cat $reported_ip_file 2> /dev/null`
local ip
local username
local password
local proto
korzhyk /
Created Mar 8, 2018
Allow cap traffic without root previleges
sudo setcap cap_net_raw,cap_net_admin=eip /path/to/execute/binary
korzhyk /
Created Mar 7, 2018
OpenWRT tee all traffic to another machine
opkg install iptables-mod-tee
iptables -A POSTROUTING -t mangle -o br-lan ! -s SOURCE_IP -p udp -j TEE --gateway DESTINATION_IP
iptables -A PREROUTING -t mangle -i br-lan ! -d SOURCE_IP -p udp -j TEE --gateway DESTINATION_IP
korzhyk / nginx.conf
Last active Mar 9, 2017
nginx rtmp config for streamers
View nginx.conf
user www-data;
group www-data;
worker_processes 1;
events {
worker_connections 512;
http {
View AppleHDAEngineOutput.log
AppleHDAEngineOutput@1B,2,1,2 <class AppleHDAEngineOutput, id 0x100000541, registered, matched, active, busy 0 (1 ms), retain 34>
AppleHDAEngineOutput@1B,2,1,3 <class AppleHDAEngineOutput, id 0x10000054d, registered, matched, active, busy 0 (1 ms), retain 33>
AppleHDAEngineOutput@1B,2,1,4 <class AppleHDAEngineOutput, id 0x100000558, registered, matched, active, busy 0 (1 ms), retain 33>
AppleHDAEngineOutput@1B,2,1,5 <class AppleHDAEngineOutput, id 0x100000566, registered, matched, active, busy 0 (3 ms), retain 23>
korzhyk / Online Torrent.bat
Created Feb 9, 2017
Simple batch file for peerflix
View Online Torrent.bat
@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
You can’t perform that action at this time.