Introduction to String class
String yes a reference data type is null by default;String is of final type and cannot be changed and inherited;The combination of basic type and String will be converted to String type;
1, String common methods
1. Use the length() method of the String class to get the length of the declared String o ...
Posted by DedMousie on Mon, 22 Jun 2020 05:35:21 +0200
IO stream, that is, the technology used to manipulate the content of a File. So before we talk about IO streams, we need to know about the File class.
1, File file class
1. File class introduction
File is used by Java to represent files / folders (directories). Files / folders on the hard disk can b ...
Posted by pendelton on Sun, 14 Jun 2020 09:59:29 +0200
RXTX is an open source java class library that provides serial and parallel port communication. The files published by this project follow LGPL protocol.
RXTX project provides compatibility under windows, Linux, Mac OS X, and Solaris Operating Systems javax.comm The implementation of the ...
Posted by nightowl on Fri, 12 Jun 2020 11:01:05 +0200
A little bit of Android Reverse was done the year before, but it hasn't been done for a long time. Recently, a buddy asked me to help him do a subtitle about Android Reverse, so pick up the knowledge of Android Reverse and start over. This apk is a very simple, entry-level Android Reverse Analysis program, so this article is main ...
Posted by manyamile on Sat, 23 May 2020 06:55:43 +0200
In restful design, user authentication mode usually uses json web token instead of traditional HTTP Basic authentication (incoming account password) The token authentication mode is as follows: add token to the request header
Implementation in Flask
Flask extension flask httpauth provides the authentication ...
Posted by hchsk on Thu, 21 May 2020 16:58:01 +0200
1. Data coding problem of curl submission
When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded.
1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding.
2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code.
3. Wri ...
LeetCode -- longest substring without duplicate characters
The information in this article comes from the Internet and personal summary, which is intended to summarize personal learning and experience. If there is any infringement, please contact me to delete it. Thank you!
leetcode Question, Interview 48
The longest ...
Posted by calevans on Sun, 03 May 2020 05:39:23 +0200
1.flask specific variables and functions:
Variables: g, session, request, config
Functions: URL for(), get flashed messages(), please pay attention to this function. Remember that it is a function. Don't forget to write brackets!!!!!!!!!
I don't need to talk much nonsense. I'll go straight to the code to experience it:
First, explain a bug. Whe ...
Posted by keith73 on Fri, 01 May 2020 11:01:27 +0200
1. base64 encodes binary data in ASCII
The base64 module contains functions that transform binary data into a subset of ASCII suitable for transmission using the plain text protocol. Base64, Base32, Base16, and Base85 encode to convert 8-bit bytes into characters within the range of ASCII printable characters, leaving more bits to represent dat ...
Posted by Ne.OnZ on Sun, 12 Apr 2020 05:46:12 +0200