Serving gziped connect via HTTP in golang

The builtin HTTP server in the golang standard library does not serve gziped content. However you can relatively easily add a wrapper function to compress data on the fly. The best tool to do this appears to be go.httpgzip. A basic example of its usage might look like this: For blog updates and more follow …

Connect via a SOCKS server in golang

The function below allows you to setup a SOCKS connection in golang. You should already have connected to the SOCKS server using net.Dial. The function will then send the required header to connect to the target address/port provides in address:port format. For example: conn, err = net.Dial(“tcp”, “socksproxy:8080″) err = socks_connect(conn, “hosttoconnectto:80″) You can then …

ESP8266 – esp1 PCB scans

There are some partial layout images for the esp1 but they seem incomplete. I wanted to make sure I knew exactly what was going on with this layout and as they’re so cheap decided to pull the components off a board and scan it. Actually a little pointless, as I was wondering if there was …