Skip to content

Instantly share code, notes, and snippets.

View dvejmz's full-sized avatar
🐧
Page faults left and right

David Jimenez dvejmz

🐧
Page faults left and right
View GitHub Profile
@dvejmz
dvejmz / mandelbrot.go
Created April 29, 2017 21:38
Mandelbrot fractal implementation in Go as described in The Go Programming Language, Kernighan et al.
package main
import (
"image"
"image/color"
"image/png"
"math"
"math/cmplx"
"os"
)
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"