Skip to content

Instantly share code, notes, and snippets.

View octonion's full-sized avatar
🏠
Working from home

Christopher D. Long octonion

🏠
Working from home
View GitHub Profile
@octonion
octonion / xorg-edgers_PPA.sh
Last active August 29, 2015 14:14
CUDA/gputools install: adding xorg-edgers PPA
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get install nvidia-346
@octonion
octonion / topspin.gap
Last active December 20, 2015 06:19
GAP code for solving the Binary Arts TopSpin puzzle.
g:=Group((1,4)(2,3)(22,21),(2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,1));
f:=FreeGroup("x","y");
hom:=GroupHomomorphismByImagesNC(f,g,GeneratorsOfGroup(f),GeneratorsOfGroup(g));
PreImagesRepresentative(hom,(1,2));
PreImagesRepresentative(hom,(21,22));