Posts
CHECK CAPS LOCK
Cancel

Dynamic DNS for CloudFlare with cfdns

cfdns is simple and clean solution to update your CloudFlare dynamic A records. Installation Download and install Create the cfdns directory under ´/opt´ 1 mkdir /opt/cfdns && cd /opt/c...

Docker errors on Fedora 31

If you are facing theese issues with Docker on Fedora 31: 1 docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux....

Get all followers or friends of a Twitter user

What is the fastest way to get N number of followers from a big Twitter account I faced this problem recently and the answer deppends on how big N is. There are basically two ways to fetch Twitter...

Migrate Droplet from DigitalOcean to local KVM

In this tutorial, I’ll show you how to use the recovery mode to migrate a Droplet to a local KVM instance (or any other cloud provider). These steps will also work on any cloud provider as long as...

qcow2 to LVM

Convert qcow2 image to raw 1 2 cd /var/lib/libvirt/images/ qemu-img convert image.qcow2 -O raw image.raw Create an LVM partition Find the size of the raw image and create a LVM partition of the...

Cpanm module error: No such file or directory opening compressed index

I got this error while installing a module inside a Docker container using cpanm. 1 2 3 ! Finding install on cpanmetadb failed. ! cannot open file '/root/.cpanm/sources/http%www.cpan.org/02package...

Walking /proc/net/netstat like a pro with awk

Little command to parse /proc/net/netstat and format the output: 1 2 3 4 5 6 7 $ awk '{for(i=1;i<=NF;i++)title[i] = $i; getline; print title[1]; for(i=2;i<=NF;i++)printf " %s: %s\n", title[i...

Docker image ready to use for perl-Selenium Firefox automation

Dockerfile 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 FROM ubuntu:18.04 RUN apt-get update && apt-get install -y \ wget \ xvfb ...

XDG_RUNTIME_DIR and Gentoo

On systemd/ConsoleKit systems this variable is set when the user logs in, if neither is used and you need XDG_RUNTIME_DIR for some reason (eg Flatpak), it can be easily set adding some lines to you...

There is NOT at least X GiB RAM

Recently while compiling latest Rust version I came across a problem on my very old Macbook, where emerge complained about not enough RAM to compile Rust. 1 2 3 4 5 6 7 ... pre_build_checks() { ...

Search Results