Custom Emacs modes and ssh configsFiled under: programming
New Blog Posts template with Emacs
Created emacs Hakyll Templates for this blog, inspired by this StackOverflow post. Emacs plugs are written in lisp, which looks like the code below.
This particular code says that when you type
M-x (alt + x)` on your keyboard, followed by insight-blog-new-post - you’ll get three prompts for input, namely: title, tags, and header image.
Ssh easy to remember server names
Instead of typing ssh [email protected], you can type in something easier to remember at the command line. An example command would be like,
ssh niketown. You can do this by settng your ssh config files.
add the following lines:
For my 4 nodes, I have master, worker1, worker2, and worker3.