Tag:file

  • Realizing studio management background with Vue (3): supporting multilingual internationalization (vue-i18n)

    Time:2021-3-4

    A series of articles: Vue to achieve studio management background (1): mouse drag and drop to change the window size Vue to achieve studio management background (2): slot to achieve tab tab switching effect, free to fill content Realizing studio management background with Vue (3): supporting multilingual internationalization (vue-i18n) The first version of rxeditor is […]

  • Linux miscellany 2

    Time:2021-3-4

    A series of articles: Notes on Linux 1 Linux miscellany root file system Linux miscellany 2 Reanalysis of RWX permission This work adoptsCC agreementReprint must indicate the author and the link of this article The wind in June

  • Upload and download files / pictures with springboot

    Time:2021-3-4

    Import dependency( pom.xml ) commons-io commons-io 2.6 commons-fileupload commons-fileupload 1.3.3 javax.servlet javax.servlet-api 4.0.1 net.coobird thumbnailator 0.4.8 Global configuration application.properties #Upload file size spring.servlet.multipart.max-file-size=5MB spring.servlet.multipart.max-request-size=5MB Create webmvcconfigConfiguration classStatic resource mapping @Configuration public class WebMvcConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { ApplicationHome h = new ApplicationHome(getClass()); File jarF = h.getSource(); String dirPath = jarF.getParentFile().toString()+”/upload/”; […]

  • Docker deploying nginx

    Time:2021-3-4

    Environment Description: Linux CentOS environment Operation preparation: Docker installed Start: 1. Pull image docker pull nginx 2. Prepare one nginx.conf Upload the file to / root / nginx / folder. If not, post a configuration at the end for use,Note that the encoding format of the file must be UTF-8, otherwise it will fail to […]

  • Compatible processing of IE8 and IE8 + – upload file stream-v1.js

    Time:2021-3-4

    Requirement Description:In the image system, the user wants to prompt the operation that does not meet the replacement conditions and interrupt the upload operation when clicking the replacement file.The original operation of the system is to open the file upload window, select the file to submit, and then prompt that it does not meet the […]

  • Linux shell basic syntax

    Time:2021-3-4

    Wu Hongdong – recorded on July 3, 2018 – bloghttps://segmentfault.com/u/wu… Linux shell basic syntax script sign #! / bin / Bash is the first line of the shell script, which indicates what interpreter the script uses; #!/bin/bash Echo command is used to output text to the window; echo “hello shell”; #Turn on escape wrap echo […]

  • Automatically add partitions to PostgreSQL tables

    Time:2021-3-4

    Author: LetuPseudonym: lottuPersonal profile: at present, I am engaged in the design and development of database architecture in a game company, and have led the company to go to “O” related workhttps://www.cnblogs.com/lottu PostgreSQL introduces the feature of “partition” table, which liberates the tedious and inefficient implementation of partition table by using “table inheritance” + “trigger”. […]

  • Front end mock perfect solution

    Time:2021-3-4

    Written in the front, this article needs some knowledge about nodejs, because it will expand the related functions of webpack, and the implementation needs to comply with certain conventions and Ajax encapsulation. The scaffolding of precipitation is also put on GitHub for students’ referenceReact-StarterThe user’s manual has not been completed yet. The overall idea has […]

  • Master slave configuration of laravel redis

    Time:2021-3-4

    The configuration of the redis master-slave server is omitted. The following is based on how you have configured it and how to use it in the laravel environment. to configure Laravel uses the predis extensioncomposer require predis/predisvi config/database.php ‘redis’=>[ ‘cluster’ => false, ‘default’ => [ “tcp://” . env(“REDIS_ DEFAULT_ HOST”) . “:” . env(“REDIS_ DEFAULT_ […]

  • Using Maven profile and filtering to package various environments

    Time:2021-3-4

    Each project will have multiple running environments (development, testing, formal, etc.) and different environment configurations (e.g jdbc.url )With the convenience of Jenkins and automatic deployment, we can separate the configuration files of different environments, and replace the packaged files with the configuration files of corresponding environments after packaging. In fact, Maven has provided us with […]

  • Nodejs file upload, monitoring upload progress

    Time:2021-3-4

    preface File upload with progress bar will have a better user experience (especially for medium and large files)NodejsCooperate with the front end to complete this function. We use the front endFormDataTo send data as a carrier. Article from my blog, will be updated from time to time, welcome to pay attention effect Front end section […]

  • Install and deploy python3, nginx and flash projects in Ubuntu 18.04

    Time:2021-3-4

    Yesterday, the server opened a new administrator account with a weak password. As a result, it was hacked and SSH could not log in. There was no way but to reload the system. Fortunately, there was no important information. The server only ran a bus API and blog. In the morning, the system was reinstalled, […]