Categories
python ubuntu

How to build python 3 from source on Ubuntu 22.04?

Install pre-requisites sudo apt install build-essential libssl-dev libffi-dev software-properties-common libbz2-dev libncurses-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev libgdbm-compat-dev libreadline-dev Download the python version you want from https://www.python.org/downloads/source/ cd /opt sudo wget https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz Extract the downloaded source sudo tar -xvf Python-3.9.16.tar.xz Read the info cd Python-3.9.16/ cat README.rst Compile and Install python ./configure make When running make […]

Categories
books

varnish 6 by example pdf download

Varnish_6_by_Example.pdf download Source: Varnish website: Varnish cache by example

Categories
book reviews

How to Access Z-lib now that the internet domains have been seized?

Update 01-09-2023: Z-lib has a portal with many ways to access z-lib called go-to-zlibrary.se and a banner warning of scam sites: Update 05-05-2023: Z-lib’s domains including https://singlelogin.me/ have been seized by the US Department of Justice and FBI apparently – Torrentfreak Update 13-02-2023: Z-lib is back on the clearnet go to https://singlelogin.me/ and once logged […]

Categories
python

Ubuntu 22.04 + Firefox + Selenium + Geckodriver: Connection refused

The Ubuntu 22.04 + Firefox with Selenium and Geckodriver problem is: selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111) An older firefox version was installed from source after looking at geckodriver’s supported platforms docs… Environment details: $ firefox –version Mozilla Firefox 89.0.2 $ geckodriver –version geckodriver 0.29.1 (970ef713fe58 2021-04-08 23:34 +0200) selenium 3.14.1 Example script: from […]

Categories
git

How to migrate a git repo to gogs?

Gogs is a self-hosted git server that describes itself as: Gogs a painless self-hosted git service How to Migrate a Git Repo to Gogs To migrate a git repo to gogs – the process is to clone the repo in mirror mode and then push it to gogs in mirror mode. This method will work […]