Skip to content

Instantly share code, notes, and snippets.

View awnion's full-sized avatar
🦀
🦀

Sergei Blinov awnion

🦀
🦀
View GitHub Profile

C++

from here

#ifndef ANALOGLITERALS_HPP
#define ANALOGLITERALS_HPP

namespace analog_literals {

typedef unsigned int uint;
@awnion
awnion / fp_or_not_fp.md
Last active May 1, 2022 15:24
FP or not FP
@awnion
awnion / Dockerfile
Last active July 3, 2023 18:31
Python clean slim app docker file
# syntax=docker/dockerfile:1.5.2
##
## Python clean slim app docker file
##
FROM python:3.11.4-slim-bullseye as builder
## RUN apt install here

Install curl with HTTP/3 support on MacOS Arm64

brew rm -f curl
brew tap cloudflare/homebrew-cloudflare
brew install cloudflare/cloudflare/curl
brew unlink curl && brew link --force curl

Also, you might need to remove rust because it's better to have rust installed via default installer.