Skip to content

Instantly share code, notes, and snippets.

View korzhyk's full-sized avatar
🇺🇦
Making code

Andrii Korzh korzhyk

🇺🇦
Making code
View GitHub Profile
@korzhyk
korzhyk / File_DXE_driver_Setup_1.18.0.ffs.0.0.en-US.ifr.txt
Created August 23, 2023 15:08
DELL OptiPlex 5060 MFF BIOS Setup section dumped&extracted
This file has been truncated, but you can view the full file.
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"
@korzhyk
korzhyk / 30-netassist
Last active April 8, 2023 09:28
NetAssist :: IPv6 Tunnel Broker auto update client IPv4 on OpenWRT
#!/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
@korzhyk
korzhyk / 50-tun-routes
Last active November 3, 2022 17:21
OpenWRT using WireGuard VPN tunnel for banned networks.
#!/bin/sh
REPO_URL=https://zaborona.help/ips.txt
log() {
logger -t ipset "$1"
}
apply_table() {
local ipset
local target
@korzhyk
korzhyk / DontShowUI.reg
Last active January 11, 2021 20:33
DayZ Standalone server startup script
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting]
"DontShowUI"=dword:00000001
@korzhyk
korzhyk / run.sh
Created October 22, 2019 14:36
macOS allow HiDPI on non Apple certificated displays
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
@korzhyk
korzhyk / README.md
Created August 27, 2018 15:26
Raspberry Pi3 Shutdown button with LED indicator

Installation

  1. Put shutdown_button.py 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!

Misc

@korzhyk
korzhyk / tl-wr1043nd.md
Last active June 20, 2018 20:56
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
@korzhyk
korzhyk / bash.sh
Created March 8, 2018 14:04
Allow cap traffic without root previleges
sudo setcap cap_net_raw,cap_net_admin=eip /path/to/execute/binary
@korzhyk
korzhyk / nginx.conf
Last active March 9, 2017 19:18
nginx rtmp config for streamers
user www-data;
group www-data;
worker_processes 1;
events {
worker_connections 512;
}
http {
@korzhyk
korzhyk / Online Torrent.bat
Created February 9, 2017 16:48
Simple batch file for peerflix
@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