Skip to content

Instantly share code, notes, and snippets.

View Errorific's full-sized avatar

Chris Mckay Errorific

  • Brisbane, Australia
View GitHub Profile
FROM openjdk:8u181-jre-alpine3.8
ARG version
RUN apk add --update libc6-compat && \
rm -rf /var/cache/apk/*
RUN mkdir /opt
RUN wget -O /tmp/pantheon.tar.gz https://bintray.com/consensys/pegasys-repo/download_file?file_path=pantheon-$version.tar.gz && \
FROM openjdk:8u181-jre-alpine3.8
ARG version
RUN apk add --update libc6-compat && \
rm -rf /var/cache/apk/*
RUN mkdir /opt
RUN wget -O /tmp/pantheon.tar.gz https://bintray.com/consensys/pegasys-repo/download_file?file_path=pantheon-$version.tar.gz && \
@Errorific
Errorific / immutable.d.ts
Created August 11, 2016 00:48
immutable typings for redux-form
declare module 'redux-form/immutable' {
export * from 'redux-form';
}
package com.example.basicproject
import org.http4s.Request
import org.http4s.Method
import org.http4s.Headers
import org.http4s.Header
import org.http4s.Http4s._
import scalaz.concurrent.Task
object HelloWorld {
0000000 a6e8 33bd f4dc cfe7 bb4f 2a1e 9fd4 62b9
0000010 eb61 0490 81a3 4760 313c 71e0 583d 13c3
0000020 207c e2e5 2760 4891 62aa 7265 4df0 1876
0000030 c63f 2d86 3a4d 3e08 bc8a 7120 f49a c4dd
0000040 2760 57d1 0a42 c9b2 cd2f 02ca 140b c5b9
0000050 fb09 8a60 a378 cc7e 3f1a 22ff fb1a e31b
0000060 58a9 0688 f83b fc16 c1b8 0f29 7212 967a
0000070 022a 608e a18d 78b2 17ee 0c75 6c0c 4c97
0000080 a869 3af8 b918 f721 a868 adec cd1b 0a42
0000090 7de1 dc4e 9374 d753 3a90 5872 d9f5 acb9
package com.example.basicproject
import dispatch._, Defaults._
object HelloWorld {
def main(args: Array[String]) {
while(true) {
println(System.currentTimeMillis + " start")
val r = (doReq)()
println(r.take(100))
@Errorific
Errorific / bfpg-cis194-4
Last active August 29, 2015 14:01
Introduction to Haskell Chapter IV - A new hope (working title), or we are legion (ok I don't have a title yet), or Voltron
So far we have explored data types, pattern matching, and recursive
functions in our quest to achieve functional dominance, but singular
functions alone are lonely things. If only we could assemble a number
of functions together to form a super function...
This month we explore methods to compose functions together through
currying and partial application treating them as Higher-Order
functions and eventually exploring folds. Through this we can reduce
the complexity and amount of code we write in common patterns by
combining pre-made implementations with application specific code.
@Errorific
Errorific / app.js
Created November 13, 2013 03:17 — forked from jrmoran/app.js
var App = angular.module('App', []);