Skip to content

Instantly share code, notes, and snippets.

View bramanda48's full-sized avatar
πŸ‘¨β€πŸ’»
Tahun baru, semangat baru!

BRAM bramanda48

πŸ‘¨β€πŸ’»
Tahun baru, semangat baru!
View GitHub Profile
@bramanda48
bramanda48 / uninstall-wg-portal.sh
Last active December 22, 2025 07:53
WG-Portal uninstall script
#!/bin/bash
# WG-Portal Uninstaller Script
# This script removes wg-portal installation and cleans up all related files
#
# Usage :
# curl -fsSL https://gist.github.com/bramanda48/5e829a013b8bd9689a9aeeb284239c97/raw | bash
#
set -e
@bramanda48
bramanda48 / install-wg-portal.sh
Last active December 22, 2025 08:01
WG-Portal installer script
#!/bin/bash
# WG-Portal Installer Script
# This script installs the latest version of wg-portal from GitHub releases
# and sets up a systemd service
#
# Usage :
# curl -fsSL https://gist.github.com/bramanda48/2a4d078c92131b67864097519d19ff1c/raw | bash
#
@bramanda48
bramanda48 / uninstall-tailscale.sh
Last active January 24, 2026 10:56
Tailscale uninstall script
#!/bin/sh
# Tailscale Uninstall Script
# This script detects the current operating system and uninstalls
# Tailscale according to that OS's conventions.
#
# Usage:
# curl -fsSL https://gist.github.com/bramanda48/7e29606947d097464d2982f3a5b6fddf/raw | sh
# Or save and run: chmod +x uninstall.sh && sudo ./uninstall.sh
set -eu
@bramanda48
bramanda48 / uninstall-docker.sh
Last active November 27, 2025 17:17
Docker Engine for Linux uninstallation script
#!/bin/sh
set -e
# Docker Engine for Linux uninstallation script.
#
# This script is intended as a convenient way to completely remove Docker Engine,
# Docker CLI, containerd, and related packages from your system.
#
# WARNING: This script will:
# - Remove all Docker packages (docker-ce, docker-ce-cli, containerd.io, etc.)
# - Optionally remove Docker images, containers, volumes, and custom configs
@bramanda48
bramanda48 / FFMPEG.md
Last active February 10, 2026 13:01
List of frequently used FFmpeg commands

Convert mp4 video to mkv

ffmpeg -i "input.mp4" -vcodec copy -acodec copy output.mkv

Convert mp4 video to mkv with audio codec opus

ffmpeg -i "input.mp4" -vcodec copy -acodec libopus output.mkv

Cut video based on start time

@bramanda48
bramanda48 / change_origin_proxy.js
Last active February 18, 2025 04:04 — forked from andris9/README.md
Extremely simple HTTP proxy for changing Host: headerUseful when proxying requests to virtual hosts that require Host: header to be set.
"use strict";
/*
Creates a HTTP proxy that rewrites Host: header to a predefined value
Useful when forwarding requests to Apache or Nginx virtual hosts
Usage:
PORT_LISTEN=123 PORT_TARGET=456 HOST_TARGET=127.0.0.1 HOST_ORIGIN="tere.ee" node proxy.js
@bramanda48
bramanda48 / webcrypto-examples.md
Created August 17, 2024 04:45 — forked from pedrouid/webcrypto-examples.md
Web Cryptography API Examples

Keybase proof

I hereby claim:

  • I am bramanda48 on github.
  • I am bramanda48 (https://keybase.io/bramanda48) on keybase.
  • I have a public key ASAIwGM6zu7iRrgEotflZMMeM3pak10vQ01Uq2K-_rj4zAo

To claim this, I am signing this object:

@bramanda48
bramanda48 / progress-bar-nodejs.md
Last active May 24, 2024 05:55
Simple progress bar using Chalk and NodeJS

How to Create Progress Bar using Chalk and NodeJS

  1. Create file progress-bar.ts and add this class
import chalk from "chalk";

const bgWhite = chalk.bgWhite;
const bgGreen = chalk.bgGreen;

export class ProgressBar {
@bramanda48
bramanda48 / Update-AUPackages.md
Last active May 5, 2024 16:04
Update-AUPackages Report #powershell #chocolatey