This is the simple function to avoid running colcon build in the directory which is not contain folder named 'src/'
(which might infer the place which is not the colcon workspace)
i know that removing build/ install/ logs/ is so painful !
| #! /bin/bash | |
| icon_size=$1 | |
| defaults -currentHost read -globalDomain NSStatusItemSpacing; defaults -currentHost read -globalDomain NSStatusItemSelectionPadding | |
| echo "Changing icon to size $icon_size" | |
| defaults -currentHost write -globalDomain NSStatusItemSpacing -int $icon_size; defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int $icon_size |
| #!/usr/bin/env python3 | |
| """ | |
| Triplet Dataset | |
| - torchvision ImageFolder with Triplet Data | |
| """ | |
| # Author : Tutorgaming <Tutorgaming@gmail.com> | |
| # Date : 2-Sept-2024 | |
| ##################################################################### | |
| # Imports | |
| ##################################################################### |
| <!DOCTYPE html> | |
| <html lang="th"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | |
| <meta name="theme-color" content="#1a7d8f"> | |
| <meta name="apple-mobile-web-app-title" content="สุขภาพหลัก"> |