- How to generate an MP4 with H.265 codec using FFmpeg?
- H.265 HEVC support in High Sierra
- Converting WebM to MP4 Using FFmpeg
Copied from: Moving efficiently in the CLI
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
#!/bin/bash | |
# Get a list of GPUs in a system | |
# | |
# Useful nvidia-smi Queries | |
# https://nvidia.custhelp.com/app/answers/detail/a_id/3751/~/useful-nvidia-smi-queries | |
# Get GPU names as a bach array, replace spaces with underscores | |
gpu_names=($(nvidia-smi --query-gpu=gpu_name --format=csv,noheader | tr -s ' ' '_')) | |
for name in "${gpu_names[@]}" |
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
Found here: Conda environments not showing up in Jupyter Notebook
- Make sure you install
jupyter
in the environment to be added.
Get the EC2 instance type from within an EC2 instance.
Modified from Getting the AWS instance ID from within the EC2 instance.
curl http://169.254.169.254/latest/meta-data/instance-type
NewerOlder