Skip to content

Instantly share code, notes, and snippets.

View INZAME's full-sized avatar
🔥
i just want to come back...

Alexey INZAME

🔥
i just want to come back...
  • kTVCSS COMMUNITY
View GitHub Profile
@INZAME
INZAME / VXGI 2.0 Quality Blueprint
Created December 20, 2021 20:27
Just paste this to your level blueprint
Begin Object Class=/Script/BlueprintGraph.K2Node_Event Name="K2Node_Event_0"
EventReference=(MemberParent=Class'"/Script/Engine.Actor"',MemberName="ReceiveBeginPlay")
bOverrideFunction=True
NodePosX=-2080
bCommentBubblePinned=True
NodeGuid=96899AEB4BE74FF08FC660ABB45690BF
CustomProperties Pin (PinId=A15F0AC744BAD86011AC138EC6AF644B,PinName="OutputDelegate",Direction="EGPD_Output",PinType.PinCategory="delegate",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(MemberParent=Class'"/Script/Engine.Actor"',MemberName="ReceiveBeginPlay"),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=0C73050946E03400E41A32B284A647CF,PinName="then",Dir
@INZAME
INZAME / HammUEr Rebuild
Created December 8, 2021 20:32
HammUEr plugin rebuild for custom UE4 fork (for e.x. VXGI)
1. Create new UE4 project
2. Create <project_path>/Plugins folder and move HammUEr files
3. Remove <project_path>/Plugins/HammUEr/Binaries folder (just because why not)
4. (optional) add #pragma warning(disable : 4834) to <project_path>/Plugins/HammUEr/Source/HammUEr/Private/HammUErPrivatePCH.h
5. Open Command Prompt and type
cd <Custom_Build_Root_Path>/Engine/Binaries/DotNET/
UnrealBuildTool.exe Development Win64 -Project="<project_path>/<project_name>.uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
Begin Object Class=/Script/BlueprintGraph.K2Node_Event Name="K2Node_Event_0"
EventReference=(MemberParent=Class'"/Script/Engine.Actor"',MemberName="ReceiveBeginPlay")
bOverrideFunction=True
NodePosX=-4496
NodePosY=32
bCommentBubblePinned=True
NodeGuid=4672C5524C89F49CD5F1ADA00CB4013C
CustomProperties Pin (PinId=E1A01F554736C422DC566F843021F86D,PinName="OutputDelegate",Direction="EGPD_Output",PinType.PinCategory="delegate",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(MemberParent=Class'"/Script/Engine.Actor"',MemberName="ReceiveBeginPlay"),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=80085D714CF63AC0976E65AA4E9AD465,Pin
@INZAME
INZAME / ue4_tweaks.txt
Last active December 20, 2021 20:12
Unreal Engine VXGI Tweaks
(not full version)
!Set all settings to Cinematic in Settings->Engine Scalability Settings!
Tweaks for VXGI 1.0:
r.VXGI.DiffuseTracingEnable 1
r.VXGI.Range 64
r.VXGI.SpecularTracingEnable 1
r.VXGI.CombineSpecularWithSSR 1
r.VXGI.MultiBounceEnable 1
r.HBAO.Enable 1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import ipaddress
from tabulate import tabulate
def main():
my_struct = []
since = {}
with open('task.txt', 'r') as log:
import vk
from time import sleep as wait
from datetime import *
def auth(login='login_goes_here', password='password_goes_here'):
scope = 'friends, photos, audio, video, docs, notes, pages, status, wall, groups, notifications, offline'
session = vk.AuthSession(app_id=6964685, user_login=login, user_password=password, scope=scope)
api = vk.API(session, v='5.95', lang='ru')
return api
@INZAME
INZAME / bgp_mikrotik.txt
Created November 1, 2018 05:58
Basic BGP Set-up on Mikrotik
(1)Настройка маршрутизатора B2:
1. Настройка IP адресов на интерфейсах
/ip address add address=12.12.12.2/30 interface=ether5 network=12.12.12.0
/ip address add address=13.13.13.2/30 interface=ether4 network=13.13.13.0
2. Настройка BGP
2.1. Настройка AS номера (Номера автономной системы) и ID маршрутизатора
/routing bgp instance set default as=63000 router-id=2.2.2.2
@INZAME
INZAME / vlan_dhcp.txt
Last active November 1, 2018 05:55
Setup DHCP over VLANs (Mikrotik+ TP-Link)
VLAN20,30,40 TRUNK VLAN20,30,40 ACCESS
(DHCP Mikrotik)----------------------------->(TP-LINK Switch)---------------------->VLAN20_PC | VLAN20 Address: 192.168.20.1/24
ether5 g1/0/10 | g1/0/2 ACCESS | VLAN20 Pool: 192.168.20.2-192.168.20.254
|--------------------->VLAN30_PC | VLAN30 Address: 192.168.30.1/24
| g1/0/3 ACCESS | VLAN30 Pool: 192.168.30.2-192.168.30.254
|--------------------->VLAN40_PC | VLAN40 Address: 192.168.40.1/24
| g1/0/4 | VLAN40 Pool: 192.168.40.2-192.168.40.254
1. Настройка Mikrotik: