Skip to content

Instantly share code, notes, and snippets.

@budiantoip
budiantoip / upgrade_openssl_on_centos_7.md
Last active November 19, 2023 02:46
Upgrade OpenSSL on CentOS 7
@budiantoip
budiantoip / DNS Cache Flush.md
Last active October 19, 2022 12:33
DNS Cache Flush

How to Flush DNS Cache via terminal

On Windows

ipconfig /flushdns

On Mac

  • Sierra:
    sudo killall –HUP mDNSResponder
    
@budiantoip
budiantoip / Supervisor Setup.md
Last active October 19, 2022 12:14
Supervisor Setup
@budiantoip
budiantoip / Node Version Manager.md
Last active October 19, 2022 12:26
Node Version Manager (NVM)

Installation

curl https://raw.githubusercontent.com/creationix/nvm/v0.37.2/install.sh | bash

To check the latest nvm version, visit https://github.com/nvm-sh/nvm, and check the available tags

How to get the list of available node versions

nvm ls-remote
@budiantoip
budiantoip / Ubuntu 18.04 to 20.04 Upgrade.md
Last active October 19, 2022 12:31
Ubuntu 18.04 to 20.04 Upgrade

Ubuntu upgrade from 18.04 to 20.04

Reference :

Tips: it's strongly recommended to use screen before doing the upgrade So when we receive a session timeout, the upgrade will run in the background To use screen, simply visit Screen Cheatsheet

To start the upgrade

@budiantoip
budiantoip / AWS CLI - docker.md
Last active October 19, 2022 12:36
AWS CLI in docker mode
@budiantoip
budiantoip / Generate Locale.md
Last active October 19, 2022 12:56
Generate Locale

Display the Current Settings

locale

Display the Available Locales

locale -a
@budiantoip
budiantoip / DirectAdmin Control Panel.md
Last active October 19, 2022 14:19
DirectAdmin Control Panel
@budiantoip
budiantoip / Dockerfile Snippets.md
Last active October 19, 2022 14:32
Dockerfile Snippets

Images

Check existing images

docker images

Get mongo version 4.1

docker pull mongo:4.1