Tag:parameter

  • MySQL basics summary

    Time:2021-10-22

    Field type The difference between int (5) and int (10) Clickable blogProgram ape grocery storeint(5)  Andint(11)The characters in the parentheses after represent the display width. The display width of the integer column has nothing to do with the number of characters MySQL needs to display the value of the column, and has nothing to do […]

  • Dry goods: explain the CMP parameters of C + + sort function in detail!

    Time:2021-10-22

    On the first day of learning algorithms, you were learning bubble and bucket row When you haven’t figured out fast platoon and merge You have learned the final heap sorting and Hill sorting of data structures It can be said that ranking is a nightmare for many competition students So it was born void std::sort() […]

  • Web front end lesson 28 – JS variable promotion, built-in objects (Math & date)

    Time:2021-10-22

    1. Variable lifting The JavaScript engine works by parsing the code, obtaining all declared variables, and then running the code line by line from top to bottom Therefore, all non function variable declaration statements will be promoted to the head of the code. JavaScript’s mechanism for reading variables is called variable promotion Note that variable […]

  • [Vue] vuex status management mode

    Time:2021-10-22

    Vuex status management mode Multiple components depend on or modify the same state–shareuseVue.observableIt can realize a lightweight state management Basics Modules 1 Foundation Basic structure and use State Mutations Actions Gtters map 1.1 basic structure and use Structure diagram Install vuex npm install vuex –save Store.js file import Vue from ‘vue’ import Vuex from ‘vuex’ […]

  • How to use CSS paint API to dynamically create resolution independent variable background

    Time:2021-10-22

    Modern web applications have a great demand for images, which occupy most of the bytes downloaded from the network. By optimizing them, you can make better use of their performance. If you happen to use geometry as a background image, there is an alternative: you can useCSS Paint APIGenerate the background programmatically. In this tutorial, […]

  • Hytrix practical experience sharing

    Time:2021-10-21

    1、 Background Hystrix is an open-source fault-tolerant framework of netlifx. It is a sharp anti avalanche weapon. It has the functions of service degradation, service fusing, dependency isolation, monitoring (hystrix dashboard), etc. Although hytrix is no longer officially maintained, and there are new frameworks such as Alibaba sentinel, in terms of component maturity and application […]

  • What is promise?

    Time:2021-10-21

    The main purpose of this article is to introduce the usage of promise in the front end. Although there are many explanatory documents, it is not friendly for novices. Here I’ll explain it in the simplest vernacular with examples. I won’t talk much nonsense. Let’s start today’s introduction. Function: solve the problem of callback hell, […]

  • Tiktok x-gorgon algorithm localization search process notes 2021-02-07

    Time:2021-10-21

    Introduction: * * this analysis is tiktok version: 14.1     X-gorgon version: 0404 Tiktok is the largest and most active platform in tiktok. There are many people in different industries who do reverse analysis. In the process of packet capture, the communication of shaking sounds involves a signature called x-gorgon. This signature is an […]

  • PHP common module extensions

    Time:2021-10-21

    gd Image generation and processing Install by specifying the compile parameter − with Gd = dir. Include GD support. Dir is the GD library base install directory bundled. This is a packaged dependency, which depends on the following installation packages. A − − − − − − − − − − − − − − […]

  • Single step debugging and source code analysis of ngrx store createselector

    Time:2021-10-20

    Source code: import { Component } from ‘@angular/core’; import { createSelector } from ‘@ngrx/store’; export interface State { counter1: number; counter2: number; } export const selectCounter1 = (state: State) => state.counter1; export const selectCounter2 = (state: State) => state.counter2; export const selectTotal = createSelector( selectCounter1, selectCounter2, (counter1, counter2) => counter1 + counter2 ); // selectTotal […]

  • Problems caused by Mongo flowcontrol

    Time:2021-10-20

    mongo flowcontrol When Mongo replica sets are deployed, Mongo writes to the default write priority. If the slave node lags too far behind or there are hung replicas, and the number of replicas is less than half of the replica set data, Mongo will actively appear the flow control. View the flowcontrol configuration of the […]

  • NPM Engineering & source code analysis of Inquirer

    Time:2021-10-20

    fromnpm run-scriptApplication start View the of some NPM packagesnpm_package_scripts, you can often see itrun-scriptExample: … “scripts”: { “prerelease”: “npm test && npm run integration”, “release”: “env-cmd lerna version”, “postversion”: “lerna publish from-git”, “fix”: “npm run lint — –fix”, “lint”: “eslint . -c .eslintrc.yaml –no-eslintrc –ignore-path .gitignore –cache –cache-location ./node_modules/.cache/eslint”, “integration”: “jest –config jest.integration.js –maxWorkers=2”, “pretest”: […]