Skip to content

Instantly share code, notes, and snippets.

View findo's full-sized avatar


  • JP
  • Shanghai China
View GitHub Profile
findo / 2048.c
Last active August 29, 2015 14:23 — forked from justecorruptio/2048.c
M[16],X=16,W,k;main(){T(system("stty cbreak")
]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d
puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2
findo /
Created March 5, 2016 01:38 — forked from pichuang/
Create Fat Tree Topology
#!/usr/bin/env python
from import Mininet
from mininet.node import Controller, RemoteController
from mininet.cli import CLI
from mininet.log import setLogLevel, info
from import Link, Intf, TCLink
from mininet.topo import Topo
from mininet.util import dumpNodeConnections
import logging