Tag:character

  • Special characters in shell command line and their escaping (removing special meanings)

    Time:2020-1-21

    Special symbols and their escaping As we know, in a shell command, it consists of the command name and its parameters, such ascat testfileAmong themcatIs the command name,testfileIs a parameter. The shell willtestfilePass tocatCommand. However, if a parameter contains special characters, such as*, *As we know, it means any number of (including 0) arbitrary characters. […]

  • Leetcode weekly game for babies to understand – 169 – 4

    Time:2020-1-21

    1307. Mental arithmetic problems Hi, everyone. I’m a pig. Welcome to the “baby can understand” series of leetcode weekly question solution. This is question 4 of issue 169, and also question 1307 in the list of questions – “mental arithmetic problem” Title Description Here’s an equation for you. Let’s use it on the leftwordsTo the […]

  • Algorithm Fibonacci number & reverse string

    Time:2020-1-18

    00509 Fibonacci number Title Description Fibonacci number, usually expressed by F (n), is called Fibonacci number series. The sequence starts with 0 and 1, and each subsequent number is the sum of the first two numbers. That is: F(0) = 0,   F(1) = 1 F (n) = f (n – 1) + F (n – 2), […]

  • Leetcode weekly match for babies to understand – 170 – 1

    Time:2020-1-15

    1309. Decoding letter to integer mapping Hi, everyone. I’m a pig. Welcome to the “baby can understand” series of leetcode weekly question solution. This is question 1 of issue 170, and also question 1309 in the title list – “decoding letter to integer mapping” Title Description Give you a strings, which consists of numbers (‘0 […]

  • vim

    Time:2020-1-15

    Catalog Vim and programmer 2. What is VIM? 3. Use of VI / VIM 3.1 command mode: 4. Input mode 5. Bottom line command mode 5.1 VIM working mode 6.vim button Vim and programmer All UNIX like systems will have built-in VI document editors, while other document editors may not exist. But now we use […]

  • Bash terminal shortcut key

    Time:2020-1-14

    operation Shortcut keys Move cursor to the beginning of line CTRL+A The first time on time, move the cursor to the beginning of the line; the second time on time, return to the original position CTRL+X Move cursor to end of line CTRL+E Move the cursor one character to the left CTRL+B Move the cursor […]

  • IntelliJ idea setting terminal window font size

    Time:2020-1-12

    I checked all the settings related to terminal in setting, but I didn’t find a way to set the font size. The original terminal only needs to set the font size of console. Settings——>Editor——>Colors Scheme——>Console Font After setting it here, go to see the font in terminal directly. There is no change. At first, I […]

  • Leetcode weekly match for babies to understand – 170 – 4

    Time:2020-1-12

    1312. The minimum number of inserts to make a string a palindrome string Hi, everyone. I’m a pig. Welcome to the “baby can understand” series of leetcode weekly question solution. This is question 4 of issue 170, and question 1312 in the list of questions – “the minimum number of inserts to make a string […]

  • Philosophy of software design: Chapter 11 two designs

    Time:2020-1-12

    Catalog Designing software is difficult, so your initial idea of how to build a module or system is unlikely to produce the best design. If you consider multiple options for each major design decision, you get a better result:Two designs。 Suppose you are designing a class for GUI text editor to manage file text. The […]

  • Console you don’t know

    Time:2020-1-11

    We like to use it in the development processconsole.log()Debug, print some strings and JavaScript objects in the console, but many people don’t knowconsoleThere are many other methods and usages that can help us debug our code better. The screenshots below are all from Chrome browser. Different browsers may display different images. Print text to console […]

  • Python output hexadecimal without zero padding, integer to hexadecimal, string to hexadecimal

    Time:2020-1-5

    Python output hexadecimal without zero padding, integer to hexadecimal, string to hexadecimal In development, we occasionally encounter the need to print data through the console to check the accuracy of data transmission. For example, the binary data just received by the debugging server (which contains many non visible characters, that is, byte values other than […]

  • Bash SHELL file management

    Time:2020-1-2

    Bash shell manages files ========================================================Create, copy, delete, move, view, edit, compress, find Summary:Linux directory structureFile location pathfile management 1、 Linux directory structure Windows: organizing files in a multi root way C: \ D: \ e:\Linux: organizing files as a single root/ /Directory structure: FSH (filesystem Hierarchy Standard)[[email protected] ~]# ls /bin dev lib media net root […]