Instantly share code, notes, and snippets.

Stderr output

<search_application> milkyway_separation 1.46 Linux x86_64 double OpenCL </search_application>
mkdir /tmp/MW /tmp/MW/build
cd /tmp/MW
git clone --depth=10
cd milkywayathome_client
git submodule init
git submodule update --recursive
cd ../build
View telegraf.conf
# Telegraf Configuration
# Telegraf is entirely plugin driven. All metrics are gathered from the
# declared inputs, and sent to the declared outputs.
# Plugins must be declared in here to be active.
# To deactivate a plugin, comment out the name and any variables.
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config
# file would generate.
# ref:
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo 4 > /sys/class/drm/card0/device/pp_power_profile_mode
View quez.txt
Creating model...
Restoring weights...
Human: What Happens If Trump Wins His Bet on Demagoguery?
Alice: I'm sorry, Your Honor.
Human: How long can we go on like this?
Alice: Well, in that situation there was not an expectation of privacy that he would not have given notice of that event.
Human: Do your best to try to keep party labels out of the debate, because it’s really important, okay?
View .bashrc
# Alternatively, having a symlink of /usr/local/cuda points to installed cuda version
export PATH=/usr/local/cuda-10.0/bin:$PATH
export CUDA_HOME=/usr/local/cuda
  • DNS mostly fails inside applicatin pods on brand new cluster
  • [KubeDNS not working inside of pod when its contaiers are on the same node with kube-dns containers][1]
  • [Architecture Overview of Kubernetes][2]
  • [Persistent Storage with Persistent Volumes][3] in Kubernetes
  • [K8s readthedocs][4]
  • [Install K8s in Ubuntu][5]
  • [Kubernetes Foundational][6]
apt-get update && apt-get dist-upgrade -yq
apt-get install -yq vim git apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
apt-get update && apt-get install -yq docker-ce
curl -s | apt-key add -
echo "deb kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list
apt-get update && apt-get install -yq kubelet kubeadm kubernetes-cni

had i known

had I known the future,
would I cherish the present
without reminiscing the past?

had I known the end
with the fastest light path,
would I look for the other way?
# reference:
echo "Adding default route to $route_vpn_gateway with /0 mask..."
ip route add default via $route_vpn_gateway
echo "Removing /1 routes..."
ip route del via $route_vpn_gateway
ip route del via $route_vpn_gateway