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
@programmerShinobi
programmerShinobi / disable-internal-keyboard-and-touchpad-permanently-on-elementary-os.md
Created October 8, 2026 06:50
Disable Internal Keyboard & Touchpad Permanently on elementary OS

Disable Internal Keyboard & Touchpad Permanently on elementary OS

Tested on: elementary OS (Ubuntu Noble base, Wayland session) Purpose: Permanently disable the laptop's built-in keyboard, touchpad, and trackpoint so that only external USB keyboard & mouse are used — even after reboot.


⚠️ Important Warnings — Read First

  1. Connect your external USB keyboard and mouse BEFORE starting.
@programmerShinobi
programmerShinobi / guide-install-php-composer-and-sql-server-extensions-on-ubuntu.md
Last active September 24, 2026 10:30
Guide: Install PHP, Composer, and SQL Server Extensions on Ubuntu 22.04

Guide: Install PHP, Composer, and SQL Server Extensions on Ubuntu 22.04

1. System Preparation and Dependencies

Update your system and install the required build tools and ODBC packages.

sudo apt update
sudo apt install -y unixodbc-dev libodbc1 odbcinst odbcinst1debian2 build-essential autoconf
@programmerShinobi
programmerShinobi / visualVM2.2.1-installation-guide.md
Created April 27, 2026 03:54
VisualVM 2.2.1 Installation Guide on Elementary OS 8 (Ubuntu 24.04 LTS)

VisualVM 2.2.1 Installation Guide on Elementary OS 8 (Ubuntu 24.04 LTS)

Step 1: Extract VisualVM ZIP

Move the visualvm_221.zip file to /opt (a standard directory for third-party applications) and extract it:

$ sudo mkdir -p /opt/visualvm
$ sudo unzip visualvm_221.zip -d /opt/visualvm
@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
@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 / 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 / git-push-to-github-using-ssh.md
Created June 7, 2025 13:23
Git Push to GitHub Using SSH

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.

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

@programmerShinobi
programmerShinobi / steps-to-clone-a-git-repository-and-push-for-the-first-time-on-a-new-pc.md
Last active November 4, 2024 01:55
Steps to Clone a Git Repository and Push for the First Time on a New PC

Steps to Clone a Git Repository and Push for the First Time on a New PC

1. Ensure Git is Installed

If you haven't installed Git on your PC, download and install it from the official Git website.

2. Configure Git

Set your global username and email:

$ git config --list --show-origin
$ git config --global user.name "Your Name"
@programmerShinobi
programmerShinobi / redis-commander.md
Last active October 25, 2024 12:15
Redis Commander

Redis Commander

Here’s how you can use the KEYS command in Redis Commander:

Keys: KEYS

  • Command: KEYS pattern
  • Function: The KEYS command is used to find all keys matching a specific pattern. This can be especially helpful when you want to locate keys with a common prefix, suffix, or specific pattern in their names. In Redis Commander, you can use this command to search for keys that match the pattern you specify.
  • Example:
    • Pattern: example:*
  • Command: KEYS example:*