• Vscode format configuration


    1、 Install common plug-ins: CTRL + Shift + X open the store to search for these plug-ins to install Beautify、Eslint、Vetur 2 setting.josn to configure File preferences settings in setting.josn Open this setting.josn After the file, copy the following configuration { //The tab size is 2 spaces “editor.tabSize”: 2, //Wrap after 100 columns “editor.wordWrapColumn”: 100, //Format […]

  • Give me a clean Mac OS


    I bought a MacBook Air specially chose the high configuration version. The hard disk space was 128G (Antique machine in 2011). It was used well in the first 1-2 years. Later, it was found that it was more and more incompetent. In order to make space as much as possible, almost all the photos, videos […]

  • Syntax error or access violation: 1166


    Report database 1166 error is because you have extra space on both sides of the field Give yourself a mark, step on this hole^__ ^. This work adoptsCC agreementThe author and the link to this article must be indicated in the reprint

  • Let’s look at JavaScript’s garbage collection mechanism


    Garbage collection mechanism of JS JS will automatically allocate memory when creating variables, and automatically release memory periodically when not in use. The release process is called “garbage collection”. This mechanism has both advantages and disadvantages. On the one hand, automatic memory allocation reduces the burden of developers, and developers don’t have to pay too […]

  • Oracle database create users, import data, export data


    After Oracle 11g is installed on the computer and the environment variables are configured, the following operations can be performed.   Open the start menu in the lower left corner of the computer, search the blue below and enter [CMD] Enter [sqlplus / as SYSDBA] to enter ORALCE console Create a table space:1. Temporary table […]

  • 10 most recommended vs Code plug-ins in 2020


    preface Original address:https://blog.bitsrc.io/top-10…Author: shaumik daityari The text begins here~ 1 Import Cost During the development process, you may often find yourself adding dependencies to the project. Although modular development has become a key part of today’s software development, it is best to make sure that you are careful with your input. JavaScript and typescript’s import […]

  • Markdown grammar learning 2020


    1. Title There are two formats for the markdown title 1.1 use = and – to mark the first and second level headings First level title === Secondary title — 1.2 mark with ා #This is the first level title ##This is a secondary title ###This is a three-level title ####This is the fourth level […]

  • How to write simple and beautiful Python code


    By aniruddha BhandariCompile | VKSource | analytics vidhya summary Python style tutorial will enable you to write neat and beautiful Python code Learn about the different Python conventions and other nuances of Python Programming in this style tutorial introduce Have you ever encountered a poorly written Python code? I know a lot of you will […]

  • Linux system programming semaphore


    As we all know, mutexes can be used for synchronization between threads. However, only one thread can seize the mutex at a time, which limits the release of programs. If we want to allow multiple threads to access the same resource at the same time, there is no way to use mutex. Only mutex will […]

  • The idea and example code of using basic DFS to solve the full permutation problem in C + +


    This article briefly introduces my use of C + + in theBasic DFS algorithmSolve the followingPermutationProblematicIdeas and example code。 Combinatorial arrangement Title Description Give a positive integer (1 < = n < = 10) and output all permutations.What is a full permutation, such as n = 3, outputs all combinations, and outputs in lexicographic order: […]

  • Batch adding host name mapping


    Because Tomcat needs to add the mapping relationship of the host name in / etc / hosts when starting tomcat, but if there are many servers, it is not realistic to fill in the host name manually, so we use the script to batch process it. Correct version: HOSTNAME=`hostname` ip_addr=`/sbin/ifconfig bond0 |grep -a “inet addr:” […]