<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cs on Jaaved Ali Khan</title><link>https://jaaved.netlify.app/tags/cs/</link><description>Recent content in cs on Jaaved Ali Khan</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Wed, 24 Jan 2024 22:07:34 +0300</lastBuildDate><atom:link href="https://jaaved.netlify.app/tags/cs/index.xml" rel="self" type="application/rss+xml"/><item><title>Emacs</title><link>https://jaaved.netlify.app/notes/202105311020-emacs/</link><pubDate>Wed, 24 Jan 2024 22:07:34 +0300</pubDate><guid>https://jaaved.netlify.app/notes/202105311020-emacs/</guid><description>Modes # web-mode # For HTML, CSS and JS editing and more
default query replace will not work `replace-match-maybe-edit: Match data clobbered by buffer modification hooks` use vr/replace in this mode. follow-mode # Documents can be viewed by splitting the frame vertically, document in the second frame follows the first continuously.
Debugging # Workflows # Search or find files # in project (git or hg) use projectile to search for files # select project search the file in a directory # in a directory use helm-find to search files recursively open file with default program select and hitting &amp;ldquo;Enter&amp;rdquo; will open file using external program configured in `openfile` configs non-default program using &amp;ldquo;shell-command&amp;rdquo; C-SPC !</description></item><item><title>NotDeft</title><link>https://jaaved.netlify.app/notes/notdeft--20211219-143228/</link><pubDate>Wed, 15 Mar 2023 12:57:56 +0300</pubDate><guid>https://jaaved.netlify.app/notes/notdeft--20211219-143228/</guid><description>Summary # ref It supports search filetags, org standard tags. org roam creates tag with filetags to be compatible with org mode.
Following kewords are supported in the search query:
file ext: extension without &amp;ldquo;.&amp;rdquo; path title: tag: filetags !time: decreasing file modification time !rank: recreasing relevance !file: alphabetically sorted, decreasing order !all: show all matching results, including low ranking Cheat Sheet # Tab: build query e.g.: tag:bookmark S-Tab or enter empty: clear query Sample queries # Emacs AND Org Emacs AND NOT Org !</description></item><item><title>Emacs CS</title><link>https://jaaved.netlify.app/notes/202105311020-emacs_cs/</link><pubDate>Sat, 14 Jan 2023 20:22:57 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202105311020-emacs_cs/</guid><description>C-q: ace jump words 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-&amp;rsquo;: toggle eshell terminal YAS # C-, : yas company C-. : display availalbe yas snippets to choose TAB : field expand may be C-c C-y : Yas expand General # Engine mode # C- c C-s : prefix command(pc) pc C-m: google pc C-s: stackoverflow pc C-e: evernote pc C-g: github Org mode # C-c | : table highlight , seperated data and C-c | to convert it into table Magit # S-g, C-c C-v General # Secret # kubectl get secret # get value kubectl get secret quickstart-apm-apm-token --output=go-template=&amp;#39;{{index .</description></item><item><title>Character encoding</title><link>https://jaaved.netlify.app/notes/202105111653-character_encoding/</link><pubDate>Sat, 14 Jan 2023 20:12:29 +0400</pubDate><guid>https://jaaved.netlify.app/notes/202105111653-character_encoding/</guid><description>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.</description></item><item><title>Org Mode CheatSheet</title><link>https://jaaved.netlify.app/notes/202102241738-org_mode_shortcuts/</link><pubDate>Sat, 03 Dec 2022 11:48:13 +0300</pubDate><guid>https://jaaved.netlify.app/notes/202102241738-org_mode_shortcuts/</guid><description> C-c C-o: Open link smart notes C-c C-,: available templates to insert from org 9.2 C-c C-x p: set properties C-c -: Insert separator line in table or modify bullet status of line.</description></item><item><title>Linux CS</title><link>https://jaaved.netlify.app/notes/202106081201-linux_cs-jaavedkhans-conflicted-copy-2021-07-26/</link><pubDate>Mon, 04 Apr 2022 10:31:18 +0300</pubDate><guid>https://jaaved.netlify.app/notes/202106081201-linux_cs-jaavedkhans-conflicted-copy-2021-07-26/</guid><description>Commands # Logging # journalctl -f [f]ollow new messages (like `tail -f` for traditional syslog): journalctl -u kibana -f journalctl &amp;ndash;since now|today|yesterday|tomorrow &amp;ndash;until YYYY-MM-DD HH:MM:SS Filter messages within a time range (either timestamp or placeholders like &amp;ldquo;yesterday&amp;rdquo;): 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.</description></item><item><title>Kubernetes CS</title><link>https://jaaved.netlify.app/notes/20210729191841-kubernetes_cs/</link><pubDate>Thu, 17 Mar 2022 16:08:23 +0300</pubDate><guid>https://jaaved.netlify.app/notes/20210729191841-kubernetes_cs/</guid><description>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</description></item></channel></rss>