This feature also eliminates the need for third-party solutions such as kiam or kube2iam.
great
bind-key M setw synchronize-panes
tellement envie de me faire un cadeau a noel
tensorflow : ml lib google
keras : surcouche tensorflow
pytorch : ml lib facebook
scikit-learn : ml lib
xgboost : ml lib
kubeflow
airflow
mlflow
sagemaker
--> des plateformes pour prendre en charge la vie d'un projet Machine Learning (Training, stockage model, exposer un modèle via une api..)
https://github.com/volcano-sh/volcano --> scheduler
https://argoproj.github.io/argo/ --> pipelines
https://eksworkshop.com/advanced/410_batch/
serving models:
https://github.com/kubeflow/kfserving
https://www.seldon.io/ (need https://istio.io/)
joblib = un format de serialisation de données créé par scikitlearn + optimisé que Pickle pour les models de data science
Du benchmark simple avec :
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html#enable-as-instance-metrics
https://www.terraform.io/docs/providers/aws/r/appautoscaling_policy.html
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html
Pardefault les credentials temporaires donnés par un assume role sont valables 1h
C'est un peu juste en dev, pour augmenter cette periode :
1) dans le role en question, autoriser a demander +
2) au moment de faire le assume role en CLI, il faut passer un param pour demander +
Appending to a named register
Using an uppercase letter tells Vim to append text to the specified register (rather than overwriting the existing contents). For example, "Ayy copies the current line, and appends it to register ‘a’.
<3
Pour enlever des fichiers d'un commit lors d'un rebase interactif : utiliser le keyword 'edit'
Ensuite git reset HEAD^ path/to/file/to/revert
Ensuite git commit --amend
Ensuite git rebase --continue
git rebase -i $(git merge-base HEAD master)
alias grbb='git rebase -i $(git merge-base HEAD master)'
free and can be self hosted
For UDP traffic, the load balancer selects a target using a flow hash algorithm based on the protocol, source IP address, source port, destination IP address, and destination port. A UDP flow has the same source and destination, so it is consistently routed to a single target throughout its lifetime. Different UDP flows have different source IP addresses and ports, so they can be routed to different targets.
You can do <C-r>" to paste from the default register or <C-r>a to paste from register a.
Pour modifier un commit sur sa branche qui est déjà plusieurs commits derrière HEAD
1) modifier les fichiers..
2) git add les fichiers
3) git commit --fixup $hash_de_l_ancien_commit
A partir de la un nouveau commit avec le commentaire fixup! est créé
Ensuite on peut lancer le rebase interactif avec l'option autosquash qui va ordonner tout ça proprement :
git rebase -i ancien_commit --autosquash
il y a aussi l'option --squash pour git commit qui va squash dans le rebase interactif au lieu de fixup
via Martin
--resolve <host:port:address>
Provide a custom address for a specific host and port pair. Using this, you can make the curl requests(s) use a specified address and prevent the otherwise normally resolved address to be used. Con-
sider it a sort of /etc/hosts alternative provided on the command line. The port number should be the number used for the specific protocol the host will be used for. It means you need several entries
if you want to provide address for the same host but different ports.
The provided address set by this option will be used even if -4, --ipv4 or -6, --ipv6 is set to make curl use another IP version.
This option can be used many times to add many host names to resolve.
Added in 7.21.3.
Plus propre que de jouer avec du -H Header et en plus le https ne rale pas
shellcheck a maintenant une option pour auto fix
shellcheck restore.sh -f diff | git apply
J'ai toujours voulu faire le changement azerty -> qwerty, j'ai essayé une fois sans succès, mais là je suis determiné, je fais le switch complet et je ne reviens pas en arrière !
Marre de galérer à faire des brackets ou des crochets, trop de caractères inutiles sur le layout, les chiffres accessibles seulement avec shift.. bref marre d'azerty
Pour faciliter la transition sans se ruiner : https://www.amazon.fr/gp/product/B00A4G2F26
Additionally:
Ctrl-y Moves screen up one line
Ctrl-e Moves screen down one line
Ctrl-u Moves cursor & screen up ½ page
Ctrl-d Moves cursor & screen down ½ page
Ctrl-b Moves screen up one page, cursor to last line
Ctrl-f Moves screen down one page, cursor to first line
Ctrl-y and Ctrl-e only change the cursor position if it would be moved off screen.
git tag -a 1.0.1 -m "1.0.1"
git push --tags
Your task definition contains a parameter that requires a specific container instance attribute that is not available on your container instances. For example, if your task uses the awsvpc network mode, but there are no instances in your specified subnets with the ecs.capability.task-eni attribute. For more information about which attributes are required for specific task definition parameters and agent configuration variables, see Task Definition Parameters and Amazon ECS Container Agent Configuration.
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
Pressing Ctrl+Shift+Left (will move the current window to the left. Similarly right. No need to use the modifier (C-b).
I try to use vim without any plugins as I don't want to rely on them when I work on another system. Coming upon this same issue now, I can propose some 'better ways' (alternative ways) as requested by the OP:
c-w-| to have window take over (if using vsplits). c-w-= to restore. c-w-_ for horizontal splits
close the other window(s), thereby making current one fullscreen. Split and re-open from buffer to restore
simple example on how to write a kubernetes operator
$(aws ecr get-login –registry-ids <accountID_of_repository> --region <region>)
SELECT grantee, table_name , privilege_type
FROM information_schema.role_table_grants
WHERE grantee = 'readwrite'
SELECT r.rolname as username,r1.rolname as "role"
FROM pg_catalog.pg_roles r LEFT JOIN pg_catalog.pg_auth_members m
ON (m.member = r.oid)
LEFT JOIN pg_roles r1 ON (m.roleid=r1.oid)
WHERE r.rolcanlogin
ORDER BY 1;