Skip to content

Instantly share code, notes, and snippets.

Avatar

Perry E. Metzger pmetzger

View GitHub Profile
View config
(package-initialize)
(put 'downcase-region 'disabled nil)
;;;; Find OCaml location
(setq ocaml-version
(substring
(shell-command-to-string "opam var switch") 0 -1))
View keybase.md

Keybase proof

I hereby claim:

  • I am pmetzger on github.
  • I am pmetzger (https://keybase.io/pmetzger) on keybase.
  • I have a public key ASCWugpyoAuvY5Uqym5wYawi0F99fochxxtseyA238SQRgo

To claim this, I am signing this object:

@pmetzger
pmetzger / postprocess.ml
Created May 4, 2018
Quick postprocessing hack to replace arrows with SVG
View postprocess.ml
open Soup
let fmt = Printf.sprintf
let back_arrow = {|<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
</svg>|}
let up_arrow = {|<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
@pmetzger
pmetzger / versions.txt
Created Apr 20, 2018
List of latest versions of packages on opam that still refer to ocamlforge
View versions.txt
agrep/agrep.1.0
archimedes/archimedes.0.4.18
batteries/batteries.2.8.0
benchmark/benchmark.1.4
bes/bes.0.9.4.2
bitcoin/bitcoin.2.0
blahcaml/blahcaml.2.1
bookaml/bookaml.4.0
calendar/calendar.2.03.2
camlbz2/camlbz2.0.6.0
You can’t perform that action at this time.