Skip to content

Instantly share code, notes, and snippets.

View chrstphrbrns's full-sized avatar

Christopher Burns chrstphrbrns

View GitHub Profile
@chrstphrbrns
chrstphrbrns / sudoku.jl
Last active February 28, 2020 22:50
Random Sudoku board
using Random
let z = randperm(9)
[z[1 + ((i + div(i, 3) + div(j, 3)) % 3) * 3 + ((j + div(i, 3) + div(j, 3)) % 3)] for i in 0:8, j in 0:8]
end

Keybase proof

I hereby claim:

  • I am chrstphrbrns on github.
  • I am cburns (https://keybase.io/cburns) on keybase.
  • I have a public key whose fingerprint is 09FB 7150 0E01 BB5A BB60 888E 343A 01C3 B7ED 30F0

To claim this, I am signing this object: