Skip to content

Instantly share code, notes, and snippets.

View danielcompton's full-sized avatar

Daniel Compton danielcompton

View GitHub Profile

Keybase proof

I hereby claim:

  • I am danielcompton on github.
  • I am danielcompton (https://keybase.io/danielcompton) on keybase.
  • I have a public key ASCV7Ro3qdiNLyJRnwPaDJtimVdy4UC-IcQHL1_7rxFpWgo

To claim this, I am signing this object:

@danielcompton
danielcompton / cloverage release notes.md
Created August 27, 2016 09:56
Cloverage release notes

From: https://clojurians.slack.com/archives/announce-to-everyone/p1472044031000606

There’s a new release of Cloverage out at [lvh/cloverage "1.0.7"] (It’s under my org on clojars, because I’m the new release manager — see cloverage/cloverage#103 for details). New features:

  • Features
  • Add codecov.io support with the --codecov flag (*78)
  • Add lcov (e.g. coverlay) support with the --lcov flag (#114)
  • Improvements
  • Coverage fn (internal hot loop) optimization (#90)
  • Dependency upgrades, including running tests on OpenJDK 8 (#105)
@danielcompton
danielcompton / gist:7699946
Created November 29, 2013 00:31
Meitner deps count-queue
(pprint (unfold deps 'count-queue))
{count-queue
{clojure.core/update-in
{clojure.core/apply
{clojure.core/cons {},
clojure.core/list*
{clojure.core/cons {},
clojure.core/spread
{clojure.core/cons {},
clojure.core/first {},
@danielcompton
danielcompton / jstack 8048
Last active December 29, 2015 11:29
Skuld test on mbp
(master *)$lein test
Compiling 1 source files to /Users/Daniel/Developer/clojure/skuld/target/classes
lein test skuld.claim-test
2013-11-27 07:43:47,282 INFO org.apache.zookeeper.server.ZooKeeperServerMain: Starting server
2013-11-27 07:43:47,301 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
2013-11-27 07:43:47,301 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:host.name=daniels-13-mbp
2013-11-27 07:43:47,301 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.version=1.6.0_45
2013-11-27 07:43:47,301 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.vendor=Apple Inc.
2013-11-27 07:43:47,301 INFO org.apache.zookeeper.server.ZooKeeperServer: Server environment:java.home=/Library/Java/JavaVirtualMachines/1.6.0_45-b06-451.jdk/Contents/Home
@danielcompton
danielcompton / gist:7652031
Created November 26, 2013 01:32
Skuld test
Could not find artifact net.sf.josql:josql:jar:1.5 in central (http://repo1.maven.org/maven2/)
Could not find artifact net.sf.josql:josql:jar:1.5 in clojars (https://clojars.org/repo/)
Could not find artifact net.sf.josql:josql:jar:1.5 in restlet.org (http://maven.restlet.org)
Could not find artifact net.sf.josql:josql:jar:1.5 in fusesource.m2 (http://repo.fusesource.com/maven2)
Could not find artifact net.sf.josql:gentlyweb-utils:jar:1.5 in central (http://repo1.maven.org/maven2/)
Could not find artifact net.sf.josql:gentlyweb-utils:jar:1.5 in clojars (https://clojars.org/repo/)
Could not find artifact net.sf.josql:gentlyweb-utils:jar:1.5 in restlet.org (http://maven.restlet.org)
Could not find artifact net.sf.josql:gentlyweb-utils:jar:1.5 in fusesource.m2 (http://repo.fusesource.com/maven2)
@danielcompton
danielcompton / gist:7259186
Created November 1, 2013 00:03
Azure Recovery Services
The certificate specified is not associated with any Backup Vaults.Try a different certificate.
Verify that the public key of the certificate you want to use has been uploaded to the Windows Azure Backup Vault.
ID: 34508
@danielcompton
danielcompton / gist:6882330
Created October 8, 2013 09:51
Get diff stats for a commit, don't use a pager and send to a text file.
git --no-pager diff --stat HEAD b5f7df2 > diffstat.txt
(defn checkbox [short-name takes-place? word k]
^{:key (str k "takes-place")}
[:div.col.s2
[:input.filled-in {:type "checkbox"
:id (str "weekdays-" short-name)
:checked takes-place?}]
[:label.black-text {:for (str "weekdays-" short-name)
:style {:height "auto"
:line-height "normal"}}
word (when-not takes-place? (str " nicht" (when (= k :sun) ".")))]])
(ns gol.core
(:refer-clojure :exclude [* - + == /])
(:require [clojure.core.matrix :refer :all]
[clojure.core.matrix.operators :refer :all]))
(def start [[0 0 0 0 0]
[0 0 0 0 0]
[0 0 1 0 0]
[0 0 0 0 0]
[0 0 0 0 0]]