Skip to content

Instantly share code, notes, and snippets.

View istathar's full-sized avatar

Andrew Cowie istathar

View GitHub Profile
--
-- Unshipping Docker
--
-- Copyright © 2014 Anchor Systems, Pty Ltd and Others
--
-- The code in this file, and the program it is a part of, is
-- made available to you by its authors as open source software:
-- you can redistribute it and/or modify it under the terms of
-- the 3-clause BSD licence.
--
@istathar
istathar / mps
Created September 29, 2015 02:21
A more useful set of options for `ps`
#!/bin/sh
exec ps -o user,pid,pcpu,pmem,rsz:8,vsz:8,etime:12,bsdtime,nlwp:2=NT,ucmd --sort='cputime' "$@"
@istathar
istathar / TypeAlias.hs
Created August 22, 2017 02:05
Type alias for exporting a Diagram
type Drawing b n =
( V b ~ V2
, N b ~ n
, Typeable n
, RealFloat n
, Renderable (Path V2 n) b
, Renderable (Text n) b
) => QDiagram b (V b) (N b) Any