This file contains hidden or 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
| du -d1 -h /var/lib/docker/containers | sort -h |
This file contains hidden or 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
| # On the Edge Device | |
| ssh -f -N -D 54321 <local username>@localhost | |
| ssh <remote user>@<remote host> -R6666:localhost:54321 | |
| # on the jump machine if you're using open ssh you have to change the GatewayPorts to "yes" in /etc/ssh/sshd_config | |
| # on your local machine, point to <remote host>:6666 as your socks proxy |
This file contains hidden or 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
| sudo snap install microk8s --classic | |
| microk8s.status --wait-ready | |
| sudo snap alias microk8s.kubectl kubectl | |
| sudo snap alias microk8s.kubectl k |
This file contains hidden or 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
| apt update | |
| apt install -y docker.io tmate openssh-server | |
| sudo systemctl enable docker | |
| sudo systemctl start docker | |
| mkdir /var/lib/sugar |
This file contains hidden or 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
| rm -rf /etc/kubeedge | |
| rm -rf /etc/kubernetes/ | |
| rm -rf /var/lib/etcd | |
| pkill edgecontrolle && pkill kubelet && pkill containerd && pkill etcd && pkill kube-apiserver && pkill kube-* && pkill kube-apiserver && pkill |
This file contains hidden or 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
| apt-get update && apt-get install -y apt-transport-https curl | |
| curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
| cat <<EOF >/etc/apt/sources.list.d/kubernetes.list | |
| deb https://apt.kubernetes.io/ kubernetes-xenial main | |
| EOF | |
| apt-get update | |
| apt-get install -y kubelet kubeadm kubectl | |
| apt-mark hold kubelet kubeadm kubectl | |
This file contains hidden or 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 | |
| sudo apt-get install -y software-properties-common && \ | |
| sudo add-apt-repository ppa:tmate.io/archive && \ | |
| sudo apt-get update -y --allow-unauthenticated && \ | |
| sudo apt-get install -y tmate | |
| cat /dev/zero | ssh-keygen -q -N "" | |
| tmate -S /tmp/tmate.sock new-session -d # Launch tmate in a detached state | |
| tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' # Prints the SSH connection string |
This file contains hidden or 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
| { | |
| "done": true, | |
| "metadata": { | |
| "@type": "type.googleapis.com/google.cloud.speech.v1.LongRunningRecognizeMetadata", | |
| "lastUpdateTime": "2019-03-31T01:02:54.219080Z", | |
| "progressPercent": 100, | |
| "startTime": "2019-03-31T00:51:26.341552Z" | |
| }, | |
| "name": "8259363852248137310", | |
| "response": { |
This file contains hidden or 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
| { | |
| "jobName": "p1", | |
| "accountId": "xxx", | |
| "results": { | |
| "transcripts": [ | |
| { | |
| "transcript": "This call is being recorded. Even has a go Good. How are you? Shouldn't gives his enter. Yeah Don't pronounce your name, is it? I'LL be. It's all be service. Excellent. Yeah. How's it going? Appreciate you taking the time today. Yeah, of course. I was as intrigued by the Post and I was really no medium sos. OK, Why not? Well, you're the brave soul that decided to go first, so we'll see how it goes Way beyond measure Tried Teo calls you mia. We don't make a big public thing of it is a good morning internal Obviously talking entrepreneurs around campus D'Oh shared through, like a newsletter And yeah, it is interesting. I've been on the other side of the table so that it's interesting. Did you ever continue with it, or did you just do a couple episodes and drop it? Yeah, we did about seven episodes. They we obviously like somebody else took the ball and Kip roll with it. I think t |
This file contains hidden or 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
| Verifying my Blockstack ID is secured with the address 1wfJqf4GaJ7eT3JXB72LJKmrFkZhLNkF2 https://explorer.blockstack.org/address/1wfJqf4GaJ7eT3JXB72LJKmrFkZhLNkF2 |