Skip to content

Instantly share code, notes, and snippets.

View oz's full-sized avatar
💀
not today

Arnaud Berthomier oz

💀
not today
View GitHub Profile
@oz
oz / tmux.conf
Created December 20, 2010 15:00
My tmux.conf as of 2010/20/12
# General config:
# ---------------
setw -g utf8 on
set -g lock-after-time 1800
set-window-option -g automatic-rename off
set -g default-terminal screen
# Look & feel:
# ------------
# Panes colors
##
# A very straightforward (and ugly :p) translation of mustache.js to
# coffee-script. 'should get faster by using CS's list comprehensions
# too! -- oz
#
# Generate mustache.js with: with coffee -c mustache.coffee
# Then clone janl's mustache.js, and run "rake spec" against the
# generated version.
# Current window object in DOM
@oz
oz / btscan.rb
Created October 20, 2009 10:07
# Simple bluetooth scan with IOBluetooth (macruby)
framework 'appkit'
framework 'IOBluetooth'
# IOBluetoothInquiryDelegate
class EventHandler
def deviceInquiryStarted(sender)
puts "Searching for devices..."
end
@oz
oz / blop.pl
Created June 17, 2009 22:36
Quick irc bot that pipes everything it receives on a TCP port to IRC.
#!/usr/bin/env perl
use strict;
use warnings;
use POE qw< Component::Server::TCP Component::IRC >;
# irc config
my @channels = ("#test");
my $irc_nick = 'blop';
my $irc_name = 'blop the bot';