Tag:Line number
-
Common methods of GIT patch
Simply record the relevant usage of GIT patch commonly used in the day. 1. git format-patch/am Generate patch Generate a patch, specify the commit ID, and generate a patch file separately for each commit after it. Patch files are numbered from 1 in the order of commit. The patch file will be generated to the […]
-
How to remove line numbers from notepad++ query results?
The notepad++ query result has its own line number. How to remove the line number information after copying it Code editor notepad++ v7.8.5 32, 64 bit green Multilingual Edition Type:Text text size:5.74MB Language:Simplified Chinese Time:2020-04-08 View details 1、 Query data in notepad++ 1. Line number in query result 2. Copy query results to notepad++ new […]
-
Generating sequence of vim advanced skills
Method of inserting digital sequence in VIM Pending text Assume that the original content of the text is This is the first lineThis is the second line This is the fourth lineThis is the fifth line Insert line number becomes 1 this is the first line2 this is the second line3This is the fourth lineThis […]
-
Try Catch exception catches common stack exceptions thrown by printstacktrace
Try Catch exception capture This is no catch patch code package com.catches; import java.util.Scanner; public class Demo01 { //Demand: enter two numbers and calculate their quotient public static void main(String[] args) { Scanner sc = new Scanner(System.in); System Out Println (“please enter the first integer:”); //Judge whether the entered number is an integer if (sc.hasNextInt()){ […]
-
Python deletes the line number of each line of the file
catalogue 1. what 2. Ideas 3. Code 1. what This line number is really annoying. Try to write a py 2. Ideas def second_of_strSplit, take the element to the right of the separator and return a list def movePass in the file path, read each line, store the list, and call second_ of_ The str […]
-
Oeasy teaches you to play VIM – 16 and jump to a certain line
Jump to a line Recall the last lesson Up and down towardsloweryesj👇 towardsupperyesk👆 Uplink and downlink head towardslowerTo non empty character at the beginning of line+ towardsupperTo non empty character at the beginning of line- thesemotionCan be added[count]To double First and last lines The first line isg g The last line isG g g = […]
-
Oeasy teaches you to play with VIM – 19 – using tags
Use tag Recall the last lesson Jump to line number 200G Set line number options set number :se nu Show relative line numbers:se rnu How to jump from the command line:100 But sometimes I can’t remember how many lines I jump to Can you make a mark and leave a mark? Jump back to where […]
-
Oeasy teaches you to play VIM – 20 – display ruler
Display ruler Recall the last lesson Define tag ama Delete tag a:delm a Jump to tag a’a `A jumps to the row and column corresponding to a ‘a jumps to the row corresponding to’ a ‘ View all tags:marks Various marking types ”Is the position of the cursor of the last jump operation ‘”Is the […]
-
GDB debugging mydumper troubleshooting warning information root cause
Problem background: When using mydumepr version 0.9.5 to back up the cloud database, there are occasional alarm information, almost all of which are from the sys library. In fact, this library is not backed up. I don’t know why I detect the sys library and there are alarm information. ** (mydumper:19312): WARNING **: Broken table […]
-
Linux (II): common basic commands
Life is boundless, learning is boundless Directory management Absolute path and relative path We know that the directory structure of Linux is a tree structure, and the top-level directory is the root directory /. Other directories can be added to the tree by mounting and removed by unmounting. Before starting this tutorial, we need to […]
-
Import Java from Excel to database
package com. fh. util; This work adoptsCC agreement, reprint must indicate the author and the link to this article