Skip to content

Instantly share code, notes, and snippets.

View programmerShinobi's full-sized avatar
🇮🇩
Work from anywhere

Faqih Pratama Muhti programmerShinobi

🇮🇩
Work from anywhere
View GitHub Profile

RBAC with JWT Authentication in Express

This project demonstrates how to implement Role-Based Access Control (RBAC) using JWT authentication in an Express.js application. The app will handle authentication and authorization based on user roles: Admin, Editor, and Viewer. Each role has different levels of access to various routes.


Project Setup

1. Initialize the Project

Git Push to GitHub Using SSH

Introduction

This tutorial will guide you through the process of setting up SSH authentication with GitHub and pushing your code to a GitHub repository using SSH.

Prerequisites

  • A GitHub account.
  • Git installed on your local machine.
@programmerShinobi
programmerShinobi / intellij-idea-community-edition-installation-on-linux.md
Created July 28, 2025 16:32
IntelliJ IDEA Community Edition Installation on Linux

IntelliJ IDEA Community Edition Installation on Linux

Step 1: Download IntelliJ IDEA Community Edition

  1. Visit the official JetBrains IntelliJ IDEA download page.
  2. Select the Community Edition and download the .tar.gz file for Linux.
  3. Alternatively, use the following wget command to download the file directly (make sure to replace the version number with the latest version):
@programmerShinobi
programmerShinobi / install-snx-debian-13.md
Created August 15, 2025 03:50
Install SNX Debian 13

Install SNX Debian 13

To install Check Point's SSL Network Extender (SNX) on Debian 13, you can use the snx-packaged project, which provides pre-packaged versions of SNX for Debian/Ubuntu systems The latest version available is 800008409, which is compatible with Debian 13 (Bookworm)

Follow these steps:

  1. Install the required 32-bit architecture and dependencies:
    sudo dpkg --add-architecture i386
    sudo apt-get update
@programmerShinobi
programmerShinobi / pgadmin4-installation.md
Created January 4, 2026 07:03
pgAdmin 4 Installation Guide on elementary OS 8 (Ubuntu 24.04 LTS)

pgAdmin 4 Installation Guide on elementary OS 8 (Ubuntu 24.04 LTS)

Step 1: Update the System and Install Required Dependencies

Before starting, ensure your system is up to date and you have installed all necessary dependencies:

$ sudo apt update