Skip to content

Instantly share code, notes, and snippets.

@Alkanov
Alkanov / gist:cd02d2034d4109e59c0e6f1924ee2d4b
Created June 14, 2021 14:24
Generate AdGuard Home client list
devices = """192.168.0.100,monster_server,device_other
192.168.0.169,livingroom_shield,device_other
192.168.0.224,attic_nvr,device_securityalarm
192.168.0.207,office_huebridge,device_other
100.94.125.43,g-us-fl3_server,device_other
100.116.193.39,g-us-fl4_server,device_other
"""
template = """
- name: {{%name}}
@Alkanov
Alkanov / block-tor-exit-nodes-iptables.md
Created April 22, 2020 10:15 — forked from jkullick/block-tor-exit-nodes-iptables.md
Block Tor Exit Nodes with IPTables
  1. Install ipset:
apt-get install ipset
  1. Create new ipset:
ipset create tor iphash
#region Base class multipliers
public class WarriorMultiplier
{
public static float Base_HP = 120;
public static float HP_per_STA = 15f; //current: 10
public static float HP_per_level = 5f;
public static float HP_regen_time = 5f; //this is in seconds and every HP_regen_time it will regen hp
public static float HP_regen_percent = 0.5f; //on % so 0.5%
public static float Base_MP = 40f;