Skip to content

Instantly share code, notes, and snippets.

View dimaskiddo's full-sized avatar
🎯
Focusing

Dimas Restu H dimaskiddo

🎯
Focusing
View GitHub Profile
@dimaskiddo
dimaskiddo / ssh-hardening.sh
Last active April 1, 2024 13:07
SSH Hardening Script
#!/bin/bash
# SSH Hardenning Script
# Created By Dimas Restu Hidayanto (dimas.restu@student.upi.edu)
echo "--------------------------------------"
echo "SSH Hardening"
echo "dimas.restu@student.upi.edu"
echo "--------------------------------------"
echo ""
@dimaskiddo
dimaskiddo / debian-sanoid-syncoid-setup.sh
Last active January 11, 2024 12:42
Debian Linux Sanoid - Syncoid Packages Setup Script
#!/usr/bin/env bash
apt-get -y update --allow-releaseinfo-change
apt-get -y install ca-certificates apt-transport-https software-properties-common lsb-release bash-completion dirmngr gnupg curl wget rsync logrotate byobu
apt-get -y install procps pv lzop mbuffer libcapture-tiny-perl libconfig-inifiles-perl
mkdir -p /usr/bin
mkdir -p /usr/local/bin
mkdir -p /etc/sanoid
@dimaskiddo
dimaskiddo / jitsi-jibri.md
Last active January 9, 2024 16:05
Jitsi Jibri Setup Guide

How to Install Jitsi Jibri for Cloud Recording

Following tutorial will guide you to install Jitsi Jibri for Cloud Recording in your own on-premises, cloud, or dedicated servers.

This guide is using Ubuntu 16.04 LTS as the operating system, to start the installation you can follow the guide below.

Escalate Privileged

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

@dimaskiddo
dimaskiddo / 90DNS-Injection-to-Atmosphere-0.18.x-DNS.MITM-Module.md
Created March 15, 2021 08:28
90DNS Injection in Atmosphere 0.18.x DNS.MITM Module

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 / debian-zfs-setup.sh
Last active May 31, 2023 06:16
Debian Linux ZFS Packages Setup Script
#!/usr/bin/env bash
apt-get -y update --allow-releaseinfo-change
apt-get -y install ca-certificates apt-transport-https software-properties-common lsb-release bash-completion dirmngr gnupg curl wget rsync logrotate byobu
apt-get -y install dpkg-dev
linux_kernel_is_cloud=`uname -r | grep cloud | wc -l`
if [[ ${linux_kernel_is_cloud} -eq 1 ]]
then
# Install Linux Kernel Dependencies (Cloud)
@dimaskiddo
dimaskiddo / rocky-essentials-setup.sh
Created September 29, 2022 07:51
Rocky Linux Essentials Packages Setup Script
#!/bin/bash
#
# Rocky 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 / jitsi-jibri-setup.sh
Last active November 28, 2022 21:00
Jitsi Jibri Automatic Installer
#!/bin/bash -e
# Current Directory
CURRENT_DIR=$(pwd)
# Header Function
function printhead() {
clear
@dimaskiddo
dimaskiddo / jitsi-jvb.md
Last active October 13, 2022 13:14
Jitsi VideoBridge Setup Guide

How to Install Jitsi VideoBridge for Video Router

Following tutorial will guide you to install Jitsi VideoBridge for Video Router in your own on-premises, cloud, or dedicated servers.

This guide is using Ubuntu 16.04 LTS as the operating system, to start the installation you can follow the guide below.

Operating System Preparation

Escelate Privileged

@dimaskiddo
dimaskiddo / centos-essentials-setup.sh
Last active September 29, 2022 07:48
CentOS Linux Essentials Packages Setup Script
#!/bin/bash
#
# CentOS 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 / socat-manager.sh
Created October 7, 2021 15:40
Socat Manager
#!/bin/bash
# SOCAT Port Forwarder Management Script
# Created By Dimas Restu Hidayanto (dimas.restu@student.upi.edu)
IS_NUMBER='^[0-9]+$'
if [ $UID != 0 ]; then
echo "Administrator Previlege Needed. Please Run This Program As An Administrator/Root User!"
exit 1
fi