Install Webfontools from Homebrew:
brew tap bramstein/webfonttools
brew update
brew install sfnt2woff-zopfli
brew tap bramstein/webfonttools
brew update
brew install sfnt2woff-zopfli
# https://github.com/tiangolo/fastapi/issues/258#issuecomment-495975801 | |
from typing import List | |
from fastapi import FastAPI | |
from starlette.responses import HTMLResponse | |
from starlette.websockets import WebSocket, WebSocketDisconnect | |
app = FastAPI() |
A quick guide on how to setup X11 forwarding on macOS when using docker containers requiring a DISPLAY. Works on both Intel and M1 macs!
This guide was tested on:
For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well as Jemalloc 3.
Then, one day, hope appeared on the horizon. @wjordan offered a config for Jemalloc 5.
FROM ruby:3.1.2-bullseye
RUN apt-get update ; \