Skip to content

Instantly share code, notes, and snippets.

View Noxivs's full-sized avatar

Noxivs Noxivs

  • Toulouse, France
View GitHub Profile
@Noxivs
Noxivs / main.rs
Last active August 29, 2015 13:59
simple tcp server
use std::io::net::ip::{Ipv4Addr, SocketAddr};
use std::io::net::tcp::{TcpListener, TcpStream};
use std::io::{Acceptor, Listener, IoResult};
struct Client {
stream: TcpStream
}
@Noxivs
Noxivs / CompilableTree.cs
Created October 22, 2013 16:57
Compiled tree written in C#.Net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Trees
{
public class CompilableTree<TKey, TValue>
{
protected readonly CompilableTree<TKey, TValue> _parent;