Tag:back-end

  • Eclipse writes MySQL with garbled code

    Time:2019-11-18

    My website: www.mengyingjie.com The RM command is used to delete files under Linux. Its main usage is as follows: RM [options] file Option Description:-F – force ignores nonexistent files and forces deletion without any prompt-I — interactive delete-R | – R — recursive recursively deletes all directories and files under the listed directories-V — verbose […]

  • Delete command of Linux command

    Time:2019-11-17

    My website: www.mengyingjie.com The RM command is used to delete files under Linux. Its main usage is as follows: RM [options] file Option Description:-F – force ignores nonexistent files and forces deletion without any prompt-I — interactive delete-R | – R — recursive recursively deletes all directories and files under the listed directories-V — verbose […]

  • (simple) nginx configures reverse proxy, and nginx forwards requests to multiple servers

    Time:2019-11-15

    Reverse proxy: reverse proxy refers to the proxy server that accepts the request from the client, and then forwards the request to the upstream server in the intranet. After the upstream server finishes processing, the result is returned to the client through nginx. If it needs to be different according to URL or IP,Proxy requests […]

  • Access items on Tomcat without item name or 8080 port number

    Time:2019-11-14

    My website: www.mengyingjie.com 1. How to access items on Tomcat only through IP address or domain name without adding item name First, open the server.xml file of Tomcat(those who are not familiar with VI operation can learn) vi wocloud/apache-tomcat-9.0.19/conf/server.xml Find the following paragraph <Host name=”localhost” appBase=”webapps” unpackWARs=”true” autoDeploy=”true” xmlValidation=”false” xmlNamespaceAware=”false”> Add after < context path […]

  • Easy web development guide 2019

    Time:2019-11-13

    2019 is coming soon. You guys have worked hard in 2018 No matter how you are going in 2018, we will continue to refuel in 2019 Here I’ve sorted out the technologies that I think are still or will become mainstream in 2019, including front-end, back-end and full stack related technologies. Tools, software If you […]

  • On the new modifier and override keyword in C ා

    Time:2019-11-11

    Today, a friend asked me, what’s the difference between new and override in C?Attach the difference between new and override in the original problem navigation C? (all of you on SF are friends, hehe).Just saw this problem, in fact, I was a little confused, because I didn’t pay much attention to the research of these […]

  • Download and install MySQL and use Navicat for remote access

    Time:2019-11-10

    My website: www.mengyingjie.com Download and install MySQL (1) open MySQL port number on the server: 3306 (2) connect to the server with xshell (download, install and use xshell on Windows) (3) download and install MySQL Step 1: install the WGet command to download files from the Internet yum -y install wget Step 2: download the […]

  • Linux server download and install JDK

    Time:2019-11-8

    My website: www.mengyingjie.com Related to this article: Download and install Tomcat on Linux server The first is the download address of jdk8u211: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 1 check and uninstall openjdk The first step is to check whether the system comes with openjdk and related installation packages, and if so, uninstall them first.Check command: java -version rpm -qa […]

  • Remember that one-time optimization can be achieved with a single 4-core 8g machine supporting 50000 QPS

    Time:2019-11-6

    Preface The theme of this article is to record a python program performance optimization, problems encountered in the process of optimization, and how to solve them. To provide you with an optimization idea, first of all, I want to state that my way is not the only way, and there are absolutely more than one […]

  • How does the number 777 come out in “Chmod 777” under Linux

    Time:2019-10-30

    Introduction I believe that many students will encounter an error “permission denied” when executing a command or writing a file or even reading a file on Linux. We usually use the command “Chmod 777” to eliminate the error of obtaining permission. Have you ever thought about why the number is 777 and how to get […]

  • Interface as a struct field, talk about anonymous interface in golang structure

    Time:2019-10-27

    In golang, the functions like extends and override are implemented through composite. You may usually use the anonymous struct in struct. Have you ever seen the anonymous interface in struct? As an anonymous field in struct, the interface is written in the standard library sort package as follows: type Interface interface { Len() int Less(i, […]

  • Never use arrays.aslist like this!

    Time:2019-10-27

    The reason for using arrays. Aslist() is that you want to convert an array or some elements into a collection, and the collection you get is not necessarily the collection you want. At the beginning, aslist () was designed to print arrays, but at the beginning of JDK1.5, there was another more convenient print function, […]