Tag:Plug-in

  • Clang plug-in development

    Time:2022-5-31

    Writing plug-in code stayHKPluginUnder the directoryHKPlugin.cppIn the file, theHeader fileandNamespace #include <iostream> #include “clang/AST/AST.h” #include “clang/AST/DeclObjC.h” #include “clang/AST/ASTConsumer.h” #include “clang/ASTMatchers/ASTMatchers.h” #include “clang/Frontend/CompilerInstance.h” #include “clang/ASTMatchers/ASTMatchFinder.h” #include “clang/Frontend/FrontendPluginRegistry.h” using namespace clang; using namespace std; using namespace llvm; definitionNamespace, definitionHKASTActionClass, inherited from the systemPluginASTActionclass namespace HKPlugin { class HKASTAction:public PluginASTAction{ }; } Register plug-ins static FrontendPluginRegistry::Add<HKPlugin::HKASTAction> X(“HKPlugin”,”this is […]

  • Idea divine plug-in sharing

    Time:2022-5-31

    Idea divine plug-in sharing 1: Foreword After installing IntelliJ idea, perform the following initialization operations to improve the work efficiency by ten times. 2: Introduction to idea tool Codota code intelligent prompt plug-in,AIXcoder Code Completer image-20211213134244294 image-20211213140508064 As long as you type the first letter, you can associate a whole sentence, which is too smart. […]

  • [android] implementation principle analysis of plug-in framework virtual apk

    Time:2022-5-31

    1 preface Virtual APK is an excellent plug-in framework developed by didi travel. Its main developer is teacher renyugang Speaking of Mr. renyugang, he can be said to be the first teacher of my android framework layer. When I first came into contact with Android, after dragging the controls for several years and writing some […]

  • Vite builds the Vue project – integrates the aliases @, router, vuex, SCSS, and loads vant on demand, which is as simple as this

    Time:2022-5-30

    Why use vite When we start building larger and larger applications, The amount of JavaScript code that needs to be processed is also growing exponentially. Large projects with thousands of modules are quite common. At this time, we will encounter performance bottlenecks Tools developed using JavaScript usually take a long time (even a few minutes!) […]

  • VIM installation without root permission on centos7

    Time:2022-5-30

    Installation and configuration of vim on centos7 Vim8 is the latest version at present. It has many features that can improve our production efficiency. Therefore, we take vim8 as an example Vim8 preparation before Compilation We need to install two important plug-ins, one is leaderf and the other is coc Nvim, the former depends on […]

  • GitHub: a GitHub experience enhancement plug-in

    Time:2022-5-30

    Recently developed a chrome plug-in to enhance GitHub experience – GitHub The code is also open source: https://github.com/riskers/gi… Pain point One of my personal pain points has been solved: GitHub native cannot group and label stars and gists, which makes me spend a long time searching for some infrequently used libraries every time. See the […]

  • Vue family bucket

    Time:2022-5-30

    What does Vue family bucket include? What does Vue have? Family bucket, as the name suggests, is a necessary plug-in and framework for developing a complete medium and large-scale single page application project. Note: This article mainly explains the development mode of Vue cli scaffold, mainly introduces the installation method and functional characteristics of each […]

  • Stm32cubeide software function learning

    Time:2022-5-29

    Recently, I used stm32cubeide to program. Now I’m learning and summarizing its software architecture and functions. I also hope that later friends can get started with this software faster! Official introduction to stm32cubeide STM32CubeIDE(Integrated development environment for STM32 products) Features: • services integrating stm32cubemx: – STM32 microcontroller, microprocessor, development platform and instance project selection – […]

  • Get started with vite & knowledge sharing

    Time:2022-5-29

    Official Chinese documents of home | vite Community plug-ins: https://github.com/vitejs/awe… Usage experience: vite is essentially the integration of the best solutions in various scenarios React common configuration import { defineConfig } from “vite”; import path from “path”; import reactRefresh from “@vitejs/plugin-react-refresh”; import usePluginImport from “vite-plugin-importer”; export default defineConfig({ resolve: { alias: { app: path.resolve(__dirname, “./src”), […]

  • Can you remember so many built-in functions? A summary of the 68 built-in functions of Python!

    Time:2022-5-29

    [read the full text] Built in function list ”’ abs() dict() help() min() setattr() all() dir() hex() next() slice() any() divmod() id() object() sorted() ascii() enumerate() input() oct() staticmethod() compile() globals() map() reversed() __import__() complex() hasattr() max() round() delattr() hash() memoryview() set() bin() eval() int() open() str() bool() exec() isinstance() ord() sum() bytearray() filter() issubclass() […]

  • Kubernetes traifik integrated pilot

    Time:2022-5-28

    Background: Basic environment:Centos8+kubeadm1.20.5+cilium+hubble environment setup,Kubernetes 1.20.5 installation of traifik under Tencent cloud. Of course, there was an accident. Skipped 1.20.5 to upgrade 1.21. Kubeadm was reinitialized and the v1.21.3 version was built. I came across Yangming’s article:Traifik publishing control panel SaaS service pilotJust want to experience the customized middleware! Of course, I still can’t write […]

  • Front end Engineering Best Practices

    Time:2022-5-28

    1、 Code formatting specification The vetur plug-in used in the current project has a built-in prettier format. You can also install the prettier code formatter plug-in. Eslint also includes some code style checking functions. Some rules of eslint and prettier conflict, resulting in confusion in formatting. Therefore, the code format specification must be unified 1. […]