Skip to content

Instantly share code, notes, and snippets.

View simone-lungarella's full-sized avatar
👾
Coding

Simone Lungarella simone-lungarella

👾
Coding
View GitHub Profile

Useful tool for engineers

Following a list of useful tools that are mainly usable from terminal or from a text editor with basic vim feature.

Grep

Common tool to search for patterns in files directly from terminal. If searching in the current file is enough, using / operator with vim is often more convenient. Read the friendly manual to learn more about grep: grep --help.

Usage: grep [OPTION]... PATTERN [FILE]...

Sed

Common tool to search for patterns and replace using simple strings or regex in files directly from terminal. If replacing in the current file is enough, using :%s/old-val/new-val/g operator with vim is often more convenient. Read the friendly manual to learn more about grep: sed --help.

Given a file named content.json having the following input:

[
  {
    "region": "010",
    "company": "908",
    "structure": null,
    "value": {
      "total": 0.06111111111111111,

OpenSSL CSR Generation Guide

Introduction

A Certificate Signing Request (CSR) is a formal request for a digital certificate used for secure communication, such as SSL/TLS certificates. OpenSSL is a widely used open-source tool that allows you to generate private keys and CSRs.

Prerequisites

Before you begin, ensure that you have OpenSSL installed on your system. If not, you can download and install it from the OpenSSL website.