Skip to content

Instantly share code, notes, and snippets.

View olauzon's full-sized avatar

Olivier Lauzon olauzon

View GitHub Profile
#!/usr/bin/env ruby
# Place this script in your shell's load path
require 'rubygems'
begin
require 'highline/import'
rescue
puts "'sudo gem install highline' in your system Ruby"
end
# Generate .rvmrc file in a project directory
@guybrush
guybrush / nodeconf_2011.md
Created May 6, 2011 07:22
a list of slides from nodeconf 2011
;;; based on the discussion at https://groups.google.com/d/msg/netty/mcGswAZ5NeQ/ivG9snRSFy4J
(ns netty4.core
(:import [io.netty.bootstrap AbstractBootstrap ServerBootstrap]
[io.netty.channel ChannelFuture ChannelInitializer ChannelOption
ChannelHandlerContext ChannelInboundHandlerAdapter ChannelHandler]
[io.netty.handler.logging LogLevel LoggingHandler]
io.netty.buffer.ByteBuf
io.netty.channel.socket.SocketChannel
io.netty.channel.nio.NioEventLoopGroup