Category:Program Language

  • Creating WAP application with jsp/asp

    Time:2022-6-11

    Creating WAP application with jsp/asp (BY:DarkMan) Using ASP or JSP to create dynamic WML content is very easy. The only thing to note is to configure the server so that its script output type is “text/vnd.wap.wml”, or directly set the output type in the script. The following is an example of using JSP to output […]

  • How to view ThinkPHP historical vulnerabilities from the perspective of protection

    Time:2022-6-11

    catalogue ThinkPHP rce vulnerability and scanning traffic Vulnerability principle review ThinkPHP vulnerability network wide scanning summary ThinkPHP rce vulnerability and scanning traffic Vulnerability principle review 5.0. X version vulnerability The principle is that the key class for ThinkPHP to process requests is request (thinkphp/library/think/request.php), which can implement some settings for HTTP requests ThinkPHP supports configuring […]

  • Tutorial on using rails active resource in Ruby on rails

    Time:2022-6-10

    brief introduction Today’s applications need to interoperate not only with browser based clients, but also with other applications. For interoperability, web applications usually provide a web service API. The Web Services API provides remote access to applications over a network, such as the Internet. Until recently, web service APIs also used heavy and complex soap […]

  • Unify Paxos and raft into one protocol: Abstract Paxos

    Time:2022-6-10

    preface I wrote a PVisual explanation of Axos, describes the working principle of Paxos in simple language. Friends who have read it say that it is the most understandable introduction to Paxos they have read. They also ask me if I have also written a raft. However, raft’s introduction articles have been very high-quality. I […]

  • Lua scripting language introductory notes

    Time:2022-6-10

    What is Lua Lua is a small scripting language. It is a research group in the Pontifical Catholic University of Rio de Janeiro, Brazil. It is composed of Roberto ierusalimsch, Waldemar Celes and Luiz Henrique de figureiredo and was developed in 1993. It is designed to be embedded in the application, so as to provide […]

  • Whether the go language parameter is passed by value or reference

    Time:2022-6-10

    catalogue What is value transfer (value transfer) What is reference passing (reference passing) Confused map Chan type Slice different from map and Chan Summary To understand a language, you will be concerned about whether the parameters are passed values or references when we call a function? In fact, value transfer and reference transfer is an […]

  • Using VBScript to compress all files in the directory (zip)

    Time:2022-6-10

    Copy codeThe codes are as follows: On Error Resume Next Dim objFSO,sourcepath,targetpath,targetfile Function GetSourceFile(path) Dim file,folder,sfolder,subfolder,files If Not objFSO.FolderExists(path) ThenMsgbox “the destination folder does not exist!” Else objFSO.CreateFolder targetpath & Right(path,Len(path)-Len(sourcepath)) Set folder=objFSO.GetFolder(path) Set files=folder.files For Each file in files targetfile=targetpath & Right(path,Len(path)-Len(sourcepath)) & “\” & file.name & “.zip” Set fp=objFSO.OpenTextFile(targetfile,2,True) fp.Write Chr(80) & Chr(75) […]

  • Machine Learning – Basic points

    Time:2022-6-10

    Machine learning is the translation of English machine learning. It mainly studies how to make computers simulate or realize human behavior. Just like a student, it can acquire new knowledge or skills through learning, improve its existing knowledge structure, and continuously improve its own performance. It is the core of artificial intelligence, and its applications […]

  • Digital recognition function of image recognition based on openmv

    Time:2022-6-10

    catalogue Openmv basedimage recognition Introduction to openmv IDigit recognition   Image recognition based on openmv   Introduction to openmv What is openmv Openmv is an open source machine vision project initiated by Chris team of the United States based on micropython. The purpose is to create a low-cost, extensible, python driven machine vision module. Openmv […]

  • 2021-php interview questions – object oriented

    Time:2022-6-10

    Series of articles: 2021-php interview question “database” related knowledge points interview summary 2021-php interview questions – object oriented 1. What is object-oriented? (answers with understanding)Object oriented is an idea based on process oriented, that is to say, object oriented is to realize functions through objects, encapsulate functions into objects, and let objects realize specific details. […]

  • Tips for using list to map (collectors.tomap) in java8

    Time:2022-6-10

    In actual projects, we often use the list to map operation. In the past, we might use the for loop traversal method. for instance: Define the class first: /Simple object Then there is a list: List<User> userList = Lists. newArrayList( The format we want to convert to map is: A-> Zhang San Past practice (cycle): […]

  • Today’s interview summary

    Time:2022-6-10

    Redis cache implementation? JWT validation logic? RSA encryption and decryption features? Can go micro access a service through IP? PS: I don’t quite understand what the interviewer is looking for How to implement an RPC service? Why write a proto file? Nginx forward proxy and reverse proxy principles and application scenarios? Why can’t grpc be […]