Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Dimas Restu Hidayanto dimaskiddo

🎯
Focusing
View GitHub Profile
@dimaskiddo
dimaskiddo / 90DNS-Injection-to-Atmosphere-0.18.x-DNS.MITM-Module.md
Created Mar 15, 2021
90DNS Injection in Atmosphere 0.18.x DNS.MITM Module
View 90DNS-Injection-to-Atmosphere-0.18.x-DNS.MITM-Module.md

Follow this Guide with YOUR OWN RISK!

REQUIRED: NX-Atmosphere 0.18.x

As Atmosphere 0.18.x Releases, there is dns.mitm module implementation to extend Nintendo Switch hosts file, but first we need to activate dns.mitm module to be started by configuring system_settings.ini file in atmosphere/config. Here's the snippet section of system_settings.ini file:

...
[atmosphere]
...
...
@dimaskiddo
dimaskiddo / audit-policy.yaml
Created Aug 14, 2020
OpenShift Audit Policy
View audit-policy.yaml
apiVersion: audit.k8s.io/v1alpha1
kind: Policy
rules:
# Do not log from kube-system accounts
- level: None
userGroups:
- system:serviceaccounts:kube-system
- system:serviceaccounts:openshift-infra
- system:serviceaccounts:kube-service-catalog
- system:serviceaccounts:openshift-template-service-broker
@dimaskiddo
dimaskiddo / nfs-management.md
Created Jul 15, 2020
NFS Installation and Management
View nfs-management.md

NFS Installation and Management

NFS Installation

This tutorial will guide you on how to install Network File System (NFS) on a Linux distribution. We will use Ubuntu Linux, if you are using an Cloud Instance like in Amazon Web Service you can use the default provided Ubuntu Amazon Machine Image (AMI) like Ubuntu 16.04, 18.04, and 20.04 when you are provisioning it

Let's get started!

@dimaskiddo
dimaskiddo / nfs-intro.md
Created Jul 11, 2020
Introduction to Network File System (NFS)
View nfs-intro.md

Introduction to Network File System (NFS)

Network File System or NFS is basically developed for sharing of files and folders between Linux/Unix systems by Sun Microsystems in 1980. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system.

The NFS is an open standard defined in a Request for Comments (RFC), allowing anyone to implement the protocol. It allows you to mount your local file systems over a network and remote hosts to interact with them as they are mounted locally on the same system. With the help of NFS, we can set up file sharing between Unix to Linux system and Linux to Unix system.

How NFS Works

@dimaskiddo
dimaskiddo / zfs-management.md
Last active Aug 31, 2020
ZFS Installation & Management
View zfs-management.md

ZFS Installation & Management

ZFS Installation

This tutorial will guide you on how to install Z File System (ZFS) on a Linux distribution. We will use Ubuntu Linux distribution since ZFS package in Ubuntu is maintained well to be compatible with it's Linux Kernel

If you are using an Cloud Instance like in Amazon Web Service you can use the default provided Ubuntu Amazon Machine Image (AMI) like Ubuntu 16.04, 18.04, and 20.04 when you are provisioning it

@dimaskiddo
dimaskiddo / zfs-intro.md
Last active Aug 31, 2020
Introduction to Z File System (ZFS)
View zfs-intro.md

Introduction to Z File System (ZFS)

What is Z File System (ZFS)?

Z File System or also known as ZFS was created by Matthew Ahrens and Jeff Bonwick in 2001 to be the next generation file system for Sun Microsystem's Solaris. In 2008 ZFS was ported to FreeBSD which at the same year a ZFS ported project for Linux is also started the project name was ZFS on Linux.

However since ZFS is under the Common Development and Distribution License it can't be included directly to Linux Kernel. To solve this many Linux distributions make an offer to install ZFS from their package manager.

@dimaskiddo
dimaskiddo / jitsi-jibri-minio.md
Created Jul 10, 2020
Jitsi Jibri MinIO Setup Guide
View jitsi-jibri-minio.md

How to Automatic Upload Jibri Recording Files to MinIO

Following tutorial will guide you how to automatic upload your Jibri recording files to your own on-premises, cloud, or dedicated servers MinIO.

Escalate Privileged

Before we begin you must make sure that you own the administration / root permission access by running following command:

@dimaskiddo
dimaskiddo / jibri-minio.sh
Created Jul 10, 2020
Jitsi Jibri Automatic MinIO Uploader
View jibri-minio.sh
#!/bin/bash -e
PATH=${PATH}:/usr/local/bin
# Configure Recordings
RECORDINGS_DIR=$1
# Configure MinIO
MC_PROTOCOL="YOUR_MINIO_PROTOCOL_HTTP_OR_HTTPS"
@dimaskiddo
dimaskiddo / alpine-essentials-setup.sh
Last active Mar 8, 2021
Alpine Linux Essentials Packages Setup Script
View alpine-essentials-setup.sh
#!/bin/ash
#
# Alpine Linux Essentials Packages
# By Dimas Restu Hidayanto <dimas.restu@student.upi.edu>
#
# WARNING PLEASE DO WITH YOUR OWN RISK
#
# This instruction will guide you to install
# essentials packages that might be useful for your systems
# or your opeartions
@dimaskiddo
dimaskiddo / ubuntu-essentials-setup.sh
Last active Mar 8, 2021
Ubuntu Linux Essentials Packages Setup Script
View ubuntu-essentials-setup.sh
#!/bin/bash
#
# Ubuntu Linux Essentials Packages
# By Dimas Restu Hidayanto <dimas.restu@student.upi.edu>
#
# WARNING PLEASE DO WITH YOUR OWN RISK
#
# This instruction will guide you to install
# essentials packages that might be useful for your systems
# or your opeartions