• How to gracefully fill GitHub’s green contributions – autocommit


    autoCommit A vscode plug-in for git automatic commit, which can be used to supplement the previously forgotten commit and help you fill the green grid of the home page. Application effect Use this plug-in to control the commit times As shown in the figure below, you can even plan itcommitNumber of times, and then draw […]

  • [caption] life game – leetcode


    Title: Life Game According to Baidu Encyclopedia, life game, referred to as life, is a cellular automata invented by British mathematician John Houghton Conway in 1970. Given a panel containing m × n lattices, each lattice can be regarded as a cell. Each cell has an initial state: 1 is live cell, or 0 is […]

  • Leetcode points to offer 47


    Title Requirements: Thinking: Create a two-dimensional array to save the maximum value of the gift that each grid can get Traverse the array to get that the maximum value of the current gift is the maximum value of the two of the gifts (the previous or the left) plus the value of the current gift, […]

  • Leetcode 63. Different paths II | Python


    63. Different routes II Title Source: leetcode https://leetcode-cn.com/problems/unique-paths-ii subject A robot is located in the upper left corner of an M x n grid (the starting point is marked as “start” in the figure below). The robot can only move down or to the right one step at a time. The robot tries to reach […]

  • Description of Tkinter (01) basic options


    Tkinter is Python’s own GUI library, which is based on componentsWidgetTherefore, this paper first introduces some basic content, and then explains the use of each component Note: the Tkinter content here is for reference at present8.5The author’s current Python installation version is3.8.3With tkversion / tclversion:8.6, the platform isWIN 10. The parameter options of grid () […]

  • Will the result of LINQ query open up new memory?


    1: Background 1. Tell a story Yesterday, a friend in the group asked: will the result of LINQ query open up new memory? If yes, is it a deep copy of the elements in the original sequence set or just a copy of their references? In fact, I think this question is very good. Many […]

  • Leetcode 994. Implementation of rotten orange in Python


    Title Requirements: Thinking: Maintain a cur to save the current rotten orange Traverse the given array. If it is a rotten orange, append the abscissa and ordinate to the cur array Define a time to save the time Use the while loop to traverse cur. When there are still elements in cur, continue the loop. […]

  • Tkinter (46) layout geometry Manager


    Layout geometry managers are divided into three categories Pack the parts according to the orientation and roughly Grid parts are placed in the form of tables and divided into grids Place the parts according to the coordinate position and place them accurately Note: the same container, pack and grid can not be mixed, which will […]

  • Brief introduction of yolov1 / V2 / V3 | target detection


    Yolo series is a very classic structure in the field of target detection. Although there are many higher quality and more complex networks, the structure of Yolo can still bring a lot of inspiration to Algorithm Engineers. These three papers look like a parameter adjustment manual. They teach you how to use various tricks to […]

  • I had a production accident with long type. I should be careful when writing code


    Yesterday, I found that a program in the online trial run period was hung up, and I usually ran well. I checked the log because I ran a top-level beauty brand shop with nearly ten million members, and I suddenly burst 128G of memory. At that time, I ran two tasks in parallel. I had […]

  • Python sequence (8) list derivation real column


    1. List derivation list derivation can form a new list very succinctly: only one simple expression can transform and transform the obtained elements. Format: [expression for variable in list] or [expression for variable in list if condition] Filter conditions are optional, depending on the actual application, leaving only the expression >>> list =[x*x for x […]

  • Solution of copying selected cell content by DataGridView in WinForm


    Data GridView mouse selected cell content replication scheme in WinForm 1. CTR + C shortcut key copy Premise: the clipboardcopymode property of the control is not disabled;       2. Mouse box selection, user-defined code to copy Datagridview1. Selectedcells can get all the selected cells in a single list. However, when traversing the cells, […]