Skip to content

xgqfrms/FEIQA

Repository files navigation

FEIQA

FEIQA: Front End Interviews Question & Answers

https://feiqa.xgqfrms.xyz/index.html

$ browser-sync start --server --files --port 8888 "./000-xyz/CSS-tricks/**/*.html"
$ browser-sync start -s -f -p 8888 "./000-xyz/CSS-tricks/**/*.html"

# http://localhost:3000/css-border.html

$ cd 000-xyz/CSS-tricks && browser-sync start -s -f -p 8888 "./*.html"

https://www.sitepoint.com/improve-workflow-browsersync-2-0/

https://scotch.io/tutorials/how-to-use-browsersync-for-faster-development

VS code & snippets

{
    // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and
    // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
    // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
    // same ids are connected.
    // Example:
    // "Print to console": {
    //     "prefix": "log",
    //      "body": [
    //          "console.log('$1');",
    //          "$2"
    //      ],
    //      "description": "Log output to console"
    // }
}

HTML5 Template

h5t

{
  "HTML5 Template": {
      "prefix": "h5t",
      "body": [
          "<!DOCTYPE html>",
          "<html lang=\"zh-Hans\">",
          "<head>",
          "    <meta charset=\"UTF-8\">",
          "    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
          "    <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">",
          "    <title>$1</title>",
          "</head>",
          "<body>",
          "    <header>",
          "        <h1>$2</h1>",
          "    </header>",
          "    <main>",
          "        <section>",
          "            <a href=\"https://feiqa.xgqfrms.xyz/index.html\">$3</a>",
          "        </section>",
          "        <article></article>",
          "    <main>",
          "    <footer>",
          "        <p>copyriht&copy; xgqfrms 2019</p>",
          "    </footer>",
          "</body>",
          "</html>"
      ],
      "description": "HTML5 Template & code snippets!"
  }
}

html.json

C:\Users\**\Code\User\snippets\html.json

{
    "HTML5 Template": {
        "prefix": "h5t",
        "body": [
            "<!DOCTYPE html>",
            "<html lang=\"zh-Hans\">",
            "<head>",
            "    <meta charset=\"UTF-8\">",
            "    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
            "    <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">",
            "    <title>$1</title>",
            "</head>",
            "<body>",
            "    <section>",
            "        <h1>$2</h1>",
            "            <a href=\"https://feiqa.xgqfrms.xyz/index.html\">$3</a>",
            "    </section>",
            "</body>",
            "</html>"
        ],
        "description": "HTML5 Template & code snippets!"
    }
}

https://get.app/

https://domain-registry.appspot.com/check?domain=xgqfrms.app

hosts

https://laod.cn/wp-content/uploads/2017/12/huaji.png

https://iiio.io/download/20180503/

https://laod.cn/hosts/2018-google-hosts.html

$ cd C:\Windows\System32\drivers\etc

$ ipconfig /flushdns



# Last updated: 2018-05-11

# before updated: 2017-11-09

# Localhost (DO NOT REMOVE)
127.0.0.1   localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost

# *****************************************************************************************************
# *****************************************************************************************************
127.0.0.1  www.xgqfrms.com
127.0.0.1   www.xgqfrms.abc

# github
151.101.100.133   www.xgqfrms.xyz
151.101.100.133   xgqfrms.xyz

127.0.0.1   www.xray.com
127.0.0.1   www.xray.xyz

127.0.0.1   video.xray.com
127.0.0.1   music.xray.com
#192.168.2.104-192.168.2.253 ??IP?è·??ìwlané

# gitub.com

192.30.255.113 gitub.com

# *****************************************************************************************************
# *****************************************************************************************************


# Localhost (DO NOT REMOVE)
127.0.0.1	localhost
::1	localhost ip6-localhost ip6-loopback



# https://laod.cn/hosts/2017-google-hosts.html

# This work is licensed under a CC BY-NC-SA 4.0 International License.
# https://creativecommons.org/licenses/by-nc-sa/4.0/

# Modified Hosts Start