;; The undo keybindings `C-x u` and `C-_` enter the polyp.
(defpolyp polyp-undo
"_u_ndo _r_edo"
("u" undo-fu-only-undo "C-x u" "C-_")
("r" undo-fu-only-redo))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
(defvar sk-package-loading-notice-list '(org yasnippet)) | |
(defun sk-package-loading-notice (old &rest r) | |
(let* ((elt (car r)) | |
(mode | |
(when (stringp elt) | |
(let ((ret (assoc-default elt auto-mode-alist 'string-match))) | |
(and (symbolp ret) (symbol-name ret))))) | |
(pkg | |
(cond ((symbolp elt) elt) |
This file contains 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 | |
# Bash Import/Source script | |
# Prints/Sends start/error/end messages | |
set -o pipefail | |
set -o errtrace | |
# Have below variables set | |
TELEGRAM_BOT_TOKEN='' | |
TELEGRAM_CHAT_ID='' |
This file contains 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
REGEDIT4 | |
[HKEY_CLASSES_ROOT\org-protocol] | |
@="URL:Org Protocol" | |
"URL Protocol"="" | |
[HKEY_CLASSES_ROOT\org-protocol\shell] | |
[HKEY_CLASSES_ROOT\org-protocol\shell\open] | |
[HKEY_CLASSES_ROOT\org-protocol\shell\open\command] | |
@="\"C:\\BIN\\org-protocol-to-wsl-helper.bat\" \"%1\"" |
This file contains 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 'json) | |
(defvar tree-mode-map | |
(let ((map (make-sparse-keymap))) | |
(define-key map "v" 'kwarks/tree-view-file) | |
(define-key map "o" 'kwarks/tree-find-file) | |
(define-key map (kbd "RET") 'kwarks/tree-find-file) | |
(define-key map "c" 'kwarks/tree-copy-node-path) | |
(define-key map "s" 'kwarks/tree-subtree) | |
(define-key map "r" 'kwarks/tree-reload) |
Listing pods with kubectl get pods
, then select a pod name and copy paste it into kubectl logs [pod name]
- I want to streamline my workflow and stop using the terminal
- learn more about kubernetes
- main kubernetes extension for Emacs out there is greedy for permissions
This file contains 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
#!/usr/bin/env zsh | |
# _ _ | |
# __ _| | _____ _ _ ___ _______| |__ | |
# \ \/ / |/ / _ \ | | / __| |_ / __| '_ \ | |
# > <| < __/ |_| \__ \_ / /\__ \ | | | | |
# /_/\_\_|\_\___|\__, |___(_)___|___/_| |_| | |
# |___/ | |
last_class="none" | |
current_map=default |
This file contains 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/sh | |
IFACE=$1 | |
ACTION=$2 | |
ntfy () { | |
sudo -u cengiz \ | |
DISPLAY=:0 \ | |
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \ | |
notify-send "$1" "$2" |
| Title | Description
NewerOlder