Category: DIY & Household Repairs
Practical DIY repair guides and household fixes to help you mend electronics, tools, wiring, and everyday home items safely.

How to exit VIM – VI Editor
VIM stands for Vi IMproved. As in a better editor than VI. You can start Vim at any terminal or in a SSH session on Linux with this command:

Linux commands cheat sheet the most used list
Most useful Linux commands for daily # Display how long has the system been running – since tle last restart. # List directory contents # List files in directory but better attributes and human-readable

How to parse and read XML log files CLI Linux
How to parse and read XML log files in CLI Linux – multiple files with multiple tags. Applications can log as xml and you might need to read those log files.These files can be later processed by a log aggregator application.
Find top visiting ip with Awk
You can use the Awk programming language to extract the field you need from the Apache / Httpd access logs.Then you can chain multiple commands to have the wanted output.You can also modify this to suit your needs.

How to learn Python as a second language
After watching and reading few tutorials you still can’t say that you know much Python and that’s probably true. How I try to learn it, still work in progress, is to use a project-based approach.

Random Password generator in Python
What I needed was a small script that I execute and generate a random password that is then copied to the clipboard and all I had to do was paste it Ctrl+V to use it.

155. Min Stack
Design a stack that can return the minimum element in constant time and also support pus, pop and top methods. Example:Input[“MinStack”,”push: -3″,”push: 0″,”push: -5″,”getMin”,”pop”,”top”,”getMin”]

20. Valid Parentheses Leetcode Solution
Return boolean indicating wether the pairs of paranthesis are matching and there are no un-matched paranthesis found. Using a list to implement a stack in Python.Store all the pairs of opening and closing tags in a dictionary. Closing brackets are the key.Go.

66. Plus One LeetCode Solution in Python
Given a non empty array of decimal digits representing a non-begative integer.Increment the integer, most significant digit is on the left. Each element contains a single digit.No leading zeros except for the number 0.

