Skip to content

Instantly share code, notes, and snippets.

View afr-dt's full-sized avatar
:octocat:

Alejandro Flores afr-dt

:octocat:
View GitHub Profile
# syntax=docker/dockerfile:1
FROM python:3.8-slim-buster
WORKDIR /app
ENV ACCEPT_EULA=Y
RUN apt-get update -y && apt-get update \
&& apt-get install -y --no-install-recommends curl gcc g++ gnupg unixodbc-dev
@afr-dt
afr-dt / fix-dyld-missing-symbol-called-errors-on-m1-macs.md
Created April 26, 2022 19:25 — forked from adrienjoly/fix-dyld-missing-symbol-called-errors-on-m1-macs.md
Fix `dyld[]: missing symbol called` errors when running Node.js programs on M1 Macs

Problem

If you're getting this kind of error when running Node.js programs with binary dependencies that don't support M1 yet, e.g.:

$ yarn test
dyld[51175]: missing symbol called
dyld[51176]: missing symbol called
@afr-dt
afr-dt / grpcio_apple_silicon.sh
Created October 10, 2022 22:31
grpcio install on Apple Silicon
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
pip install grpcio
@afr-dt
afr-dt / cloud-config.yaml
Last active January 18, 2025 05:35
A simple cloud config for ubuntu devops tools to local instance with multipass
#cloud-config
package_update: true
package_upgrade: true
password: root
chpasswd:
expire: false
users:
- name: ubuntu