String, StringBuffer, StringBuilder -- common methods and differences of "3S" [cloud map Zhilian]
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
length() method
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 flow in Java
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
Java uses RXTX for serial port communication
About RXTX
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
Mechanism and implementation of wechat domain name detection
<!-- /\* Font Definitions \*/ @font-face {font-family:Tahoma; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-gener ...
Posted by mr00047 on Fri, 12 Jun 2020 09:27:30 +0200
Getting Started with Android Reverse Cracking
Preface
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
Flash implements HTTP token authentication HTTP token auth
Token authentication
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
Record curl submit data encoding and javascript transform unicode problem
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 ...
Posted by boiy on Sun, 10 May 2020 16:19:42 +0200
LeetCode -- longest substring without duplicate characters
LeetCode -- longest substring without duplicate characters
Blog Description
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!
Explain
leetcode Question, Interview 48
The longest ...
Posted by calevans on Sun, 03 May 2020 05:39:23 +0200
Basic part of flash in python framework (3) ------ operation of template
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
Python 3 standard library: base64 encoding binary data in ASCII
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