Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@Gromina
Gromina / setup tinc
Last active July 4, 2018 17:54
commands to setup tinc 1.1 from source
apt-get install -y build-essential libncurses5-dev libreadline-dev libghc-zlib-dev liblzo2-dev libssl-dev
cd /usr/local/src
wget http://www.tinc-vpn.org/packages/tinc-1.1pre15.tar.gz
tar -xvzf tinc-1.1pre15.tar.gz
cd tinc-1.1pre15
./configure --with-systemd --prefix= && make && make install
mount -t proc /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# root #source /etc/profile
# root #export PS1="(chroot) $PS1"
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.13.0-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@Gromina
Gromina / cleanupUE.md
Last active January 29, 2022 12:27
Cleanup Unreal Engine intermediate folders
@echo off
for /d /r . %%d in (Binaries Intermediate) do @if exist "%%d" echo "%%d"
set /p id="You're going to delete all folders above. Press 'y' to proceed:"
if "%id%"=="y" (
    echo "YES"
    for /d /r . %%d in (Binaries Intermediate) do @if exist "%%d" rd /s/q "%%d"
)