Skip to content

Instantly share code, notes, and snippets.

View rescenic's full-sized avatar
🌏
DevOps Engineer

Muhammad Ridwan Hakim rescenic

🌏
DevOps Engineer
View GitHub Profile
@rescenic
rescenic / readme.md
Created April 13, 2024 01:37 — forked from titounnes/readme.md
Konfigurasi Sublime Text 3 Favorit. Dikumpulkan dengan penuh ❤︎ oleh Ian Mustafa.

Konfigurasi Sublime Text 3 Favorit

Dikumpulkan dengan penuh ❤︎︎ oleh Ian Mustafa.

Konfigurasi

Bisa diakses melalui Ctrl+Shift+P (atau +Shift+P di Mac).

{
@rescenic
rescenic / Audio-on-HTML5.md
Created April 3, 2024 22:30 — forked from AppLoidx/Audio-on-HTML5.md
Way to autoplay audio on html5

This is the method I use to automatically play the audio on the page when I open it

  1. Creating iframe with empty audio:
<iframe src="assets/music/silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>

You can use this sound: silence

  1. Add audio tag with your original sound:
@rescenic
rescenic / 1-init.cmd
Created March 30, 2024 05:59 — forked from RobbiNespu/1-init.cmd
Portable postgre SQL on windows
@ECHO ON
:: Save the directory where we are
pushd %CD%
echo %CD%
:: Shift directories to the correct path
%~d0
cd %~dp0
@rescenic
rescenic / docker_compose_portainer.md
Created October 17, 2023 10:40 — forked from Cursedpotential/docker_compose_portainer.md
Installing Docker, Docker Compose and Portainer on Ubuntu 20.04 21.10

Installing Docker with Docker Compose & Portainer

Install Docker

Preparing the system:

Removing any old installations of Docker
sudo apt-get remove docker docker-engine docker.io containerd runc

laragon-multi-php-version-via-package-manager

Manage your php version via Laragon PHP UI switcher with help of powershell package manager.

For this sake ill be using https://github.com/mlocati/powershell-phpmanager) package manage to handle multi version instead of download the zip file manually. The reason why i want to using this package manager is because it easy for me to add new extension like how linux and mac do. For example, installing imagick on windows is such a hassle. Not to mention if you keep switching your laptop or pc it could make it hard to just install all back without any semi or automated script laying around.

FWIW: I (@Rondy) am not the author of the content presented here, which is an outline from Edmond Lau's book. I've just copy-pasted it from somewhere and saved as a personal gist, before it got popular on newsnews.ycombinator.com. I don't remember where exactly the original source is from and neither could find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

@rescenic
rescenic / .p10k.zsh
Created December 15, 2022 17:25 — forked from arthurborgesdev/.p10k.zsh
Powerlevel 10k config file
# Generated by Powerlevel10k configuration wizard on 2020-06-20 at 00:56 -03.
# Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 15764.
# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode,
# 24h time, angled separators, sharp heads, flat tails, 2 lines, disconnected,
# left frame, lightest-ornaments, sparse, many icons, fluent, transient_prompt,
# instant_prompt=verbose.
# Type `p10k configure` to generate another config.
#
# Config for Powerlevel10k with powerline prompt style with colorful background.
# Type `p10k configure` to generate your own config based on it.
@rescenic
rescenic / WSL 2 GNOME Desktop.md
Created December 13, 2022 06:25 — forked from Ta180m/WSL 2 GNOME Desktop.md
Set up a GNOME desktop environment on WSL 2

WSL 2 GNOME Desktop

NOTE: If you want the ultimate Linux desktop experience, I highly recommend installing Linux as your main OS. I no longer use Windows (except in a VM) so I will not be maintaining this guide anymore.

Think Xfce looks dated? Want a conventional Ubuntu experience? This tutorial will guide you through installing Ubuntu's default desktop environment, GNOME.

GNOME is one of the more complex — and that means more difficult to run — desktop environments, so for years people couldn't figure [o

@rescenic
rescenic / certbot-ssl-lets-encrypt-cpanel.md
Created July 25, 2022 10:19 — forked from tajidyakub/certbot-ssl-lets-encrypt-cpanel.md
Menggunakan certbot untuk menerbitkan SSL Certificate dari yang di signed oleh Let's Encrypt di localhost untuk diinstall ke cPanel server

SSL Certificate dari Let's Encrypt untuk diinstall di cPanel

Instalasi certbot dan opsi yang perlu diperhatikan

Instalasi certbot menggunakan homebrew dan melihat opsi yang disediakan ketika eksekusi certbot.

$ brew install certbot
$ certbot --help
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN]
@rescenic
rescenic / add.sh
Created June 26, 2022 10:22 — forked from sdoro/add.sh
Howto add/remove in VirtualBox a fifth NIC (without GUI) in hostonly networking
VBoxManage modifyvm "vm" --hostonlyadapter5 vboxnetX
VBoxManage modifyvm "vm" --nic5 hostonly