Skip to content

Instantly share code, notes, and snippets.

View mkozjak's full-sized avatar

Mario Kozjak mkozjak

View GitHub Profile
#include <QtCore>
#include <QTcpServer>
#include <QTcpSocket>
#include <QHostAddress>
#include "../../lib/external/http-parser/http_parser.h"
class Srv
{
public:
brew install --HEAD neovim
==> Installing neovim from neovim/neovim
==> Cloning https://github.com/neovim/neovim.git
Cloning into '/Library/Caches/Homebrew/neovim--git'...
remote: Counting objects: 2040, done.
remote: Compressing objects: 100% (1894/1894), done.
remote: Total 2040 (delta 160), reused 1422 (delta 127), pack-reused 0
Receiving objects: 100% (2040/2040), 7.45 MiB | 902.00 KiB/s, done.
Resolving deltas: 100% (160/160), done.
Checking connectivity... done.
package main
import (
_ "code.google.com/p/gcfg"
"code.google.com/p/go.net/ipv4"
_ "encoding/json"
"fmt"
_ "io/ioutil"
"net"
_ "net/http"