docker swarm | kubernetes |
---|---|
docker node ls | kubectl get nodes |
docker stack deploy -c $YAMLFILE | kubectl apply -f $YAMLFILE |
docker service create ... | kubectl create deploy -n $NAMESPACE $PODNAME ... |
docker service inspect $SERVICENAME | kubectl describe pod -n $NAMESPACE $PODNAME |
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
log |
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
FROM pytorch/pytorch:2.2.2-cuda11.8-cudnn8-runtime | |
ARG GROUPID | |
ARG USERID | |
ARG USERNAME | |
RUN groupadd -g $GROUPID developer | |
RUN useradd --no-log-init -u $USERID -g $GROUPID -s /bin/bash $USERNAME |
below hola.py
with itk(simpleitk) not working AT ALL.
TODO: please replace with Simple Elasix
- ref:
https://simpleelastix.readthedocs.io/AffineRegistration.html
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
``` | |
link https://www.reddit.com/r/Swimming/comments/1afzr77/personal_recipe_to_enhance_feel_of_water/ | |
As a recreational swimmer (swimming on and off for 20+ years), here is my recipe to enhance/regain the feel of water. | |
+ (optional) 40 min prior swimming, drink 16oz warm 50% diluted (sugar free) gatorade. | |
+ pick pool with water temp (77 to 82F, opt for an indoor pool if outdoor temp is > 80F). | |
+ 20-30 min aerobic - freestyle. | |
+ 5-10 min freestyle with pedals. | |
+ 5-10 min norma/side dolphin kicks with fins. |
function exampleFetch(){
fetch('https://reqres.in/api/users/2').then(function(response) {
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
FROM python:3.8-bullseye | |
COPY requirements.txt /tmp/requirements.txt | |
RUN pip install -r /tmp/requirements.txt |
NewerOlder