docker-compose.yaml /root/dockerfiles/step-by-step/3-docker-compose-cloudflared.yaml
A $PWD/cloudflared /root/dockerfiles/step-by-step/cloudflared.tar.gz
cd $PWD # also known as step-by-step folder
tar -czf cloudflared.tar.gz cloudflared/
B /var/www/html/ /root/dockerfiles/step-by-step/wpbackup/wp_today.tar.gz
This file contains hidden or 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
start-at-login = true | |
accordion-padding = 0 | |
gaps.inner.horizontal = 10 | |
gaps.inner.vertical = 10 | |
after-startup-command = [ | |
'workspace 1', 'layout h_accordion horizontal', | |
'workspace 2', 'layout h_accordion horizontal', | |
] |
This file contains hidden or 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
#!/bin/bash | |
# Verify if GPU is CUDA-enabled | |
lspci | grep -i nvidia | |
# Remove previous NVIDIA driver installation | |
sudo apt-get purge nvidia* -y | |
sudo apt remove nvidia-* -y | |
sudo rm /etc/apt/sources.list.d/cuda* -y | |
sudo apt-get autoremove && sudo apt-get autoclean -y |
This file contains hidden or 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
version: '3.7' | |
# Settings and configurations that are common for all containers | |
x-minio-common: &minio-common | |
image: quay.io/minio/minio:${RELEASE} | |
command: server http://site1-minio{1...4}/data{1...2} | |
environment: | |
- MINIO_PROMETHEUS_AUTH_TYPE=public | |
- CI=true |
After switching to 'Meld for Mac' from download instead of from homebrew, I saw problem again.
The problem is related how the app is closed. If you use the Menu option, the saved state is removed cleaning. If you close using the window close (read circle), the saved state remains. Somehow, when this there, the application will not open from command line. Sometimes it will open, but you need to manually switch to the Meld application from the tool bar.
To work around I added /Applications/Meld.app/Contents/MacOS/meld.wrapper.sh:
This file contains hidden or 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
To install Brew: | |
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
Install ImageMagick | |
-brew uninstall --force imagemagick | |
-brew install imagemagick@6 | |
-echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.bash_profile | |
-brew link imagemagick@6 --force | |
If you need to have imagemagick@6 first in your PATH, run: |
This file contains hidden or 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
apiVersion: storage.k8s.io/v1 | |
kind: StorageClass | |
metadata: | |
name: cg-storageclass | |
provisioner: nfs-service | |
reclaimPolicy: Retain | |
volumeBindingMode: Immediate | |
allowVolumeExpansion: false | |
parameters: | |
storageaccounttype: Standard_LRS |
This file contains hidden or 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
{ | |
"global": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": true, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ |
This file contains hidden or 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
version: '3' | |
services: | |
nginx-proxy: | |
image: nginxproxy/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: |