Kodi Remote Control

How to Control Kodi From Android

Kodi has its own remote app for Android that makes controlling your media center incredibly simple. In order to use it, all you’ll need to do is configure Kodi to allow the remote, and install the app on your Android device.

In this tutorial you will learn:

  • How to Allow the Remote on Kodi
  • How to Install the Kodi Remote
  • How to Connect the Remote to Kodi

Read more

How to create a selection menu using the select statement in Bash shell

How to create a selection menu using the select statement in Bash shell

We all very often use bash scripts to automatize boring and repetitive tasks. Sometimes in our scripts we need to ask
the user to perform one or more choices interactively: in this tutorial we will see how to use the Bash shell select statement to perform such operation in very few lines of code.

In this tutorial you will learn:

  • How to use the Bash select statement
  • How to customize the select menu prompt

Read more

PostgreSQL performance tuning for faster query execution

Objective

Our objective is to make a dummy query execution run faster on PostgreSQL database using only the built in tools available
in the database.

Operating System and Software Versions

  • Operating System: Red Hat Enterprise Linux 7.5
  • Software: PostgreSQL server 9.2

Requirements

PostgreSQL server base install up and running. Access to the command line tool psql and ownership of the example database.

Read more

PureOS LiGNUx with GNOME desktop environment

PureOS LiGNUx download

PureOS GNU/Linux (or “LiGNUx“) is a distribution built on 100% free software. It’s based on Debian and is a distro that’s highy focused on privacy and security. For other most popular Linux distributions please visit our dedicated linux download page.

PureOS uses Purebrowser, which is based on Firefox and developed to follow PureOS’s privacy goals. It uses the DuckDuckGo search engine by default, which doesn’t track user data. PureOS also comes with many other enhanced security features enabled by default, such as the HTTPS Everywhere extension that encrypts your data with unsecure websites.

PureOS uses the GNOME desktop environment by default and only supports 64 bit CPUs. It’s listed on GNU’s website as one of only a handful of operating systems that contain strictly free software. It’s also endorsed by the Free Software Foundation.

PureOS is geared towards home computing. It promotes totally free software and user privacy. If you’re an advocate for those ideals, this distro may be a good fit for you. Trisquel LiGNUx is another similar choice that features only free software.

Read more

Verifying changes with grep

How to create a hot standby with PostgreSQL

Objective

Our objective is to create a copy of a PostgreSQL database that is constantly synchronizing with the original one and accepts read-only queries.

Operating System and Software Versions

  • Operating system: Red Hat Enterprise Linux 7.5
  • Software: PostgreSQL server 9.2

Requirements

Privileged access to both master and slave systems

Read more

script-context-menu-entry

How to extend the GNOME Nautilus file manager with custom scripts

Although GNOME, in its 3.x iteration has been the object of many debates, due to its non-traditional desktop paradigm, it is probably the most used desktop on Linux. The default file manager included in GNOME is Nautilus (the application new name is “Files”). In this tutorial we will see how we can extend the file manager with functionalities provided by custom scripts.

In this tutorial you will learn:

  • How to use custom scripts to extend Nautilus functionalities

Read more

Kali Linux repository update error

Kali Linux – Failed to fetch InRelease – Repository Fix

Symptoms

Unable to use standard Kali Linux provided repository for updating the Kali Linux system as well for new software installations.

The following error message appears when attempting to run the apt update command:

Err:1 http://http.kali.org/kali kali-rolling InRelease
  403  Forbidden [IP: 192.99.200.113 80]
Reading package lists... Done
E: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  403  Forbidden [IP: 192.99.200.113 80]
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Read more

How to update Kali Linux

How to update Kali Linux

The following guide will provide the readers with information on how to update/upgrade the Kali Linux system.

In this tutorial you will learn:

  • How to configure Kali Linux repositories
  • How to update Kali Linux
  • How to upgrade kept back packages
  • How to uninstall no longer required packages

Read more

Kali Linux autologin configuration

How to enable autologin on Kali Linux

The objective of this short guide is to explain how to enable autologin on Kali Linux with step by step instructions.

In this tutorial you will learn:

  • How to identify what is your system’s default Display Manager.
  • How to edit an appropriate configuration file to enable autologin on Kali Linux.

Read more

python-logo

How to create and manipulate tar archives using Python

On Linux and other Unix-like operating systems, tar is undoubtedly one of the most used archiving utilities; it let us create archives, often called “tarballs”, we can use for source code distribution or backup purposes. In this tutorial we will see how to read, create and modify tar archives with python, using the tarfile module.

In this tutorial you will learn:

  • The modes in which a tar archive can be opened using the tarfile module
  • What are the TarInfo and TarFile classes and what they represent
  • How to list the content of a tar archive
  • How to extract the content of a tar archive
  • How to add files to a tar archive

Read more