Tag:file type

  • Linux file classification

    Time:2022-7-17

    catalogue Linux everything is a file Five Linux files Ordinary documents Catalog file Equipment documents Pipeline file Linked file Linux everything is a file Linux abstracts the management of data files, program files, device files, network files, etc. into files, which are managed in a unified way. However, the Linux operating system must also distinguish […]

  • How to do breakpoint continuous transmission for large file upload?

    Time:2022-6-11

    1、 What is it No matter how simple the requirements are, they will become extremely complex when the magnitude reaches a certain level File uploading is simple, but file size is complex When uploading large files, the following variables will affect our user experience The ability of the server to process data request timeout Network […]

  • JS implementation blob download file

    Time:2022-5-13

    1. First create an HTTP request let xhr = new XMLHttpRequest(); xhr. open(‘get’, url, true); // URL is the address link xhr.setRequestHeader(‘Content-Type’, `application/${type}`); xhr.responseType = “blob”; xhr.onload = function () { if (this.status == 200) { //Accept binary stream var res = this.response; downloadExportFile(res, fileName, type) } } xhr.send(); } @Param res: file link @Param […]

  • Safe dog file upload bypass

    Time:2022-5-5

    Website security dog (WAF) file upload is restricted to the vulnerability protection sub module under the website protection module   The file types appearing in the above list will be blocked by WAF when uploading, but not all file types are added with detection rules by default, such as picture files (. JPG). Because it […]

  • Oeasy teaches you to play with VIM – 27 – file types

    Time:2022-4-27

    file type Recall the last lesson Last time I learned about various ways of indentation Used in normal mode<<indent Used in insert modetabindent Show indent:set listchars=eol:$,tab:>-,space:_ There are parameters about the number of spaces corresponding to indentation expandtab shiftwidth tabstop softtabstop autoindent Abbreviated as:set noet sw=4 ts=4 sts=4 ai Can different file types correspond to […]

  • Oeasy teaches you to play VIM – 28 – horizontal movement

    Time:2022-4-25

    Horizontal movement Recall the last lesson According to the extension, we can set the configuration of some specific types of files The settings of relevant file types are placed in the corresponding folder File type indent folder /usr/share/vim/vim81/indent/ File type syntax highlight folder /usr/share/vim/vim81/syntax/ File type plug-in folder System general folder /usr/share/vim/vim81/ftplugin/java.vim /usr/share/vim/vim81/ftplugin/java_xxx.vim /usr/share/vim/vim81/ftplugin/java/xxx.vim User […]

  • Content type of HTTP

    Time:2022-4-13

    The message body of the post request is placed in the entity body. The server obtains the encoding method of the message body according to the content type field in the request header, and then parses the data. 1、 Application / x-www-form-urlencoded The most common method of submitting data through post is the native form. […]

  • Online preview of springboot implementation file

    Time:2022-4-1

    background Recently, the company’s internal OA system has been upgraded and needs to add online file preview service. The most common file is office document. At the beginning, several schemes were conceived, such as file conversion of office software, OpenOffice conversion, offce365 service and Aspose component conversion. Finally, Aspose conversion was adopted because the component […]

  • Mark a code quantity statistics tool – Statistical

    Time:2022-3-24

    Installation mode Idea, Golan series plug-in market search statistic Brief description The statistical latitude is relatively rich It basically covers common latitudes, such as code lines, file size, etc. the maximum, minimum and average values of each index are taken. The statistics directory is the current project directory Only files in the current project directory […]

  • Oeasy teaches you to play VIM – 74 – # function key FN mapping map advanced

    Time:2022-2-26

    Map map Recall the details of the last abbreviation I learned last time:mapmapping You can define mappings :map ; : Query mapping :map :map ; You can also unmap :unmap You can map to the specified schema :mapAll modes :vmapVisual mode :nmapNormal mode :omapThe operator pending defined key can be used as a motion :map!Insert […]

  • Oeasy teaches you to play with VIM – 83 – # expression

    Time:2022-2-20

    Expression memory aboutFunction, let’s recall Can query Can create new Can call You can also delete I want to use itFunctiontobuffuerWrite something in it For example, write a basic Java program framework Such a call will work Save yourself Is that all right? Append function How to find out about writingbufferWhat about the function of? […]

  • Oeasy teaches you to play VIM – 88 – # automatic command autocmd

    Time:2022-2-17

    Auto command memory Last time we studied the external command grep Grep can be used in vim The search results entered the list You can open, traverse, jump and close this list You can also execute commands for matching lines in the list or for each file So far, I’ve learned a lot of commands […]