#!/bin/bash | |
# Function to display usage information | |
usage() { | |
echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
exit 1 | |
} | |
# Check if at least one argument (input file) is provided | |
if [ $# -lt 1 ]; then |
```dataviewjs | |
this.container.style.minHeight = "1000px"; | |
const { renderCalendar } = app.plugins.plugins["obsidian-full-calendar"]; | |
let today = moment().format("GGGG-[W]WW"); | |
let rawData = await dv.io.csv("DataStores/csv/" + moment().format("GGGG-[W]WW") + ".csv"); | |
let entries = rawData.map((p) => ({ | |
backgroundColor: p.calendar == 'family' ? '#452538' : '#4d95f7', | |
borderColor: this.app.vault.getAbstractFileByPath(p.id + ".md") ? '#406f0b' : '#4d95f7', | |
allDay: p.allDay, |
This documentation adds important additions to the docs for kamal deploy tool (see github.com/basecamp/kamal)
You can use kamal deploy --destination staging
This will read config/deploy.yml and config/deploy.staging.yml files, and also will read .env.staging file if it exists.
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', | |
] |
#!/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 |
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:
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: |