Windows Tip - Quick Way to Open CMD in Directory

There are often situations where cmd is needed in a folder, such as running a script. Here are several ways to do this. Take the following directory operations as an example: Mode 1: Common cd commands The cd command is the most common way we use it: Win+R opens the cmd window, which is displayed as follows by default (non-administrator mo ...

Posted by sfc12345 on Fri, 17 May 2019 21:31:11 +0200

C Pointer Principle - AT&T Assembly

Assembly is more significant in LINUX system than in WINDOWS system. The code of LINUX kernel is compiled in assembly. Then, most Linux programmers have only been exposed to assembly language under DOS/Windows before, and these assembly codes are all Intel-style. But in Unix and Linux systems, AT&T format is more used. There are great diff ...

Posted by northstjarna on Fri, 17 May 2019 17:05:51 +0200

tomcat, httpd log format description

tomcat log description Configuration file server.xml The default log format is pattern="%h %l %u %t "%r" %s %b" Recommended use pattern="%{X-FORWARDED-FOR}i %l %u %t %r %s %b %D %{User-Agent}i" The log output is as follows 192.168.3.14 - - [14/Dec/2017:17:56:05 +0800] GET /solr/admin/cores?_=1513245362283&indexInfo=false& ...

Posted by irn3rd on Fri, 17 May 2019 09:33:37 +0200

Linux Cluster Architecture (Cluster Introduction, Keeping Alive Introduction, Configuring High Availability Clusters with Keeping Alive)

Cluster introduction Overview of Linux Cluster According to the function, it can be divided into two categories: high availability and load balancing. High availability clusters usually consist of two servers, one working and the other serving as redundancy. When the serving machine goes down, redundancy will take over and continue to serve. Op ...

Posted by matjaz on Fri, 17 May 2019 03:48:37 +0200

Research on State Preservation in React

When using react with react-router for application, you may encounter such a problem. When I transit from the first page to the second page, and then return, I find that the state of the previous page has disappeared, that is, back to the original state. This is more obvious when there are multiple TAB pages or multi-criteria screening on the p ...

Posted by nishmgopla on Fri, 17 May 2019 01:23:19 +0200

C# Grammar - Message, the core technology of MVVM.

In C #, a message has two directions, one to Message and one to INotify. This is mainly about INotify. INotify is also called a notice. Whether it is called a message or a notice, it means to convey information. Definition of message The INotify message is actually an interface called INotify Property Changed. The interface is defined as fol ...

Posted by jsscart on Thu, 16 May 2019 17:03:21 +0200

About DuiLib's DPI Adaptation

In some cases, although DuiLib can zoom normally with high DPI settings, the zoomed display is not good, the text and picture display is blurred, which affects the user experience. After many experiments, the solutions are as follows: In the project file settings, make property settings for the corresponding project: one In Proj ...

Posted by slicer123 on Thu, 16 May 2019 13:09:14 +0200

Learn to Crawl Together: Using xpath Library to Crawl the Domestic Box Office List of Cat Eye Movies

I shared an article about using requests library to crawl 250 Douban Movies. Today I will continue to share about using xpath to crawl the cat's Eye movie popularity list. XPATH syntax XPATH(XML Path Language) is a language used to find information from XML files. General purpose is to find data from HTML files. If you want to be good at your j ...

Posted by Bill Dew on Thu, 16 May 2019 01:58:23 +0200

Install and deploy Zabbix agent on Windows Server (latest version)

Install and deploy Zabbix agent on Windows Server Download and unzip to the specified directory Zabbix download page: https://www.zabbix.com/download Current latest version of zabbix-agent Download https://www.zabbix.com/downloads/3.4.0/zabbix_agents_3.4.0.win.zip Unzip to disk C and rename the directory zabbi ...

Posted by rubbertoad on Wed, 15 May 2019 23:20:22 +0200

mysql character set and data type

Lesson_2 MySql-2 1.1 character set Character Set: A set of binary codes for visible characters when they are saved and transmitted. Character sets are used in two places 1. Save data 2. Data transmission 1.2 Use Character Sets for Survival 1. MySQL can specify character encoding on servers, databases, tables a ...

Posted by Greaser9780 on Wed, 15 May 2019 19:48:27 +0200