How to collect common front-end performance information

Front end performance indicators, mostly including TTFB, first screen, first interactive time, etc There are a lot of related articles, so we won't talk about the details here. Please refer to the end of the article   In general, we need to know that the browser (New) provides us with the Performance API. With this property, we can get a ser ...

Posted by dleone on Wed, 04 Dec 2019 07:24:41 -0800

golang sends email SSL

email SSL You can find online tutorials on using golang to send and encrypt messages. Sending a simple text message is very simple, but when you need to send an attachment, you basically need to github.com/scorredoira/email. If you want to send encrypted mail with attachments, the combination of mail construction and encryption processing is a ...

Posted by intermediate on Tue, 03 Dec 2019 03:10:32 -0800

ubuntu, debian install redis, set the startup auto start and password, and allow Internet access

The package of apt comes with redis. If the version of redis is not very high, you can directly use apt to install it: apt install redis-server Start redis: redis-server Start command line interface: redis-cli Note: after apt installation, the location of redis configuration file is / etc/redis/redis.conf To modify a profile: ...

Posted by ElkySS on Sun, 01 Dec 2019 17:59:17 -0800

Solve the problem of SSLError during pip installation

The reason for this problem is that the certificate of the installation source is not trusted. You can change the configuration file of pip to solve this problem: Where is the profile first to change it? Read the source code of pip: Here is the pip source code if WINDOWS: bin_py = os.path.join(sys.prefix, 'Scripts') bin_ ...

Posted by mote on Sat, 30 Nov 2019 09:39:46 -0800

Traifik configuration automatically applies for ssl free certificate

What is an SSL certificate? Secure sockets layer (SSL) certificates (sometimes referred to as digital certificates) are used to establish an encrypted connection between a browser or user computer and a server or web site. SSL connections protect sensitive data (such as credit card information) exchanged during each access (called a session) f ...

Posted by 4rxsid on Thu, 28 Nov 2019 13:21:32 -0800

html email sent by shell

Article directory 1. Open the SMTP service of QQ mailbox server 2. Install sendEmail 3. Send email with attachments 3.1 details of sendemail command 3.2 write the test.sh script as follows 3.3 execute script sh test.sh 4. Send email with html form 4.1 table data 4.2 the script is as follows 4.3 execution script 4.4 the scr ...

Posted by johnnyblaze1980 on Thu, 28 Nov 2019 11:36:15 -0800

Archiva 2.2.3 protocol version error during installation and operation

A protocol version error occurred while Archiva was running after successful installation: Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version         at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[?:1.7.0_80]         at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[?:1.7.0_80]         at s ...

Posted by sandgnat on Wed, 27 Nov 2019 12:55:56 -0800

linux environment installs python3 environment (including setuptools,pip)

date 20191125 MondayInstall Python 3.7.3 environment on linux 6.5Because our mac environment is:(base) majihuideMacBook-Pro:~ majihui$ python -VPython 3.7.3 Next, install Python 3.7.3 on my local test environment[root@templatec6 ~]# cat /etc/redhat-release CentOS release 6.5 (Final)linux centos6.5 and centos7 are available on linux, the compi ...

Posted by derekm on Mon, 25 Nov 2019 11:34:01 -0800

Configuring HTTPS in Spring Boot2

1. Generate certificate Using jdk and keytool.exe in jre to generate self signed certificates requires the configuration of Java home and path environment variables, that is, jdk environment variables. The command is as follows: keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 Th ...

Posted by brianjw on Mon, 25 Nov 2019 09:57:34 -0800

Overflow error: String longer than 2147483647 bytes problem

problem Sketch When using python requests to upload files, theOverflow error: String longer than 2147483647 bytes error detail Problem code data = {} with open("bigfile", "rb") as f: r = requests.post(PUBLISH_URL, data=data, files={"xxx": f}) traceback Traceback (most recent call last): File "test.py", line 52, in <module&g ...

Posted by Rupo on Fri, 22 Nov 2019 12:20:09 -0800