Shell script to update original visitor IP for nginx when using Cloudflare

Shell script to update original visitor IP for nginx when using Cloudflare
Cloudflare is a CDN, DNS, WAF, DDoS protection, and reverse proxy service. You need to use the ngx_http_realip_module module to change the client address sent in the specified header field such as CF-Connecting-IP or X-Forwarded-For. This shell script downloads a list of IPv4 and IPv6 address from Cloudflare and generates an updated /etc/nginx/cloudflare.real.ip.conf file:
Halal Vitamins

Powered by WPeMatico

Awesome VIM clutch. A hardware pedal for improved text editing in Vim

Awesome VIM clutch. A hardware pedal for improved text editing in Vim

That is right. I found a hardware pedal for improved text editing in Vim. This is a mind blowing hack for vim user.

VIM Clutch is a hardware pedal for improved text editing speed for users of the magnificent VIM text editor (1, 2). When the pedal is pressed down, the pedal types “i” causing VIM to go into Insert Mode. When released, it types and you are back in Normal Mode.

The final result:

The first VIM Clutch

The first VIM Clutch

=> See How To Build your own VIM Clutch

Halal Vitamins

Powered by WPeMatico

ttyload: Color-coded graphical tracking tool for UNIX/Linux load average in a terminal

ttyload: Color-coded graphical tracking tool for UNIX/Linux load average in a terminal
Ttyload an impressive color-coded graphical tracking of UNIX load average in a terminal. It work easily on most POSIX/Unix based systems including:
– Linux
– IRIX
– Solaris
– FreeBSD
– MacOS X (Darwin)
– Isilon OneFS
Halal Vitamins

Powered by WPeMatico

OpenShot 2.3 Linux Video Editor New Features

Zabihah Halal Vitamins
OpenShot 2.3 Linux Video Editor New Features
It’s been quite some time since we last talked about OpenShot, and more specifically when it had its second major release. Recently, the team behind the popular open source video editor has made its third point release available which happens to come with a couple of exciting new features and tools, so here is a quick guide on where to find them and how to use them.

Powered by WPeMatico

8 Linux Locate Command Examples for Beginners

Zabihah Halal Vitamins
8 Linux Locate Command Examples for Beginners
While find is no doubt one of the most popular as well as powerful command line utilities for file searching in Linux, it not fast enough for situations where-in you need instantaneous results. If you want to search a file on your system through the command line, and speed is the top most priority, then there’s another command that you can use: Locate.

Powered by WPeMatico

How to install Moodle on ISPConfig

Zabihah Halal Vitamins
How to install Moodle on ISPConfig
Moodle is a learning platform designed to provide educators, administrators, and learners with a single robust, secure and integrated system to create personalized learning environments. The tutorial is based on Debian 8, but it should work fine also with Ubuntu and other ISPConfig supported Distros.

Powered by WPeMatico