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
;; TODO Check out helm--push-mark | |
(defun record-global-position-for-back-button (&rest not-used-args) | |
"Push mark, and add it to `global-mark-ring'. | |
This function differs from `push-mark' in that `global-mark-ring' | |
is always updated." | |
(let (location (point-marker)) | |
(callf or location (point)) | |
(push-mark location) | |
;; (when (and (eq consecutives 'limit) |
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
;;;; Helm ;;;; | |
(require 'helm) | |
(require 'helm-mode) | |
;; (require 'helm-config) | |
(helm-mode 1) | |
(global-set-key (kbd "M-A") 'helm-M-x) | |
;; (global-set-key (kbd (ht-get intellij-keymap-ht "GotoAction" "M-A")) 'helm-M-x) | |
(global-unset-key (kbd "M-1")) |
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
--- ~ » cat ~/.minikube/machines/minikubeVM/minikubeVM/Logs/VBox.log | |
VirtualBox VM 5.1.4_OSE r110228 linux.amd64 (Aug 22 2016 23:24:52) release log | |
00:00:00.012258 Log opened 2016-09-05T15:02:18.932291000Z | |
00:00:00.012259 Build Type: release | |
00:00:00.012261 OS Product: Linux | |
00:00:00.012262 OS Release: 4.7.2-1-ARCH | |
00:00:00.012263 OS Version: #1 SMP PREEMPT Sat Aug 20 23:02:56 CEST 2016 | |
00:00:00.012277 DMI Product Name: 20FBCTO1WW | |
00:00:00.012282 DMI Product Version: ThinkPad X1 Carbon 4th |
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
--- ~ » ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: enp0s31f6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 | |
link/ether 54:ee:75:9e:2a:c8 brd ff:ff:ff:ff:ff:ff | |
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 |
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
--- ~ » minikube logs | |
==> /var/lib/localkube/localkube.err <== | |
Starting etcd... | |
Starting apiserver... | |
Starting controller-manager... | |
Starting scheduler... | |
Starting kubelet... | |
Starting proxy... | |
Starting dns... |
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
Starting local Kubernetes cluster... | |
Running pre-create checks... | |
Creating machine... | |
(minikubeVM) Downloading /home/kozikow/.minikube/cache/boot2docker.iso from file:///home/kozikow/.minikube/cache/iso/minikube-0.6.iso... | |
(minikubeVM) Creating VirtualBox VM... | |
(minikubeVM) Creating SSH key... | |
(minikubeVM) Starting the VM... | |
(minikubeVM) Check network to re-create if needed... | |
(minikubeVM) Waiting for an IP... | |
Waiting for machine to be running, this may take a few minutes... |
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
Found binary path at /usr/local/bin/minikube | |
Launching plugin server for driver virtualbox | |
Plugin server listening at address 127.0.0.1:35683 | |
() Calling .GetVersion | |
Using API Version 1 | |
() Calling .SetConfigRaw | |
() Calling .GetMachineName | |
(minikubeVM) Calling .GetMachineName | |
(minikubeVM) Calling .DriverName | |
(minikubeVM) Calling .PreCreateCheck |
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: webserver | |
spec: | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: airflow |
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
import os | |
from datetime import datetime, timedelta | |
from typing import List | |
import requests | |
from k8s.io.kubernetes.pkg.api.v1 import generated_pb2 as v1 | |
from k8s.io.kubernetes.pkg.apis.batch.v1 import generated_pb2 as batch_v1 | |
from k8s.io.kubernetes.pkg.runtime import generated_pb2 as runtime | |
VND_KUBERNETES_PROTOBUF = "application/vnd.kubernetes.protobuf" |
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
(require 'elscreen) | |
(require 'helm-elscreen) | |
(require 'hydra) | |
(defvar tmux-tabs-mode-map (make-sparse-keymap) | |
"tmux-tabs-mode's keymap.") | |
(evil-define-motion tmux-tabs-goto-tab (&optional count) | |
(if count | |
(elscreen-goto (- count 1)) |