Attempting to start the service on Android

I was trying to start the service when the device started on android, but it didn't work properly.I've looked at a lot of online links, but none of the code works.Did I forget anything? AndroidManifest.xml <receiver android:name=".StartServiceAtBootReceiver" android:enabled="true" android:exported="false" android:label ...

Posted on Wed, 18 Mar 2020 21:54:06 -0400 by daglasen

JDK 14 was officially released on the 17th. Some features deserve attention

JDK 14 was officially released on March 17, 2020, but there are still some new features that deserve attention.If you find my writing helpful, I hope to get your attention! 1. Pattern matching of instanceof: Instanceof is an instance in java that checks whether an object reference is of a given Type type and returns a Boolean value.Before Java ...

Posted on Wed, 18 Mar 2020 21:02:54 -0400 by angelkay73

certbot-auto applies for Let's Encrypt's https certificate for free

Let's Encrypt supports free wildcard certificates, which is a great thing to hear from colleagues. Before we got free certificates, we always used Aliyun's, which only has one domain name once a year. Although this pan-domain name certificate is applied for once every 90 days, it's good to apply for it automatically, say nothing more, and get ...

Posted on Wed, 18 Mar 2020 19:46:55 -0400 by neogranas

Crawler Warfare - Crawl mzitu.com (tragic anti-pickpocket failure)

This process is only for learning reference, please abide by relevant laws and regulations.   First let's analyze the website: https://www.mzitu.com/all/     It is not difficult to find that this page contains a large number of picture links, which can be said to be very convenient for us to crawl pictures. This is a good thing.So let's contin ...

Posted on Wed, 18 Mar 2020 14:53:04 -0400 by Jenk

Tomcat9 configure https link

Tomcat version: apache-tomcat-9.0.27jdk version: 1.8.0_Browser: Firefox 1. Generate certificate https protocol requires certificates. During development, we can use the keytool tool provided by jdk to generate a certificate for testing; First, make sure there is a jdk environment in the local area. You can use java version to view it. Th ...

Posted on Wed, 18 Mar 2020 13:01:24 -0400 by kippy

Java implementation of binary tree's pre order, middle order, post order, sequence traversal (non recursive method)

  in this implementation of Java, non recursive implementation of binary tree traversal of the front order, middle order, back order, sequence, in non recursive implementation, with the help of stack to help achieve traversal. The former sequence is similar to the middle sequence, but the latter sequence traversal needs tw ...

Posted on Wed, 18 Mar 2020 12:38:56 -0400 by dzm

Building vim IDE --golang in archlinux

1. install the vundle plug-in; 2. Install VIM go; 3. Install YouCompleteMe with the largest head; Use git clone to install YouCompleteMe offline. The steps are as follows: cd ~/.vim/bundle Then execute git clone https://gitee.com/Random_Coder/YouCompleteMe.git Change the owner of the YouCompleteMe directory to the current user (bysu) su ...

Posted on Wed, 18 Mar 2020 12:12:27 -0400 by Nulletz

xsequence distributed serial number generation component version 1.0 is finally released

1, Frontiers After a day's tossing, I finally released the jar of xsequence to maven. After that, I have the motivation to start, maintain some documents, and constantly upgrade and improve this component. After each upgrade, a document will be maintained to explain some new features and usage. 2. Source address https://gitee.com/xuan698400 ...

Posted on Wed, 18 Mar 2020 11:38:52 -0400 by kaeRock

got and request promise in cloud development

Today, learn how cloud development makes requests and conducts data security monitoring Problem: it is OK to request token with got, but an error is reported during security monitoring I found a lot of articles on the Internet, and also communicated with others in the group. After a comprehensive review, I found a solution ------ use request pr ...

Posted on Wed, 18 Mar 2020 11:33:12 -0400 by OU_Student

Three level linkage of ionic3

Catalog Install ion multi picker Import app.module.ts Create provider Create page A pit More Design sketch 1. Install ion multi picker Terminal operation: npm install ion-multi-picker@2.1.0 --save 2. Import app.module.ts ... import {MultiPickerModule} from 'ion-multi-picker'; ... @NgModule({ ... imports: [ ... ...

Posted on Wed, 18 Mar 2020 11:20:18 -0400 by the DtTvB