Skip to content

Instantly share code, notes, and snippets.

@AngerM
AngerM / pyenv_36_install.md
Last active November 11, 2021 21:23
PyEnv python3 .6 install on MacOS 11.6.1 Big Sur

This was the command line I had to use to get it to install. It was trying to link against a more modern version of OpenSSL otherwise that did not work.

CFLAGS=-Wno-implicit-function-declaration CPPFLAGS="-I$(brew --prefix [email protected])/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix [email protected])/lib -Wno-implicit-function-declaration" pyenv install 3.6.15
@AngerM
AngerM / Dockerfile
Created March 23, 2021 20:54
Kotlin Build EX
FROM gradle:jdk11 as builder
RUN mkdir /workspace
RUN chown -R gradle /workspace
USER gradle
WORKDIR /workspace
COPY . /workspace
@AngerM
AngerM / Dockerfile
Last active October 21, 2020 04:02
GOLANG MODULES CGO Enabled Docker build
FROM golang:buster AS build_base
WORKDIR /go/src/app
COPY go.mod .
COPY go.sum .
ENV GO111MODULE=on
ENV GOOS=linux
ENV GOARCH=amd64
RUN go mod download
FROM build_base as builder
@AngerM
AngerM / http.go
Created October 30, 2018 03:25
High Performance Golang HTTP Client
package utils
import (
"context"
"io"
"io/ioutil"
"net"
"net/http"
"strings"
"time"

Keybase proof

I hereby claim:

  • I am angerm on github.
  • I am angermcs (https://keybase.io/angermcs) on keybase.
  • I have a public key ASCKf33MOjtp3_o81ajo42hqAWJciBiGRSpAcL4fsd2IHwo

To claim this, I am signing this object: