Skip to content

Instantly share code, notes, and snippets.

View dybber's full-sized avatar
👋

Martin Dybdal dybber

👋
View GitHub Profile
@dybber
dybber / gist:b4e76a2720ffeeb3a29b
Created September 26, 2014 11:23
InstagraML chess board
fun chess idim =
let val dim = Real.fromInt idim
fun rep3 v = (v,v,v)
fun chess' (ii, ij) =
let val (i,j) = (Real.fromInt ii,
Real.fromInt (idim-ij))
val s = 3.0/(j+99.0)
in (Real.round((i+dim)*s+j*s) mod 2 +
Real.round((dim*2.0-i)*s+j*s) mod 2)*127
end
; Hide certain messages from channel tracking
(setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT" "MODE"))
; Hide these messages from all buffers
(setq erc-hide-list '("JOIN" "PART" "QUIT"))
(defun set-empty-hide-list-eggsml ()
(if (equal "#eggsml" (buffer-name))
(set (make-local-variable 'erc-hide-list) '())))
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
<channel>
<title>PGM videos</title>
<item><title>1.1.1-Intro-overview.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4</link><enclosure type="video/mp4" url="http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4" /></item>
<item><title>1.1.2-intro-distributions.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4</link><enclosure type="video/mp4" url="http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4" /></item>
<item><title>1.1.2-intro-distributions.mp4</title><link>http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4</link><enclosure t
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.1-Intro-overview.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.2-intro-distributions.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.3-intro-indep.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/1.1.4-intro-factors.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.1-Repn-BN-semantics.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.2-Repn-BN-patterns.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.3-Repn-BN-activetrails.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.4-Repn-BNs-dsep.mp4
http://openclassroom.stanford.edu/MainFolder/courses/ProbabilisticGraphicalModels/videos/2.1.5-Repn-B