Tutorials Index Page 1

beginner

Nginx improve TTFB latency tutorial

In this tutorial, we are going to explain how to improve page speed when using nginx. The article focuses on TTFB (Time to first byte) to improve google page speed. We will focus on nginx using HTTPS. Check our tutorial to fix the TTFB issue.

beginner

How to enable nginx enable gzip

Follow this guide to enable compression using gzip. By default nginx compresses response with text/html mime type. Using "gzip on" enables gzip compression, check this tutorial to learn how to do it.

intermediate

How to push docker image to gitlab registry using gitlab CI

In this tutorial, we are going to explain how to automatically build and push docker images using gitlab CI. The tutorial will cover best practices and how to create a docker image with gitlab ci.

intermediate

Youtube api: download all videos from channel

In this tutorial, we are going to explain how to use YouTube API to fetch all videos on a channel.

beginner

How to find the lasrgest file in a directory recursively using du command

To find the largest file in a directory use the command: sudo du -a / 2>/dev/null | sort -n -r | head -n 20, please check here for more information

beginner

golang open file and iterate lines

In this tutorial, we are going to explain how to parse a file with go and iterate lines of a file.

beginner

How to disable Kali Linux auto-update

Follow this steps to disable apt-get auto updates for Kali: open dconf-editor, then go to org -> gnome -> software, Select 'download-updates'. Finally Scroll down until the end and set "use default value" to "false". Check here for more alternatives.

intermediate

kubernetes: The connection to the server localhost:8080 was refused

The error "The connection to the server localhost:8080 was refused - did you specify the right host or port?" is very common, check here how to solve the error with gcloud or while using kubectl command.

beginner

How to update package.json libraries to the latest version>

package.json contains information about your project, to update libraries automatically you can use "ncu -u" in the root of your project. ncu command can be installing with: npm i -g npm-check-updates

beginner

Golang: convert rune to int

Convert a rune to an int using int(rune - '0'). Read our article for more information