Skip to content

Instantly share code, notes, and snippets.

View themichaelusa's full-sized avatar

Michael Usachenko themichaelusa

View GitHub Profile
@themichaelusa
themichaelusa / FAISS_Dockerfile
Last active November 7, 2023 18:32
Dockerfile set up to run FAISS via Python3
FROM python:3.10-slim-bookworm
# Set the working directory
WORKDIR /home
# Install system dependencies and Crucial Python3 packages
RUN apt-get update && apt-get install -y curl gcc g++ wget && \
curl https://sh.rustup.rs -sSf | bash -s -- -y && \
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc && \
pip3 install Cython setuptools
@themichaelusa
themichaelusa / aws-nvme-ebs-config.sh
Created July 13, 2023 20:46
Quick setup script for EBS NVME on EC2
sudo mkfs -t ext4 /dev/nvme1n1
sudo rm -rf ~/nvme
sudo mkdir ~/nvme
sudo mount /dev/nvme1n1 ~/nvme
sudo chmod -R 777 ~/nvme/
@themichaelusa
themichaelusa / keybase.md
Created May 6, 2020 00:53
KEYBASE PROOF

Keybase proof

I hereby claim:

  • I am themichaelusa on github.
  • I am 000011110000 (https://keybase.io/000011110000) on keybase.
  • I have a public key ASDe_JWApOJ0jhkecq2xBSsPnTczsSetGXt7Go8pZF7hsQo

To claim this, I am signing this object: