How To

I'll put little lessons I learn here.

Redirect traffic using iptables

HOST_PORT=3230 PUBLIC_IP=192.168.1.150 CONT_PORT=22 CONT_IP=10.121.80.77 sudo iptables -t n...

Make lxd container accessible outside of host machine

The default network connector type is a bridged connector and as such does not allow for outside ...

How to control turbo boost inside the operating system

If you would like to control whether turbo boost is allowed from within linux instead of using th...

lxc container setup

I prefer to purge openssh-server and then reinstall it as the default config requires preshared k...

Run docker container inside of lxc container

Create an unprivleged container with nesting turned on Run docker containers as normal

Lock packages in zypper

To prevent updates to packages in zypper, you can use the al command to add a lock. sudo zypper ...

Installing matrix-synapse on pypy

sudo apt install virtualenv virtualenv -p ./pypy3 ~/synapse/env source ~/synapse/env/bin/activa...

Download from nextcloud using wget

Get a public nextcloud share link append /download to the url wget this new url

Install printer drivers for brother printer in opensuse tumbleweed

Get glibc and associated libraries in 32 bit form. sudo zypper install -y glibc-32bit Downloa...

Install numpy-blis for amd efficiency

conda create -c conda-forge -n numpy-blis numpy "blas=*=blis" python=3.7

Allennlp

Fix errors with empty params list The error ValueError: optimizer got an empty parameter list fr...

Install GTKWattman on opensuse tumbleweed

This is what I tried. it actually doesn't work. I even tried installing gnome and this still didn...

How to use Intel's mkl library on AMD systems

By default, the mkl library will pick a very unoptimal path on AMD processors, causing libraries ...

Install pytorch-rocm on bare metal opensuse Tumbleweed

These instructions are adopted from section 4 of this page. pytorch commit 9d1138afec26a4fe0be74...

Install aftermarket cooler on M40

http://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Ftweakers.ne...

Use Intel Quad bypass cards (82571EB PRO)

Download latest intel e1000e drivers These drivers are available on sourceforge. Identify the p...

Build pytorch with rocm on ubuntu 20.04

I used rocm 3.8, pytorch 1.6 from the rocm repo (apparently upstream doesn't work right now.).

Search Results