Skip to content

Instantly share code, notes, and snippets.

FROM izone/amdgpu
LABEL maintainer="mishan"
LABEL description="ethminer + AMDGPU/OpenCL in Docker"
RUN apt-get update && apt-get -y --no-install-recommends install make cmake ocl-icd-opencl-dev git mesa-common-dev gcc g++ build-essential
WORKDIR /tmp/
### XXX: cmake / hunter busted download link
@mishan
mishan / k8-linux-install.md
Last active March 20, 2019 07:24
how to install single node k8 on Linux for dev

Linux installation

Creating a single-node Kubernetes cluster on Linux. For developers that use Linux on their desktop.

Install Docker

Install Docker. On Debian, you may install the docker.io package from Debian or docker-ce from Docker.

Install Kubernetes

Install kubeadm (https://kubernetes.io/docs/setup/independent/install-kubeadm/)

Initialize a cluster

@mishan
mishan / td-agent.conf
Created March 30, 2017 19:50
Logging nginx-rtmp to fluentd
<source>
@type tail
format /^(?<ip>([0-9]{1,3}\.?){4}) \[(?<time>[^\]]+)\] (?<message>.*)$/
time_format %d/%B/%Y:%H:%M:%S %z
tag nginx-rtmp.access
path /logs/access.log
</source>
<source>
@type tail

Keybase proof

I hereby claim:

  • I am mishan on github.
  • I am misha (https://keybase.io/misha) on keybase.
  • I have a public key whose fingerprint is A063 B99A 2BD3 2D48 F2D7 8E68 0F27 4D21 948F 8F06

To claim this, I am signing this object: