I hereby claim:
- I am rpsene on github.
- I am rpsene (https://keybase.io/rpsene) on keybase.
- I have a public key whose fingerprint is 33C4 6492 26AE 9A0C 5444 7B8E E35F BC63 5C44 5BEC
To claim this, I am signing this object:
| # -*- coding: utf-8 -*- | |
| # | |
| # Copyright (C) 2015-2020 Bitergia | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |
| # -*- coding: utf-8 -*- | |
| # | |
| # Copyright (C) 2015-2020 Bitergia | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |
| ## Get API URL | |
| oc cluster-info | grep -E 'Kubernetes master|Kubernetes control plane' | awk '/http/ {print $NF}' | |
| output: https://api.ocp-46-20210119-145312-23b3a025d7.158.175.162.14.nip.io:6443 | |
| ## Get CA certificate | |
| oc get secrets |
| multipath -ll | sed -n '/^mpath/,/^size/p' >> /tmp/mpath.log && x=1 && while IFS="" read -r p || [ -n "$p" ]; do STR1=$(printf '%s\n' "$p" | sed 's/\s.*$//'); STR2+=$STR1" "; y=$(($x % 2)); if [ $y -eq 0 ]; then printf '%s\n' "$STR2"; echo "---"; STR2=""; fi; x=$(( $x + 1 )); done < /tmp/mpath.log; rm -f /tmp/mpath.log; touch /tmp/mpath.log; |
| 1 - nvidia-docker run -it --env LICENSE=yes -p <PORT>:<PORT>/tcp ibmcom/powerai:1.6.0.all bash | |
| 2 - python -c "import torch;print(torch.__version__)" | |
| 3 - python -c "import tensorflow as tf;print(tf.__version__)" | |
| 4 - conda install -y git jupyter matplotlib | |
| 5 - git clone https://github.com/pvaneck/tf_mnist |
| 1 - nvidia-docker run -it --env LICENSE=yes -p <PORT>:<PORT>/tcp ibmcom/powerai:1.6.0.all bash | |
| 2 - python -c "import torch;print(torch.__version__)" | |
| 3 - python -c "import tensorflow as tf;print(tf.__version__)" | |
| 4 - conda install -y git jupyter matplotlib | |
| 5 - git clone https://github.com/pvaneck/tf_mnist |
| nvidia-docker run -it --env LICENSE=yes -p <PORT>:<PORT>/tcp ibmcom/powerai:1.6.0-all bash | |
| python -c "import torch;print(torch.__version__)" | |
| python -c "import tensorflow as tf;print(tf.__version__)" | |
| conda install -y git jupyter matplotlib | |
| git clone https://github.com/pvaneck/tf_mnist |
| // Google Forms Slack Notification | |
| // Andy Chase <github.com/andychase> | |
| // License: CC0 1.0 Universal <creativecommons.org/publicdomain/zero/1.0> | |
| // Install 1: This code goes in ( tools > script editor... ) of your google docs form | |
| // Install 2: ( resources > current project triggers ) ( [onSubmit], [from Form], [On form submit] ) | |
| // Setup 1: Put your slack api url below | |
| var POST_URL = "https://hooks.slack.com/services/"; | |
| function onSubmit(e) { |
| # the following two lines give a two-line status, with the current window highlighted | |
| hardstatus alwayslastline | |
| hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n %t%{= Kr}]%{= Kd}%+w %-= %{KG} %H%{KW}|%{KY}%101`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}' | |
| # huge scrollback buffer | |
| defscrollback 50000 | |
| # scroll | |
| termcapinfo xterm* ti@:te@ |
I hereby claim:
To claim this, I am signing this object: