Vue router -- 10 Vue router routing
Vue router -- 10 Vue router routing
10.1 what is routing
Vue Router is the official routing manager of Vue.js. It is deeply integrated with the core of Vue.js, making it very easy to build a single page application.By switching the display of different components to render pages according to different request paths.
10.2 basic routing usage
1 ...
Posted by cool75 on Tue, 02 Nov 2021 21:23:14 -0700
Interviewer: can you write call, apply and bind by hand?
1. Usage and comparison of call, apply and bind
1.1 Function.prototype
All three are methods on the Function prototype, and all functions can call them
Function.prototype.call
Function.prototype.apply
Function.prototype.bind
1.2 syntax
fn stands for a function
fn.call(thisArg, arg1, arg2, ...) // Receive parameter list
fn.apply(thisArg, argsAr ...
Posted by John Cartwright on Tue, 02 Nov 2021 21:20:45 -0700
Write a database with more than 100 lines of python code
The name of the database is WawaDB, which is implemented in python. It can be seen that python is very powerful!brief introductionThe requirements for logging are generally as follows:Only append, not modify, write in chronological order;Write a lot, read a little, query, generally query the data of a time period;The fixed collection of MongoDB ...
Posted by silentg0d on Tue, 02 Nov 2021 21:04:53 -0700
[SqlServerExpress] automatic database backup
preface
Because the Express version is used and there is no SqlServer job function, all have the following idea of backing up the database.
Deletes the backup database files before the specified number of days
The following contents are saved as DeleteDB.vbs
be careful:
(1)sFolder, the folder where the backup bak files are saved(2)iSaveFileDay ...
Posted by Tomcat13 on Tue, 02 Nov 2021 21:03:06 -0700
Server positioning mode of game programming mode
Provide a global access entry for a service to avoid coupling between the consumer and the specific implementation class of the service.
(from game programming mode)
For some systems, objects or functions that may be called everywhere in the game system, if they are called directly (using static class or singleton mode), it will also cause a c ...
Posted by jynmeyer on Tue, 02 Nov 2021 20:43:08 -0700
nuxt uses pdfjs dist plug-in to realize pdf preview
First of all, if the version of pdfjs dist is not installed correctly, there will be all kinds of bug s!!!
At present, the versions of pdfjs dist and nuxt in my project:
"nuxt": "^2.15.8",
"pdfjs-dist": "2.3.200",
1, Project background
Because the contract signing function in the company's project needs to involve the user preview contract fu ...
Posted by j0n on Tue, 02 Nov 2021 20:17:03 -0700
[learn the compiler from scratch] 13. How to write Pass in MLIR?
[introduction to GiantPandaCV] this article has been studied for a long time, and then summarized according to their own understanding steps, mainly the contents of Articles 3 and 4 of MLIR Toy Tutorials. Here we mainly explain how to customize Pass in MLIR. Here we mainly introduce various skills of defining Pass in MLIR with four examples: el ...
Posted by PHP_apprentice on Tue, 02 Nov 2021 19:54:13 -0700
From a CTF question to HTTP request smuggling attack
preface
Recently, I found an interesting CTF question I did before replying. It is the idea of using the PHP string parsing feature Bypass, but this problem is far more than that. There is another solution, HTTP request smuggling attack.
RoarCTF 2019 Easy Calc
Look at the source code first:
<?php
error_reporting(0);
if(!isset($_GET['num'])) ...
Posted by redzzzon on Tue, 02 Nov 2021 19:44:03 -0700
Crazy God said smbms project (complete)
catalogue
resmbms
Technical highlights
Preparation for project construction
Implementation of login function
Login function optimization
Implementation of login and logout function
Login interception optimization
Password modification
Optimize password modification using AJAX
User management implementation
1. Get the number of users ...
Posted by sayoko on Tue, 02 Nov 2021 19:20:47 -0700
Detailed analysis of PE head
Detailed analysis of PE head0x00 PrefaceRecently, when I was studying Linux PWN and reading the book "self cultivation of programmers (loading - > link - > Library)", I came into contact with executable file formats, COFF, ELF and PE. Therefore, I also found the PE course in the video "dripping water reverse phase III" ...
Posted by Draicone on Tue, 02 Nov 2021 19:11:13 -0700