NVM+NODE+VUE+combination API+VITE+TS+Router+VUEX+ElementUI+SASS builds a complete front-end project

Environment: MAC 1. Purpose of this article Quickly build a complete project structure 2. Solving problems 1. Multi-version node management 2. nvm installation 3. brew installation 4. Vite + Vue initialization project 5. Router installation 6. Sass installation 7. ElementUI installation 8. Vuex installation 9. Project configuration integration 10. Simple page construction, jump, parameter passing, […]

vue3+ts project 02-install eslint, prettier and sass

Create project Project creation Install eslint yarn add eslint -D Generate configuration file npx eslint –init Install other plugins yarn add -D eslint-plugin-import eslint-plugin-vue eslint-plugin-node eslint-plugin-prettier eslint-config-prettier eslint-plugin-node @babel/eslint-parser vue-eslint-parser Modify .eslintrc.cjs module.exports = {<!– –> env: {<!– –> browser: true, es2021: true, node: true, jest: true, }, /* Specify how to parse the grammar […]

10.4 Understanding the Capstone disassembly engine

Capstone is an open source disassembly framework. Currently, the CPU architectures supported by the engine include x86, x64, ARM, MIPS, POWERPC, SPARC, etc. Capstone is characterized by being fast, lightweight, and easy to use. It can handle various tasks well. Various types of instructions, supporting conversion of instructions into multiple formats such as AT&T assembly […]

Conveniently write CSS using sass and less

SASS SASS official website The most mature, stable and powerful professional-grade CSS extension language in the world! sass is a css pre-compilation tool That is, you can write css more elegantly sass writes something the browser does not understand It still needs to be converted into css and run in the browser At this time, […]

[System Security 7]x86 Disassembly Crash Course

x86 disassembly quick x86 architecture 3 types of hardware components: Central Processing Unit: Responsible for executing code Memory (RAM): Responsible for storing all data and code Input/output system (I/O): Provides interfaces for hard drives, keyboards, monitors and other devices Memory A program’s memory can be divided into four main sections: Stack: The stack is used […]

[System Security 12] Disassembly-if-else, ternary operator

0x1 if-else branch 4 states of if-else branch 1.1 Simple if-else branch with constant as judgment condition C source code: Single-layer if-else judgment, constants are judgment conditions int _tmain(int argc, _TCHAR* argv[]) { int nTest = 1; if (nTest>0) printf(“Hello world!\r\\ “); else printf(“Hello everybody!\r\\ “); return 0; } The if-else branch uses inverse ratio. […]

[System Security 15] Disassembly-switch-case branch

0x1 switch-case branch Switch-case is actually another form of if-else statement. But it is greater than the switchc-case after 3. The compiler will optimize the code. 1.1 Simple switch-case branch identification skills C source code: int _tmain(int argc, _TCHAR* argv[]) { int nNum = 2; switch(nNum) { case 0: printf(“nNum=0”, nNum); break; case 1: printf(“nNum=%d”, […]

[System Security 10] Disassembly-Function calling convention, Main function search

0x1 Preparation 1.1. Preparation Tools IDA: interactive disassembly tool OllyDbg: User-level debugging tool Visual Studio: Microsoft development tools 1.2, basic knowledge C++ development Assembly language 0x2 Find the real main() function The code between the entry point and the Main() function is added by the compiler to initialize the environment. The main() function actually has […]