Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@adamrofer
adamrofer / gist:6443271
Last active December 22, 2015 08:09
Install gnuradio on Debian easy
#!/bin/sh
apt-get install cmake
git clone http://git.gnuradio.org/git/gnuradio.git
wget https://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz
tar xvf Cheetah-2.4.4.tar.gz
cd Cheetah-2.4.4
./setup.py install
cd ..
wget -o boost_1_50_0.tar.gz -L http://downloads.sourceforge.net/project/boost/boost/1.50.0/boost_1_50_0.tar.gz
@adamrofer
adamrofer / gist:5809753
Created June 18, 2013 21:46
Netty 4.0.0.CR5 UDP pipeline example
public void run() throws Exception {
EventLoopGroup udpGroup = new NioEventLoopGroup();
try {
Bootstrap b = new Bootstrap();
b.group(udpGroup)
.channel(NioDatagramChannel.class)
.handler(new ChannelInitializer<DatagramChannel>() {
@Override
protected void initChannel(DatagramChannel ch) throws Exception {
ChannelPipeline p = ch.pipeline();