Emacs CS

CS fc position ease box interval due front 2.5 0 0 2021-10-02T12:56:41Z helm-rg Rip Grep Search Ctrl-SPC h /: M-g: glob pattern, to limit search to file types M-d: to select directory Common C-c C-j: copy line C-q: ace jump words M-n: ace jump line M-g M-g: jump to line num C-i: Tab C-m: Ret Shift-k: apropos of women command like man C-h a: apropos of emacs C-x u: undo tree visualize C-M-': toggle eshell terminal Helm fc position ease box interval due front 2....

May 23, 2022 · 1 min · Jaaved Khan

Emacs

CS YAS C-, : yas company C-. : display availalbe yas snippets to choose TAB : field expand may be C-c C-y : Yas expand Code folding Heuristic: shift -> show All F12: toggle S-F12: hs-show-all M-F12: hide all Level and block F9: hide level S-F9: show block M-F9: hide block Engine mode C-x / : prefix command(pc) pc g: google pc s: stackoverflow pc e: evernote pc g: github Org mode C-c | : table highlight , seperated data and C-c | to convert it into table General M-i: helm swoop M -[: previous buffer M- ]: next buffer Xmonad M-x e: start emacs M-x d: emacs with dired M-x m: emacs email Modes HTML editing in web-mode default query replace will not work `replace-match-maybe-edit: Match data clobbered by buffer modification hooks` use vr/replace in this mode....

April 16, 2022 · 1 min · Jaaved Khan

Character encoding

In computing, data storage, and data transmission, character encoding is used to represent a repertoire of characters by some kind of encoding system that assigns a number to each character for digital representation.

April 4, 2022 · 1 min · Jaaved Khan

Linux CS

Commands Logging journalctl -f [f]ollow new messages (like `tail -f` for traditional syslog): journalctl -u kibana -f journalctl –since now|today|yesterday|tomorrow –until YYYY-MM-DD HH:MM:SS Filter messages within a time range (either timestamp or placeholders like “yesterday”): journalctl _PID=pid Show all messages by a specific process: Process Files Users Kernel lsmod Shows the status of linux kernel modules. modprobe Add or remove modules from the Linux kernel....

April 4, 2022 · 1 min · Jaaved Khan

Org Mode CheatSheet

C-c C-o: Open link smart notes C-c C-,: available templates to insert

April 4, 2022 · 1 min · jaavedkhan

Kubernetes CS

Kubectl of Keywoards pods ns: namespace(s) sc: storageclass(s) pv: persistentvolumes pvc: persistentvolumeclaim deploy: deployment(s) Actions get describe delete explain Cheatsheet kubectl get pods -A Resources kubectl get resource-type # pods, ns etc kubectl describe crd elasticsearch Services Create manifest yaml from currently running service kubectl get svc wso2apim-service -o yaml Endpoints kubectl get endpoints Delete Delete namespace kubectl delete ns elastic-system Delete all resources of a name space kubectl delete all --all -n default Delete deployment kubectl delete deploy name # kubectl get deploy Managing node ref...

March 17, 2022 · 2 min · jaavedkhan