Tag:colon

  • JSP from simple to deep (8) — JSP Tags

    Time:2022-5-30

    Another important syntax for JSP is tags. JSP tags does not use <%, but only the < character. JSP tag is a bit like HTML tag. JSP tags can have a “start tag”, a “tag body” and an “end tag”. Both the start and end signs can use the name of the sign, which is […]

  • After climbing tens of millions of recruitment information with Python, I finally analyzed that Python needs to learn these to get employed

    Time:2022-2-26

    In other words, at the end of the year, those with jobs should consider changing jobs next year, and those without jobs should consider looking for jobs next year. Have you figured out what to do?   Don’t know how to understand? It’s all right. Come on, let’s check and analyze with one click of […]

  • The difference between pseudo class and pseudo element

    Time:2022-2-10

    1) Pseudo class The special effect of selecting information outside the DOM tree and adding some selectors can be understood as a state of the tag. This state is non-static. When the element reaches a specific state, there will be a pseudo class style, and when the state changes, it will lose this style For […]

  • Shell get server IP

    Time:2022-1-15

    Let’s see what ifconfig gets: [[email protected] ~]# ifconfig eth1 Link encap:Ethernet HWaddr 00:0C:29:7E:7B:73 inet addr:192.168.42.130 Bcast:192.168.42.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe7e:7b73/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:519 errors:0 dropped:0 overruns:0 frame:0 TX packets:241 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:50071 (48.8 KiB) TX bytes:29441 (28.7 KiB) Interrupt:19 Base address:0x2024 lo Link encap:Local […]

  • Difference between CSS pseudo class and pseudo element

    Time:2021-11-1

    Pseudo class: It is used to select information outside the DOM tree or information that cannot be represented by a simple selector. (equivalent to a special class selector to add some special effects)In short, the modification (click, suspend, link) that acts on the current state of the element Pseudo element: There are no virtual elements […]

  • Docker learning diary

    Time:2021-8-17

    course:https://www.runoob.com/docker…http://www.dockerinfo.net/doc… 1: Installation:1.1: install the required software packageyum install -y yum-utils device-mapper-persistent-data lvm2 1.2: set up a stable warehouseyum-config-manager –add-repo http://mirrors.aliyun.com/doc… 1.3: install the latest versionyum install docker-ce docker-ce-cli containerd.ioIf you do not install the community version, you can directly execute Yum install docker 1.4: installing a specific version1.4.1: list and sort the versions available […]

  • angularjs watch only once

    Time:2021-8-14

    Adding two colons’:: ‘in front of the watch object can only watch once $scope.$watch(‘::something’, function() { … });

  • [advanced CSS] skillfully use pseudo elements before and after to create gorgeous effects

    Time:2021-8-14

    original:Tell me Zhan to hideSource:Si noLink:Clever use of pseudo elements before and after to make gorgeous effects The so-called “pseudo elements” are page elements that do not exist. There are no such elements in HTML code, but when the page is displayed, you can see that these non-existent elements play a role. This paper mainly […]

  • Install JDK for Ubuntu 16.04

    Time:2021-8-2

    Download and install JDK wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz sudo tar -zxvf jdk-8u111-linux-x64.tar.gz sudo cp -R jdk1.8.0_111 /opt/ Create soft link sudo ln -s /opt/jdk1.8.0_111/bin/java /bin/java Configure system environment variables sudo vi /etc/profile export JAVA_HOME=/opt/jdk1.8.0_111export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/libexport PATH={JAVA_HOME}/bin:$PATHNote: of whichJAVA_HOMEDesignated asJDKInstallation directory, in addition,LinuxAre separated by colons, different fromWindowsUse semicolons to separate the.   Save and exit after […]

  • Shell variable advanced usage

    Time:2021-6-13

    Variable replacement and testing Variable substitution grammar explain ${variable name # matching rule}} Dependent variablestartRule matching will meet the most important requirementsshortData deletion for ${variable name # matching rule}} Dependent variablestartRule matching will meet the most important requirementslongData deletion for ${variable name% matching rule}} Dependent variabletailRule matching will meet the most important requirementsshortData deletion for […]

  • Question mark statement

    Time:2021-4-28

    #include<iostream> using namespace std; int main(void) { int a = -1; a > 0 ? a = a : a = -a; cout << a; return 0; } The output is 1 Question mark statement means whether the statement before the question mark is true. If it is true, the statement before the colon will […]

  • The detailed use of V-model in vue3. X

    Time:2021-4-18

    1. When used to customize components, the prop and default event name of V-model are changed, and the model option is removed //Parent component Bound value: {message}} //Subcomponents export default { //2. X usage, you can modify the prop and trigger the event name, model to discard // model: { //Prop: ‘value’, // the default […]