Posts

Showing posts from September, 2022

Uses for Automation

Scripts can be used for automating specific tasks. Automation replaces repetitive manual steps with processes that happen automatically. Humans are fallible—they can become tired, make mistakes, fail to follow instructions, and be inconsistent in their job performance. In contrast, automated processes complete instructions exactly as coded, in a consistent manner. They can run 24 hours a day, every day, without tiring. For many tasks suitable for automation, it can be more cost-effective than human labor. Appropriate Uses for Automation The automatic timing and regulation of traffic lights A repetitive task at high risk for human error Sending commands to a computer Detecting and removing duplicates of data Sending automated emails that are personalized by pulling individual names from a database and plugging them into the email Updating a large number of file permissions Reporting on system data, like disk or memory usage Installing software Generating reports Deploying a file or a co...

Vim Commands (Vim Cheat Sheet)

Global :h[elp] keyword  - open help for keyword :sav[eas] file  - save file as :clo[se]  - close current pane :ter[minal]  - open a terminal window K  - open man page for word under the cursor Tip  Run  vimtutor  in a terminal to learn the first Vim commands. Cursor movement h  - move cursor left j  - move cursor down k  - move cursor up l  - move cursor right gj  - move cursor down (multi-line text) gk  - move cursor up (multi-line text) H  - move to top of screen M  - move to middle of screen L  - move to bottom of screen w  - jump forwards to the start of a word W  - jump forwards to the start of a word (words can contain punctuation) e  - jump forwards to the end of a word E  - jump forwards to the end of a word (words can contain punctuation) b  - jump backwards to the start of a word B  - jump backwards to the start of a word (words can contain punctuation) ge  -...