cat <<EOF | docker build --build-arg=SOURCE=https://github.com/elixir-lang/elixir/archive/master.tar.gz .
FROM alpine
ARG SOURCE
ENV SOURCE=$SOURCE
RUN apk add curl
RUN echo "building source : $SOURCE"
WORKDIR /tmp
This file contains 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
ffmpeg -i front\ end\ betslip\ validation\ session.mp4 -filter:v fps=30 -vcodec libx264 -crf 28 -preset faster -tune out.mp4 |
This file contains 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
RIJPGQMQNQIQLQKPHPHQGQKQIQIQJQCOGOCONPAPAPHPRPPPAPQPGOLPAPAPRP |
We want to read (and extract all data from) the zip archive file frequency.zip.
Erlang has built in support for reading zip archives.
The documentation is here:
We'll be using :zip.foldl/3
to itterate the file contents.
This file contains 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
# Derived from ./manifests | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: prometheus | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: ClusterRole | |
name: prometheus |
This file contains 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
version: 2 | |
jobs: | |
lint: | |
docker: | |
- image: circleci/elixir:1.10.3-node-browsers | |
steps: | |
- checkout | |
- restore_cache: | |
keys: | |
- v1-elixir-deps-cache-{{ .Branch }}-{{ checksum "mix.lock" }} |
This file contains 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
docker run --rm -it --privileged --pid=host walkerlee/nsenter -t 1 -m -u -i -n bash | |
This file contains 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
docker run --rm -it \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v $(which docker):/bin/docker \ | |
wagoodman/dive:latest $@ |
lib/transfer_resolver.csv
:
10D,1,Signed to 10-Day Contract
10D2,2,Signed to Second 10-Day Contract
ABS,3,Leave of Absence
ACT,4,Activated
BRV,5,Placed on Bereavement List
CEXP,6,Contract Expired
CEXT,,Contract Extension
NewerOlder