I hereby claim: * I am dysinger on github. * I am dysinger (https://keybase.io/dysinger) on keybase. * I have a public key ASDMMch6YxkkEjt19XNX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: dockerfile; -*- | |
############################################################################### | |
# TO RUN: 1ST REGISTER THE MULTIARCH/QEMU-USER-STATIC IMAGE | |
# docker run --rm --privileged multiarch/qemu-user-static:register \ | |
# --reset --credential yes | |
############################################################################### | |
# THEN: PASS AN ARGUMENT TO 'docker build' TO DETERMINE THE TARGET ARCHITECTURE | |
# docker build --build-arg IMAGE=multiarch/debian-debootstrap:armhf-stretch | |
# docker build --build-arg IMAGE=multiarch/debian-debootstrap:arm64-stretch | |
############################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get upgrade -y | |
apt-get dist-upgrade -y | |
apt-get install -y subversion build-essential pkg-config cmake hamlib-dev libsamplerate0-dev libsndfile1-dev libspeexdsp-dev libwxgtk3.0-dev portaudio19-dev | |
cd /usr/local/src | |
svn co https://svn.code.sf.net/p/freetel/code/freedv-dev/ | |
mkdir /usr/local/src/freedv-dev/build | |
cd /usr/local/src/freedv-dev/build | |
cmake .. | |
make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
cat >Dockerfile<<\EOF | |
FROM ubuntu:16.10 | |
RUN apt-get update | |
RUN apt-get -y install build-essential git ruby-dev | |
RUN gem install fpm | |
ENV NETWORK_MANAGER_L2TP 1.2.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
-- stack --resolver lts-6 --install-ghc runghc --package lens --package thyme --package vector-space | |
import Data.Thyme hiding (seconds) | |
import Data.Thyme.Format.Human | |
import Data.AffineSpace | |
import Data.VectorSpace | |
seconds, minutes, hours, days, weeks :: Rational -> NominalDiffTime | |
seconds n = fromSeconds n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
> -- stack --resolver lts-6 --install-ghc runghc --package classy-prelude --package lens --package wreq | |
Blah Blah words about this single file executable README goes here. | |
> {-# LANGUAGE DeriveAnyClass #-} | |
> {-# LANGUAGE DeriveGeneric #-} | |
> {-# LANGUAGE NoImplicitPrelude #-} | |
> {-# LANGUAGE OverloadedStrings #-} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env stack | |
-- stack --resolver lts-6 --install-ghc runghc --package criterion --package turtle --package wreq | |
{-# LANGUAGE OverloadedStrings #-} | |
import qualified Control.Foldl as Fold | |
import Control.Lens ((^.)) | |
import Control.Monad (when) | |
import Data.ByteString.Lazy (hPut) | |
import Data.Maybe (fromMaybe) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AVAILABLE | AB4CI | |
---|---|---|
AVAILABLE | AB4CK | |
AVAILABLE | AB4SE | |
AVAILABLE | AB4SH | |
AVAILABLE | AC1DS | |
AVAILABLE | AC1NG | |
AVAILABLE | AD0LF | |
AVAILABLE | AD1EU | |
AVAILABLE | AD3LA | |
AVAILABLE | AD3LE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 1. place this in ~/.emacs.d/private/intero/packages.el | |
;; 2. add intero, syntax-checking and auto-completion to your | |
;; ~/.spacemacs layer configuration & remove the haskell layer | |
;; if you were using that before | |
;; 3. make sure you have stack installed http://haskellstack.org | |
;; 4. fire up emacs & open up a stack project's source files |