Tag:Character string

  • New features of ES8

    Time:2020-1-27

    ES8 Today, let’s learn some new API of es8. 1. What is the relationship between the use of async / await syntax and promise?2. What is the relationship between object. Values(), object. Keys(), object. Entries()?3、 String padding? What are the syntax and usage scenarios?4. What is object. Getownpropertydescriptors()? What are the usage scenarios of descriptors? […]

  • Summary of java knowledge points (3)

    Time:2020-1-27

    abstract class Usage rule Abstract defines abstract classes; Abstract defines abstract methods, which only have declarations and do not need to be implemented; The classes containing abstract methods are abstract classes; Abstract classes can contain ordinary methods or have no abstract methods; Abstract classes cannot be created directly, and reference variables can be defined; Interface […]

  • JS digest algorithm base64 encryption and decryption and string encoding

    Time:2020-1-26

    JS digest algorithm base64 encryption and decryption unescape() and escape() encode strings encodeuri() and decodeuri() encodeuriccomponent() and decodeuriccomponent() encode Base64: bidirectional encryption. 1.Download Base64 in GitHubhttps://github.com/dankogai/js-base642.Call in corresponding HTML <body> <script></script> <script> // encryption var encodeStr = Base64.encode(“abcd1234”); console.log(encodeStr); // decryption var decodeStr = Base64.decode(encodeStr); console.log(decodeStr); </script> </body> 3.Display result YWJjZDEyMzQ= abcd1234 4.For data encryption, […]

  • Script for optimizing unity game project (I)

    Time:2020-1-26

    In this paper, ond ř EJ kofro ň, a development engineer of the Czech independent game studio lonely vertex, will share a series of optimization methods of C ාscript and provide best practices for improving the performance of unity game. During the development of the game, we encountered the problem of occasional delay in the […]

  • Suggest fast literacy of | ES6 feature

    Time:2020-1-26

    This article was originally written by yanglbme. Please contact wechat: ylb0109 for reprint ES6Also known asECMAScript2015, for now, it is not the latest JavaScript standard, but it has been widely used in programming practice. If you haven’t used ES6 yet, it’s not too late. Let’s sweep it with me. 1. let/const Difference between VaR and […]

  • JavaScript syntax and data types

    Time:2020-1-25

    JavaScript variables     Summary     Put a specific value into the variable. Then this variable represents our specific value. If we want to use this value again, we don’t need to recalculate or do other operations. We can directly use variables to get the previously stored value. Simply put, a variable is a […]

  • [video tutorial] use of bit in redis to count online days of users

    Time:2020-1-25

    Bit operation is very convenient in redis, and there are many special functions that can be realized by using this. This also forces me to study more functions provided by redis. Only by studying more can I have more open ideas. Today, I have tested the following functions of strings, and I have gained a […]

  • Python crawler: crawling and analyzing the position of pull hook

    Time:2020-1-25

    Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: stroll in idle court From:https://blog.csdn.net/danspace1/article/details/80197106 PS: if you need Python learning […]

  • Book management

    Time:2020-1-25

    Title Description thinking Two hash values are generated by using a string. One hash value determines the header of a chain table, and the other hash value determines a location behind the header of a chain. Code #include #include #include int n; char a[10], b[209]; int bs = 37, h1 = 90001, h2 = 90007; […]

  • Dynamic string learning in redis

    Time:2020-1-24

    Use of SDS The main functions of SDS in redis are as follows: Implement string object;Used as a substitute of char * type in redis program;These two uses are described in the following two sections. Implement string object Redis is a key value dB. The value of a database can be string, collection, list and […]

  • First / last goal index API interface example

    Time:2020-1-23

    Share the football special index data, first / last goal loss API interface examples, see the online documents for detailsThe interface returns JSON data, which can be parsed using fastjson. package com.huaying.demo.shenlu; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.annotation.JSONField; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.List; public class GoalOrderOdds { public static void […]

  • Json introduction

    Time:2020-1-22

    Introduction and structure of JSON JSON is the abbreviation of JavaScript object notation, which means JavaScript object notation Is the syntax for storing and exchanging text information. Similar to XML, but smaller, faster, and easier to parse than XML Introduction to the official website http://www.json.org/json-zh.html JSON (JavaScript object notation) is a lightweight data exchange format. […]