Vim is the most popular Linux text editor, it was created in 1978 and is used to present days.
Vim has two modes: “Command mode” where you can insert many commands, and “Insert mode” – where you can insert and edit text document. By default Vim open all documents in “Command mode”, to enter into the “Insert mode” – press button “i“.
The most asked question is – “How to exit Vim?” – it is very simple – in Command mode enter :q! and press Enter. This command exit Vim without saving any changes.
:q!
To save file – enter command :w <filename> and press Enter:
:w file.txt
To save file and exit Vim use command :wq and press Enter
Bootstrap is the most popular CSS front-end framework. It is amazing in its capabilities, but there are other frameworks that might be good enough for you. Here are 10 of the best alternatives that you should definitely try.
1. Foundation
A Foundation framework for any device, medium, and accessibility. Foundation is a family of responsive front-end frameworks that make it easy to design beautiful responsive websites, apps and emails that look amazing on any device. Foundation is semantic, readable, flexible, and completely customizable. You cat get templates for your website: https://get.foundation/templates.html
A lightweight and modular front-end framework for developing fast and powerful web interfaces.
This framework contains hundreds of components, buttons, forms, icons, modals and other UI components for your website. Full documentation of this framework You can see on this website: https://getuikit.com/docs/introduction
A modern responsive front-end framework based on Material Design. Material design is a language created by Google that combines traditional design methods with innovation and technology.
Metro 4 is a component library for developing sites with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with responsive grid system, extensive prebuilt components, and powerful plugins.
Metro 4 developed to build websites in Windows Metro Style and include general styles, grid, layouts, typography, 100+ components and routines, 600+ built-in icons.
Metro 4 is an open-source and has an free dual licensing model.
To install GPG on your Debian/Ubuntu/Mint Linux operating system use command:
sudo apt install gpg
Simple encrypt command with password:
gpg -c [FileName.txt]
Simple decrypt encrypted file with gpg:
gpg -o [FileName.txt] -d [FileName.txt.gpg]
This command decrypt enctypted file FileName.txt.gpg into normal file FileName.txt
Encryption using a key pair (asymmetric encryption):
Default GPG folder is: /home/user/.gnupg. Generate private and public keys:
gpg --full-generate-key
Answer the several questions (encryption type: RSA, keysize: 4096 for better encryption, key expiration time, your name and email address) and press “O” if all changes are correct.
To run Windows programs in Linux we use Wine. But how to open any file with exe program using Wine? For example we have 1.txt file. To run this file with notepad.exe use command:
wine "/home/user/notepad.exe" 1.txt
To associate some type of files with EXE program we can use shell script:
I created two files: Stop.bat and Start.bat. First stop bad device when Windows is shutting down, and the second start hardware when windows is starting. This solution help’s me and CPU no longer load by 100%
The official WineHQ repository has a set of standard Wine packages that you can download and install on your system. Please follow these steps to do so:
Run the following command in the Terminal for adding i386 architecture before installing a 64-bit version of Wine: