• Analysis of grub common errors in Linux system


      1 : Filename must be either an absolute filename or blocklist Explanation: error 1 indicates that the file name format is incorrect. In grub, the file is either given as an absolute pathexample: grub> kernel vmlinuz root=label=/ Error 1: Filename must be either an absolute pathname or blocklist grub> quote: 2 : Bad file […]

  • Five examples and skills of web form design


    1. Mobile selection of form text input: if a prompt is added in the text input field, visitors often need to select it with the mouse, delete it, and then enter useful information. In fact, as long as you add OnMouseOver = “this. Focus()” onfocus = “this. Select()” code to < textarea >, everything will […]

  • Perl reference related knowledge sharing


    Why use references? In perl4, the value field in the hash table can only be scalar, not list, which is very inconvenient for some situations, such as the following data: Chicago, USA Frankfurt, Germany Berlin, Germany Washington, USA Helsinki, Finland New York, USA We want to classify cities by country. Each country corresponds to the […]

  • Introduction to two reference (transfer) methods of parameters in subroutines in Perl


    Here is an example: Copy codeThe code is as follows: use strict;#Here are two arrays my @i =(‘1′,’2′,’3’); my @j =(‘a’,’b’,’c’);   #Before processing, we print them out and have a look at them print “In main program before calling subroutine:i=”.”@i\n”; print “In main program before calling subroutine:j=”.”@j\n”; #Then we process it through subroutines reference_sub(@i,@j); […]

  • Use of regular expression grouping and reference


    catalogue 0. Write in front 1. Grouping and numbering 2. Do not save subgroups 3. Group reference 4. Find and replace lookup replace 5. Use in text editor lookup replace 6. Write at the end 0. Write in front Today, let’s talk about grouping and reference in regular. In fact, in the first article, we […]

  • Master the common HTML tags used to reference content in web pages


    Use block quote for long quotes, q for short quotes, and cite for references. In practice, only block quote and Q are usually used.According to the HTML specification of, there are three elements for referencing content, namely < blockquote > < Q > < cite >. In reality, the use of these tags is still […]

  • Two methods of referencing and calling another script file in shell script


    In Java and python, you can use import to call between scripts or modules, for example: Copy codeThe code is as follows: >>> import math  >>> math.sqrt(4)  2.0  How to call other shell scripts, or variables and functions in other scripts in the shell? Method 1:/ subscript. sh     Method 2: source/ subscript. sh be careful: 1. […]

  • Similar HTML Tags: strongand em, Q, cite, blockquote


    In XHTML tags, some tags have similar functions. Of course, similarity here refers to semantic similarity, so that many people don’t know how to use these similar tags. Today’s theme is to decompose similar tags and clarify the purpose of each tag. We have already talked about the difference between strong and em. In addition […]

  • Go module: how to solve the reference problem of private non compliant Library


    Hello, I’m polarisxu. A friend asked a question: Netizen consultation In actual projects, when using go module, it is inevitable to have some own libraries to reference. These libraries are managed by self built git services, such as gitlab. In view of this situation, many tutorials let you set goprivate, that is, do not go […]

  • Analysis of Python global variable reference and modification process


    This article mainly introduces the python global variable reference and modification process analysis, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to 1、 Citation The global variable is only used as a reference. If its value is not modified […]

  • Java8 method reference and construction reference code instance


    This article mainly introduces the java8 method reference and construction reference code examples. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends in need can refer to it An overview of method reference Method reference is a kind of abbreviation of specific lamda […]

  • JS, CSS style reference writing


    CSS: 1. The relative server path of asp.net<link type=”text/css” href=”/css/css.css” rel=”stylesheet”/> 2. <style type=”text/css”>   .txtClass {   font-size: 12px;   } </syle> JS: tags cannot be abbreviated, they must be < script > < / script >1. < script type = “text / JavaScript” SRC = <% = resolveurl (“~ / JS / jquery-1.4.2. Mini. JS”)% > […]