Pattaya in suspended animation

The Thai woman makes a video with commentary in English about how things are now in the resort areas of Thailand. In short, there are no people. Some 7-Eleven and Family Mart even closed - I was surprised, I didn't think that most of the buyers are foreigners. Although appropriate, the money fed from tourists […]

Wedding photography in Thailand (Pattaya) - examples

There are many beautiful and good girls in Thailand who you want to marry. (You can also marry bad girls - but then you don't have to complain ). My one of the most beautiful and favorite photos from Thailand are wedding photos. If you just want to see examples of salon photos of marriage, […]

How to set up Varnish, rule examples

Table of contents 1. How to change Varnish options 2. How to change cache retention time in Varnish 3. How to prevent Varnish from creating new cache for different browsers 4. A 403 page got into the Varnish cache and now it is shown to all users 5. How to make Apache logs show real IP address instead of […]

ONVIF client with command line interface

ONVIF is an open industry forum that provides and promotes standardized interfaces for effective interoperability of IP-based physical security products. ONVIF protocol can be found on security cameras. Using ONVIF protocol, you can receive information from IP cameras and control them (set settings, rotate, etc.). This article will talk about python-onvif - an ONVIF client […]

What program to open .docbook files (DocBook)

In fact, .docbook files are not meant to be read - they are meant to be converted to HTML, man, PDF, DOCX, ODT, EPUB, FictionBook2, and many others. What is DocBook? DocBook is an XML-based standard used in many modern documentation tasks. When you want to create a DocBook document source, you write XML files […]

How to run “bundle install” as root

The “bundle install” command does not allow you to run it as root. For example, the following sequence of commands will fail: gem update --system xcode-select --install gem install nokogiri bundle install The last command will show an error: Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing […]

Warning: apt-key is deprecated (SOLVED)

The apt-key command manages keys that are responsible for verifying the signature of application package repositories. Now, whenever you use the apt-key command, you will receive the message: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). It means that the apt-key program is now deprecated. Now we should use trusted.gpg.d to […]

Instructions for using the file command

How to find out the type of a file without an extension or with the wrong extension The file command can determine the file type for regular files and the file system used for disks. The file utility uses magic bytes. The bottom line is that files of the same type have the same bytes […]

How to split a large file (text or binary) into smaller files (SOLVED)

split command instructions I have a large (by the number of lines) text file that I would like to split into smaller files, also by the number of lines. So if my file has about 2 million lines, I would like to split it into 10 files containing 200k lines, or 100 files containing 20k […]