Skip to content

Instantly share code, notes, and snippets.

@ohkeenan
ohkeenan / homm3_cheat.c
Last active May 8, 2017 12:12
Oldie HoMM3 unlimited walk & free castle buildings with hotkeys
/* HoMM3 version unknown - offsets are probably different in the HoMM3 Complete GoG
so don't bother. They're easy to find though with a memory searcher (Tsearch, Artmoney, CheatEngine, etc.)
This was made around 2002 and it's pretty basic but feel free to use it anyway */
#include <iostream>
#include <windows.h>
using namespace std;
bool f5tog = true;
bool f6tog = true;
int main ()
#!/bin/bash
# Download the required yum packages
yum install -y gcc glibc glibc-common gd gd-devel net-snmp net-snmp-devel net-snmp-utils make xinetd
# Add the Icinga User and Groups
/usr/sbin/useradd -m icinga
# Create the Icinga Directory
mkdir -p /usr/local/icinga/etc
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static