Skip to content

Instantly share code, notes, and snippets.

View brberis's full-sized avatar

Cristobal A Barberis brberis

  • Naples, FL.
  • 08:00 (UTC -12:00)
View GitHub Profile
@brberis
brberis / gist:907448816c594036c41a92aba5cb7015
Last active September 26, 2025 15:01
YPServ in Rocky 9

Building NIS Server (ypserv) on Rocky Linux 9

Overview

This guide demonstrates how to build and install a complete NIS (Network Information Service) server on Rocky Linux 9, where the official repositories no longer provide ypserv packages. We build ypserv 4.2 from source code.

Background

  • Problem: Rocky 9 (RHEL 9 derivatives) removed NIS server packages from official repos
  • Available: Only ypbind-mt (NIS client) is available in EPEL9
@brberis
brberis / gist:64b85d7954cff23fe9b6a6db3687849d
Last active April 7, 2025 02:39
ROS Jazzy Installation & Setup Guide (Ubuntu 24.04)

🛠️ ROS Jazzy Installation & Setup Guide (Ubuntu 24.04)

This guide walks you through setting up locales, installing ROS Jazzy and related tools, and launching the fws_robot_harmonic project.


📁 1. Set Locales

sudo apt update && sudo apt install locales -y
@brberis
brberis / regex-gist-simple-concise-tutorial.md
Last active October 6, 2022 07:02
Regular Expression Simple and Concise Tutorial

Regular Expression - Simple and Concise Tutorial

Regular expression (Regex) also known as rational expression is a technique formalized by the American mathematician Stephen Cole Klene in 1950. It consists in a conjunction of special characters meant to search and match specific string patterns.

Summary

This tutorial will describe basic components you need to know to compose a regex that can be use to find text patterns like phone numbers, emails, html tags, urls, hex values among others.

The following regex is an example of expression that will match an American phone number pattern like (555) 555-5555.