• Websocket go project, recruit small partners to develop and maintain~


    Using go to implement websocket protocol, but there are still more details to be polished. I want to recruit a partner to do development, maintenance and testing, and learn together. Project address: github.com/yeqown/websocket Current progress: Read and write frame in websocket Conn implements open / read / write / close Support TLS connection Support receiving […]

  • Golang basic data type


    1、 Details of integer usage The size of int unit depends on the system Var a int = 6 // the symbol of 64 bit operating system a is Int64 Integers are declared int by default Var a = 100 // A is of type int Byte is equivalent to int8, no sign, range 0-255, […]

  • Using Directory.GetFiles Filtering multiple types of files


    The author of the original text does not allow reprint, send a chain here, everybody goes to see. https://codedefault.com/s/how-do-i-call-directory-getfiles-with-multiple-filters-in-csharp-application/   For backup. Here’s a brief idea Directory.GetFiles.Where Use lambda expressions to filter. To be more specific, one is used in where. Endwith, and the other is used in where Regex.IsMatch Regular expression for. For example, […]

  • Development and solution of takeout ordering app


    If e-commerce has subverted people’s shopping habits, micro blog has subverted the track of mass communication, and the Internet box has subverted your living room, what will be the next Internet subversion? The answer will probably return to the topic we are going to talk about today, namely o2o, a traditional service industry with a […]

  • Another way to write spring MVC interface


    1. Preface Usually we write itSpring MVCThe normal form of the interface is as follows: @RestController @RequestMapping(“/v1/userinfo”) public class UserInfoController { @GetMapping(“/foo”) public String foo() { return “felord.cn”; } } I’m sick of this. I’ll use it for a change todaySpring 5A new functional endpoint(Functional Endpoints)To play. This approach also supports itSpring Webflux。 Note that […]

  • 174 JavaScript interview questions to help you find and fill


    Recently, when sorting out JavaScript, I found that I met many common interview questions. This part is mainly about the author’s notes on JavaScript related knowledge and some related interview questions collected in GitHub and other major forums. I would like to share this summary with you. I would like to give you a comprehensive […]

  • How to innovate from a series of papers on removing rain


    Paper: restoring an image taken through a window covered with divide or rainHome page: https://cs.nyu.edu/~deigen/rain/ Fu xueyang homepage: https://xueyangfu.github.io/Intelligent data analysis and Processing Laboratory of Xiamen University:https://xmu-smartdsp.github.io/ 1. Restoring an image (ICCV 2013) When we take photos, we will encounter scenes taken through the glass, such as windows, windows, or through the glass, etc., and […]

  • Alpine installs telnet and other tools


    Alpine is really simple, but it’s really not used to people who are familiar with CentOS and ununtu.Therefore, record some package installation and operation details about Alpine(Gradually supplement)。 1. telnet >>> docker exec -it CONTAINERID /bin/sh /app # telnet /bin/sh: telnet: not found /app # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main] v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community] […]

  • Websocket go project, recruit small partners to develop and maintain together~


    We have implemented the websocket protocol with go, but there are still many details to polish. We want to recruit a partner to develop, maintain and test together, and learn together. Project address: github.com/yeqown/websocket Current progress: Complete frame reading and writing in websocket Conn enables on / read / write / off TLS connection support […]

  • [20191013] Oracle number type storage conversion script.txt


    [20191013] Oracle number type storage conversion script.txt –//Test to see if you can use the output of BC obase = 100 to solve the problem. In addition, before the script forgot to consider the rounding of mantissa.–//Maybe programming is like this. There are always some details that are not taken into account–//The code is num2raw_5.sh […]

  • Tensorflow learning notes (7): tensorboard — tensor and graph visualization


    Preface This paper is based on the visualization learning and graph visualization of how to, tensorflow official website. Tensorboard is a visualization tool of tensorflow. In this paper, based on learning notes (4), we modify a small amount of code to explore the use of tensorboard. Code # -*- coding=utf-8 -*- #@ Author: Chen Zhiping […]

  • Chrome is modifying the CORS implementation to hide options requests


    Within a few weeks from January 6, 2020, Google will gradually replace the CORS implementation in chrome. The new implementation is called “oor CORS” (out of renderer CORS). As the name suggests, Google wants to hide the details of CORS into the browser. CORS releated detailed network transaction can not be observed via DevTools’ Network […]