Skip to content

Instantly share code, notes, and snippets.

@bartku
bartku / gist:1059394
Created July 1, 2011 21:04
.zshrc for FreeBSD
setopt AUTO_CD
setopt PRINT_EXIT_VALUE
setopt HIST_IGNORE_ALL_DUPS
HISTFILE=~/.zshhistfile
HISTSIZE=1500
SAVEHIST=1500
zstyle ':completion:*' completer _complete _ignored
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=* r:|=*'
/*=============================================================================
UCC.cpp: Unreal command-line launcher.
Copyright 1997-1999 Epic Games, Inc. All Rights Reserved.
Revision history:
* Created by Tim Sweeney.
=============================================================================*/
#if WIN32
#include <windows.h>
@bartku
bartku / gist:1046488
Created June 25, 2011 13:31
Logs functions names called by ProcessRemoteFunction
#include "stdafx.h"
#include <detours.h>
#include <tchar.h>
#pragma comment(lib, "detours.lib")
#pragma comment(lib, "detoured.lib")
// ?ProcessRemoteFunction@AActor@@UAEHPAVUFunction@@PAXPAUFFrame@@@Z
// public: virtual int __thiscall AActor::ProcessRemoteFunction(class UFunction *,void *,struct FFrame *)