Tag:/root directory

  • 01. Elementui source code learning: project initialization and webpack configuration

    Time:2021-6-14

    0x00. Project initialization Since the whole process is pixel level copy element, it will not be usedvue-cliInitialize the project. Create project Create a new empty folder and usenpm initTo initialize the project and install the Vue module. Modify directory structure Add folder to root To create a project configuration file in the root directory:.gitignore README.mdCreate […]

  • Getting started with angularjs 2

    Time:2021-6-13

    When reading the document, please translate it by the way!Quick start Let’s start from scratch and useTypescriptBuilding a super simpleAngularJs 2Application. First run a demo Run thisDEMOLet’s first feel the application of angular JS2. Here is the file structure of this application angular2-app |_ app | |_ app.component.ts | |_ main.ts |_ index.html |_ license.md […]

  • How to modify the project language type on GitHub

    Time:2021-6-7

    What is project language type As anyone who uses GitHub knows, when uploading a project, the language type of the project will be displayed This is a JavaScript project This is a Vue project When you plan to upload a Vue project, maybe JavaScript language type will be displayed by default. I don’t know how […]

  • Compiling GPGPU SIM benchmark ispass2009 benchmarks

    Time:2021-6-5

    Configure CUDA environment Download the GPU SIM simulator: //Old version does not support CUDA 5.0, gcc-4.8 and above For CUDA environment configuration, seeUbuntu 16.04 configures cuda4.0 and compiles cuda4.0_ SDKThen install and configure GPGPU sim (please refer to the GPGPU SIM configuration file for details) sudo chmod -R 777 gpgpu-sim_distribution cd gpgpu-sim_distribution make Download and […]

  • Use curl function to download subtitles of station B

    Time:2021-6-3

    preface Test video address of station B:https://m.bilibili.com/video/BV1Dk4y1q781 I’ve put the code inGithub, using the tp6 framework,README.mdThere is also a detailed process description in. Download the code to runHttp: / / server / index / index? Bv1dk4y1q781 & start = 0 & end = 29You can see the effect. Code used in curl$header request headerFrom chrome, […]

  • Centos8 server security advanced chapter

    Time:2021-5-12

    A series of articles: Centos8 server security advanced chapter Centos8 server security advanced chapter (four user authentication) Centos8 server security advanced chapter (5 Apache status security) Apache directory access control Directory access control:1. Root authorization AllowOverride none Require all denied 2. Website root authorization<Directory “/usr/local/apache/htdocs”> Options Indexes FollowSymLinks AllowOverride None Require all granted Options security […]

  • How to use air to overload code automatically

    Time:2021-5-9

    Air can monitor the code of the project in real time, and automatically recompile and execute after the code changes Install air (Windows) (1) , inhttps://github.com/cosmtrek/air/releasesYou can download the air at, put it into the bin directory under the go installation directory, and rename it toair.exe (2) In the windows command window, you can also […]

  • Using docker container to deploy front-end and back-end separation project Django + vue.js in win10 environment

    Time:2021-5-8

    The original text is reproduced from “Liu Yue’s technology blog”https://v3u.cn/a_id_179 With the continuous development of modern product research and development, we will find that almost every product line will contain services with different functions, and there will be complex dependency and dependent relationship between services, which will bring a worldwide problem. When the project is […]

  • Angular2js learning notes 1

    Time:2021-5-7

    The first step is to configure environment node, NVM, NPM, webpack, etc. 1. Create a folder angular2 app. The built-in files are package. JSON, tsconfig. JSON, typing. JSON //typings.json { “ambientDependencies”: { “es6-shim”: “github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd”, “jasmine”: “github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#5c182b9af717f73146399c2485f70f1e2ac0ff2b” } } //package.json { “name”: “angular2-app”, “version”: “1.0.0”, “scripts”: { “start”: “tsc && concurrently \”npm run tsc:w\” \”npm run […]

  • Electron+Vite2 based high tiktok short video |electron+vue3 small video + live chat

    Time:2021-5-6

    Project introduction Vite2-ElectronDouYinbe based onvite2+electron12The tiktok vue3 video program is developed. supportKeyboard up and down key switch short video, new multi window modeAnd other functions. Using technology Coding / Technology: vscode / vue3 [email protected] Cross end frame: electron ^ 12.0.1 Component library: vant3 Sliding component: swiper ^ 6.5.0 Pop up component: v3pop (user defined shell […]

  • Building PHP environment from scratch – openresty

    Time:2021-5-6

    Reference source:http://openresty.org/en/insta… 1、 Configure the compilation parameters and use the default > cd /usr/local/src/ > tar -xvf openresty-1.19.3.1.tar.gz > cd openresty-1.19.3.1 > ./configure -j2 1、Can’t locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./configure line 9. yum install perl 2、./configure: error: the […]

  • NPM knowledge summary related to your project

    Time:2021-5-6

    The first step is to clone someone’s codenpm installThe installation depends on the package. After successful installation, all packages will be placed in thenode_modulesFolder, will also be automatically generatedpackage-lock.jsonDocuments. Have you ever been curiousnode_modules What are all the documents under the table?package-lock.jsonWhat is the role of the document? This paper mainly solves the following problems […]