This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt -y --yes --no-install-recommends update < /dev/null | |
# Docker | |
wget https://gist.github.com/wdullaer/f1af16bd7e970389bad3/raw/4a5a72aece57e1deca926894e5919f90350c706d/install.sh | |
bash install.sh | |
# Portainer | |
sudo docker volume create portainer_data | |
sudo docker run -d -p 8000:8000 -p 9000:9000 -p 9043:443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer --admin-password '$2y$05$JxNXO.H8jC2/Mp5pBA3uGe9h/G4lmlqUVjxhXYo79jPAxBXFIs06G' | |
# My IP | |
myip="$(dig +short myip.opendns.com @resolver1.opendns.com)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key | definition | example | |
---|---|---|---|
content | main 'product' that can sell multiple seller | a pen | |
listing | a product that selling by spesific seller | pen selling by Abc Ltd. | |
supplierId | id of the seller | 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
contentId | listingId | |
---|---|---|
111 | listingId1 | |
222 | listingId2 | |
333 | listingId3 |
OlderNewer