Skip to content

Instantly share code, notes, and snippets.

View fire's full-sized avatar

K. S. Ernest (iFire) Lee fire

View GitHub Profile
@fire
fire / premake4.lua
Created October 22, 2011 09:43 — forked from zao/premake4.lua
Horror, oh the horror! premake4.
solution "brigade"
configurations { "Debug", "Release" }
location "build"
defines {
"WIN32",
"_WIN32_WINNT=0x0600",
"_CRT_SECURE_NO_WARNINGS=1",
"_SCL_SECURE_NO_WARNINGS=1",
"_WINDOWS",
@fire
fire / gist:6416474
Last active December 22, 2015 04:19
CMakeList.txt for CZMQ
cmake_minimum_required(VERSION 2.8)
if(COMMAND cmake_policy)
if(POLICY CMP0005)
cmake_policy(SET CMP0005 NEW) # automatic quoting of brackets
endif(POLICY CMP0005)
if(POLICY CMP0011)
# we do want the includer to be affected by our updates,
# since it might define project-global settings.
cmake_policy(SET CMP0011 OLD)
@fire
fire / annex-downloader.md
Last active August 29, 2015 14:00
Epic Annex Downloader Spec

Annex downloader

THESE INSTRUCTIONS DO NOT WORK

Source instructions

This is a work in progress. The instructions may not work or may damage your system.

  1. if !(git and git annex accessible) Download into AppData and install git and git annex.
  2. git clone https://github.com/fire/UnrealEngine.git
  3. git checkout 4.1-annex
  4. git submodule init to initialize your local configuration file
// Shambler[Bishop author
// Hack for accessing private members in various Engine classes
// This template, is used to link an arbitrary class member, to the GetPrivate function
template<typename Getter, typename Getter::Member Member> struct AccessPrivate
{
friend typename Getter::Member GetPrivate(Getter InGetter)
{
return Member;
@fire
fire / gist:9f2ad31338e1cddbb004
Last active August 29, 2015 14:01
One day, you can do server side MMO
Fri 16 May 2014 05:03:00 PDT
<NeiloGD> I'll leave server side MMO tech to iFire.
<iFire> :o
<NeiloGD> iFire: one day, you can do that for me. I'll do client.
  1. Create git user

    groupadd git

     sudo useradd \
     -s /bin/bash \
     -c 'git version control' \
     -g git\
     -d /home/git -m git
    
@fire
fire / gist:04cf1a594fd3ff87a6ab
Last active August 29, 2015 14:01
Haskell setup on smartos
#Install smartos 14Q01.
pkgin in haskell-platform
# https://stackoverflow.com/questions/23432510/cabal-install-1-20-0-0-fails-to-install-on-os-x
cabal install cabal-1.20.0.0 cabal-install-1.20.0.0 --bindir=$HOME/bin
@fire
fire / .gitignore
Last active April 5, 2019 23:31
.gitignore ue4
# Unreal 4 project ignores
# git annex add --include-dotfiles .
/Binaries
/DerivedDataCache
/Intermediate
/Saved
*.opensdf
*.sdf
@fire
fire / rails-discourse.xml
Last active April 19, 2017 11:40
Smartos install of discourse