sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| ################## | |
| # Privacy Settings | |
| ################## | |
| # Privacy: Let apps use my advertising ID: Disable | |
| Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
| # To Restore: | |
| #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
| # Privacy: SmartScreen Filter for Store Apps: Disable | |
| Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
| sudo apt install curl gnupg2 ca-certificates lsb-release | |
| echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list | |
| curl -fsSL https://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
| sudo apt update | |
| NGINX_VERSION=$(apt show nginx | grep "^Version" | cut -d " " -f 2 | cut -d "-" -f 1) | |
| # take note of the nginx version in the "stable" release. e.g. 1.14.2 | |
| echo NGINX version $NGINX_VERSION | |
| wget https://hg.nginx.org/pkg-oss/raw-file/default/build_module.sh | |
| chmod a+x build_module.sh |
| RUN sed -i 's/archive.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list \ | |
| && apt-get update && apt-get install -y \ | |
| ...packages-you-want-to-install... \ | |
| && rm -rf /var/lib/apt/lists/* |
| # @author: mmdemirbas@gmail.com | |
| filename=/etc/default/grub | |
| # Replace GRUB_DEFAULT value to 'saved' | |
| echo :: Setting GRUB_DEFAULT=saved | |
| sudo sed -i 's/GRUB_DEFAULT=.*/GRUB_DEFAULT=saved/g' $filename | |
| # Append GRUB_SAVEDEFAULT=true after deleting old GRUB_SAVEDEFAULT's | |
| echo :: Setting GRUB_SAVEDEFAULT=true |
| #!/usr/bin/env bash | |
| function show_usage() | |
| { | |
| echo | |
| echo "USAGE" | |
| echo "-----" | |
| echo | |
| echo " SERVER_URL=https://my.mediasoup-demo.org:4443 ROOM_ID=test MEDIA_FILE=./test.mp4 ./gstreamer.sh" | |
| echo |
Table of Contents: