Manually run dkms to build kernel modules
Some time dkms will fail to build a new version of a module after package upgrade or kernel upgrade, so this is my quick notes about this *note: you don’t need to add the...
/home/rabin.io/notes
Some time dkms will fail to build a new version of a module after package upgrade or kernel upgrade, so this is my quick notes about this *note: you don’t need to add the...
If one needs to sign/encrypt multiplies files and the PGP key is encrypted, they can use the gpg-agent to keep the key accessible for some period of time and enter the password once. For...
I love using a dark theme on my system, currently I’m running the Adapta theme. But not all applications looks great in dark themes, some need tweaking, this is a quick hack to overwrite...
This is a more specific use case of running GUI application with Docker, the procedure is pretty simple (and most option are common for most GUI application), You mount the UNIX socket for the...
The Setup Having this setup where Machine A like to connect the Internet via Machine B. +——————-+ +—————–+ | | | Machine B | | Machine A | | (the gateway) | | (the...
GitKraken is a very nice tool to work with git, it really simplify some of the common tasks which most users need to work with git, and the nice GUI is another plus. Long...
I found this method works for me, #Check if user is root if [[ $EUID -ne 0 ]]; then echo “Sudo privileges required!” exit 1; fi dnf update NEXT_VERSION=25 rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-${NEXT_VERSION}-$(uname -i) dnf...
Some times when I need to troubleshoot a problem, adding some visualization to the process can help a lot, especially if one need to correlate between 2 (or more) metrics in the data. But...
This a quick hack I found while I was looking to run a knock script before connecting to servers which I have the SSH service protected with a knock sequence. In my setup I...
The Dockerfile #FROM 195a4b79eb1c #Version 0.4 FROM Fedora-Docker-Base-22-20150521.x86_64 MAINTAINER [email protected] RUN dnf update -y && dnf install -y mock rpmdevtools tmux htop && dnf clean all RUN [“dnf”, “install”, “-y”, “http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm”, “http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-22.noarch.rpm”] RUN [“/usr/sbin/useradd”,...