Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am childsish on github.
  • I am liam_childs (https://keybase.io/liam_childs) on keybase.
  • I have a public key ASDAO3GOwthNmfdntkvG0ukCueo0N5ZakiXXn1Nrzr3tTAo

To claim this, I am signing this object:

@childsish
childsish / mordheim.ps1
Last active July 8, 2018 05:46
A simple Powershell save game backup script to cheese Mordheim: City of the Damned
$Process = @(Get-CimInstance Win32_Process -Filter "Name='powershell.exe' AND CommandLine LIKE '%mordheim.ps1%'")
if ($Process.Count -gt 1) {
exit
}
Add-Type -Name Window -Namespace Console -MemberDefinition '
[DllImport("Kernel32.dll")]
public static extern IntPtr GetConsoleWindow();
[DllImport("user32.dll")]
@childsish
childsish / CMakeLists.txt
Created January 3, 2017 21:11
Compiling igraph with CMake
INCLUDE(CheckCSourceCompiles)
INCLUDE(CheckFunctionExists)
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
cmake_minimum_required(VERSION 3.6)
project(igraph)
set(CMAKE_CXX_STANDARD 11)
set(VERSION "0.7.1")