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 / bootstrapAdGuard.service
Last active Apr 10, 2020
AdGuardHome startup script
View bootstrapAdGuard.service
Description=Boostrap AdGuard Home service
korzhyk /
Created Oct 22, 2019
macOS allow HiDPI on non Apple certificated displays
sudo defaults write /Library/Preferences/ DisplayResolutionEnabled -bool true
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 /
Last active May 16, 2020
OpenWRT using WireGuard VPN tunnel for banned networks.
apply_table() {
local rule="$1"
local target
config_get target "$rule" target
if [ "$target" = "MARK" ]; then
local name
korzhyk /
Last active Dec 19, 2019
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 wan_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 / 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 {
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
korzhyk /
Last active Jun 20, 2018
Unbrick TL-WR1043ND

###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
You can’t perform that action at this time.