Skip to content

Instantly share code, notes, and snippets.

View jlitewski's full-sized avatar

JLitewski jlitewski

View GitHub Profile
@jlitewski
jlitewski / FindLibnotify.cmake
Created March 13, 2012 00:17
Find the Libnotify libraries (cmake 2.8 module)
# Find the Libnotify libraries
# This module will find the libnotify library, and do some
# sanity checking (making sure things compile, version checking,
# dependancy checking, etc). Libnotify requires the GTK Library (GTK2 or GTK3) and glib Library (GLIB2)
# This requires cmake => 2.8 to work correctly
# @Author: Jacob "HACKhalo2" Litewski
# @Version: 1.0
@jlitewski
jlitewski / chunk_prototype.c
Created September 22, 2011 03:16
CraftD rapid prototype
static
bool
cdsurvival_SendChunk (CDServer* server, SVPlayer* player, SVChunkPosition* coord)
{
DO {
SVPacketPreChunk pkt = {
.response = {
.position = *coord,
.mode = true
}