Skip to content

Instantly share code, notes, and snippets.

View clarete's full-sized avatar
🌴
On vacation

Lincoln Clarete clarete

🌴
On vacation
View GitHub Profile
@clarete
clarete / libircclient.rb
Last active January 5, 2019 20:50
Brew formula to install libircclient
require 'formula'
class Libircclient < Formula
homepage 'http://www.ulduzsoft.com/linux/libircclient/'
url 'http://downloads.sourceforge.net/project/libircclient/libircclient/1.6/libircclient-1.6.tar.gz'
sha1 '10fb7a2478f6d668dce2d7fb5cd5a35ea8f53ed4'
depends_on 'pkg-config' => :build
depends_on 'autoconf' => :build
depends_on 'automake' => :build
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#elif defined(__linux__)
#include <sys/stat.h>
#include <sys/mman.h>
#endif
@clarete
clarete / robot.js
Created December 1, 2012 01:30
headlessrobot
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(100);
@clarete
clarete / gist:4012731
Created November 4, 2012 17:41
Brew formula for the iksmel library
require 'formula'
class Iksemel < Formula
homepage 'http://code.google.com/p/iksemel/'
url 'https://code.google.com/p/iksemel.git', :revision => '978b733462e41efd5db72bc9974cb3b0d1d5f6fa'
version '1.5'
depends_on 'libtool' => :build
depends_on 'gnutls'