Skip to content

Instantly share code, notes, and snippets.

View rodolfoap's full-sized avatar

Rodolfo Alcazar Portillo rodolfoap

View GitHub Profile
FROM ubuntu:noble
WORKDIR /app
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y python3 python3-pip python3-venv python3-dev libavdevice-dev libavfilter-dev libopus-dev libvpx-dev pkg-config libopencv-dev
RUN python3 -m venv venv
ENV PATH="/app/venv/bin:$PATH"
RUN /app/venv/bin/pip install aiohttp==3.9.5 aioice==0.9.0 aiortc==1.8.0 aiosignal==1.3.1 opencv-python==4.9.0.80
local gpgGroup = vim.api.nvim_create_augroup("customGpg", { clear = true })
vim.api.nvim_create_autocmd({ "BufReadPre", "FileReadPre" }, {
pattern = "*.gpg",
group = gpgGroup,
callback = function()
-- Make sure nothing is written to shada file while editing an encrypted file.
vim.opt_local.shada = nil
-- We don't want a swap file, as it writes unencrypted data to disk
vim.opt_local.swapfile = false