Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
-- To use: telegram-cli -k tg-server.pub -s ohgodno.lua | |
-- | |
-- Remember to watch for your telegram ID in telegram-cli, update it below. | |
-- This script will let you message yourself, and will ignore messages from others. | |
telegram_id = 1234567 | |
message_echo = "" | |
function on_msg_receive (msg) | |
if msg.to.id == telegram_id and msg.from.id == telegram_id and msg.text ~= message_echo then |
# i3 move a workspace to another monitor (multi monitor setup) | |
mode "move_workspace" { | |
bindsym Up move workspace to output up | |
bindsym Down move workspace to output down | |
bindsym Left move workspace to output left | |
bindsym Up move workspace to output up | |
bindsym Escape mode "default" | |
} |
Note: these instructions are for pre-Sierra MacOS. Sierra (10.12) and newer users see https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d by @gravitylow
If you are getting this in gdb on OSX while trying to run a program:
Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
minikube start --kubernetes-version=v1.7.0 --extra-config=apiserver.Authorization.Mode=RBAC | |
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default | |
minikube dashboard |
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os/signal" | |
"syscall" | |
"time" |
bonus tip: for more darkness > https://darkreader.org/
As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.
If you are used to installing Docker to your development machine with get-docker
script, that won't work either. So the solution is to install Docker CE from the zesty
package.
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
In order of first appearance in The Morning Paper.