Skip to content

Instantly share code, notes, and snippets.

Heroes of Might and Magic 3 - Install Guide

Buy and install the game

  • Don't buy the game on steam! The steam version is incompatible, inferior and more expensive. Head over to gog.com instead: https://www.gog.com/en/game/heroes_of_might_and_magic_3_complete_edition
  • Install the game, but do NOT install it to a system directory (like C:\Program Files (x86)\...). Use a directory where files can be changed without escalated permissions, for example C:\Games.

Get the necessary mods

We need the hd+ mod: https://sites.google.com/site/heroes3hd/

@wesselsd
wesselsd / tournament_report.html
Created April 29, 2024 18:21
two_moons_rocks
<style>
.dimiTable {
width: 70%;
border: 2px solid black;
}
.dimiTable th {
border: 2px solid black;
background-color: #DDD;
}
@wesselsd
wesselsd / main.py
Created April 22, 2024 17:35
kreis hemr nid gern
from abc import ABC, abstractmethod
from typing import List
class Character:
"""
char = Character()
weaponswap = WeaponSwap()
char.cast(weaponswap)
import requests
from bs4 import BeautifulSoup
url = "https://support.goto.com/meeting/help/allowlisting-and-firewall-configuration"
webpage = requests.get(url).text
soup = BeautifulSoup(webpage, 'html.parser')
# want to match this one: <div class="section" id="inroom_link">
start = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
print(start)
# no action
print([element for element in start])
# replace each element with 100
print([100 for element in start])
data = {'region': 'APAC', 'location': 'Tianjin', 'ip_address': '221.122.91.0/24', 'manual_multivip': None,
'proxy_hostname': 'tsn1.sme.zscaler.net', 'gre_virtual_ip': '221.122.91.32', 'svpn_address': None,
'vpn_hostname': 'tsn1-vpn.zscaler.net', 'id': 84, 'notes': [{'id': 1, 'title': 'Not in Gateway'},
{'id': 4, 'title': 'Regional Surcharge'}]}
# region
# location
# ip_address
# gre virtual ip
# used
class IPAddress:
import time
import requests
import json
import pprint
url = 'https://api.config.zscaler.com/api/getdata/zscaler.net/all/cenr'
response = requests.get(url)
data = response.json()
from pprint import pprint
import requests
url = 'https://api.config.zscaler.com/api/getdata/zscaler.net/all/cenr'
data = requests.get(url).json()
atlanta = data['data'][6]['body']['json']['rows'][2]['cols'][0]
results = [] # example: [{'ip': '136.226.2.0/23', 'ready': True}, {'ip': '104.129.204.0/23', 'ready': False}]
from pprint import pprint
import requests
url = 'https://api.config.zscaler.com/api/getdata/zscaler.net/all/cenr'
data = requests.get(url).json()
atlanta = data['data'][6]['body']['json']['rows'][2]['cols'][0]
# pprint(atlanta)
data = {
"changeNumber": 235,
"cloud": "Public",
"values": [{
"name": "ActionGroup",
"id": "ActionGroup",
"properties": {
"changeNumber": 22,
"region": "",
"regionId": 0,