Skip to content

Instantly share code, notes, and snippets.

View kisasexypantera94's full-sized avatar
🦐

David Grinberg kisasexypantera94

🦐
View GitHub Profile
@kisasexypantera94
kisasexypantera94 / constexpr_for.cpp
Created November 25, 2022 21:21
constexpr for loop
#include <cassert>
#include <iostream>
#include <tuple>
namespace details
{
template <size_t v>
struct ConstexprNum
{
@kisasexypantera94
kisasexypantera94 / Dockerfile
Created October 19, 2022 23:55
repro img for faiss
FROM nvidia/cuda:11.6.2-devel-ubuntu20.04
ENV TZ=Asia/Yerevan
ENV DEBIAN_FRONTEND=noninteractive
# disable certificate check (for kitware)
RUN touch /etc/apt/apt.conf.d/99verify-peer.conf && \
echo >> /etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"
# add kitware repo so that fresh cmake could be installed