Skip to content

Instantly share code, notes, and snippets.

View keremcankabadayi's full-sized avatar

keremcankabadayi keremcankabadayi

  • 20:03 (UTC +03:00)
View GitHub Profile
# 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
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)"
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
@keremcankabadayi
keremcankabadayi / arista_medium_article_content_id.csv
Last active January 3, 2024 20:52
arista_medium_article_content_id.csv
contentId listingId
111 listingId1
222 listingId2
333 listingId3