Skip to content

Instantly share code, notes, and snippets.

@vovapolu
vovapolu / lists1p.cpp
Last active December 18, 2017 13:08
Data structures 1
const int N = 100000;
const int K = 1000;
int cnt = 0;
int elems[N];
int nxt[N];
int lists[K];
@vovapolu
vovapolu / arch-linux-install
Last active March 5, 2018 21:04 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set russian keymap

Keybase proof

I hereby claim:

  • I am vovapolu on github.
  • I am vovapolu (https://keybase.io/vovapolu) on keybase.
  • I have a public key ASBEUUAvCm7tltRyQsjYydBBa5Kv1_7T6hw_3yBt5M1y_go

To claim this, I am signing this object:

@vovapolu
vovapolu / Dockerfile
Created May 28, 2019 13:27
Dockerfile for Janus Streaming plugin
FROM debian:stretch
RUN apt-get update -y \
&& apt-get upgrade -y
RUN apt-get install -y libmicrohttpd-dev libjansson-dev \
libssl-dev libglib2.0-dev libcurl4-openssl-dev \
libconfig-dev pkg-config gengetopt libtool automake
RUN apt-get install -y \