Tag:Browser

  • Dealing with sudden failure of public CDN

    Time:2020-12-1

    Use of public CDN When I started to develop my blog, I used bootcdn and found that they were hacked. Although we want to scold those “hackers”, we have no way to prevent them. We can only solve the problem from our own website. At that time, I didn’t have the technology to solve this […]

  • (1) Three implementations of – springboot2 – applicationcontextinitializer

    Time:2020-12-1

    The first implementation methodMETA-INF/spring.factories step1: ImplementationApplicationContextInitializerInterfacestep2: resources create in the resource file directory:META-INF/spring.factories, configure key and value as: interface class = implementation class example:(1) . implement applicationcontextinitializer package com.niewj.fileman.initialized; import org.springframework.context.ApplicationContextInitializer; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.annotation.Order; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.core.env.MapPropertySource; import java.util.HashMap; import java.util.Map; /** * @Author weijun.nie * @Date 2020/4/27 8:00 * @Version 1.0 */ […]

  • On Web font family

    Time:2020-12-1

    preface Recently, we have studied the font family font settings of major websites, and found that the default values of each website are different, and even some large websites have made obvious mistakes, which shows that the font is still a great knowledge, and we should study it carefully. The default fonts embedded in different […]

  • Learning notes – communication between multiple tabs in the browser

    Time:2020-11-30

    Redux vuex this is a single page application cross page state management, multi page application cross page data transmission This topic mainly investigates the technical means of data interaction between tabs in multi page application. Multi page communication is mainly used Browser data storage mode: browser data storage mode is mainly solved by local storage, […]

  • Modern front end — all kinds of questions and answers

    Time:2020-11-30

    What static resources will be referenced in the web page JS file .js .jsx .coffee .ts The browser can only parse and run JS files, and other suffixes can only be recognized by the browser after being compiled into JS files by the compiler CSS file . CSS. Less. Sass (obsolete). SCSS The browser can […]

  • wri.pe Simple and elegant open source online note taking service

    Time:2020-11-29

    wri.peIt’s a great online note taking service. His developersYuichiro MASUI Open source wri.pe Code for。 characteristic The interface is simple and allows you to focus on notes. If the date is involved in the notes, the notes will be automatically integrated into your schedule. Markdown markup language and keyboard shortcuts for a smooth note taking […]

  • Detailed explanation and practice of redfish next generation data center management standard

    Time:2020-11-29

    preface Looking at the current server from the previous closed source management systems, such as Dell’s OpenManage and Idrac, Huawei’s IBMC, HP’s OneView and ILO, Lenovo’s xclarity and xclarity controller’s embedded management, imm2 (acquired from IBM’s systemx PC) Server Series) are actively embracing open source automation tools such as ansible. In this case, redfish, known […]

  • [GitHub] javascript trend list project (week 38)

    Time:2020-11-29

    September 14, 2020 – September 21, 2020 1. jhipster/generator-jhipster Project address: https://github.com/jhipster/generator-jhipster ⭐:17,307 | forks:3,417 | 219 stars this week Jhippster is a development platform that can quickly generate, develop and deploy modern web applications and microservice architectures. 2. CleverProgrammers/react-challenge-amazon-clone Project address: https://github.com/CleverProgrammers/react-challenge-amazon-clone ⭐:406 | forks:244 | 46 stars this week Amazon react challenge clone […]

  • The cache will work! Haven’t you heard of the architecture yet? Knowledge bottle of distributed multi-level cache architecture

    Time:2020-11-28

    When we talk about cache, my heart suddenly brightens up. Forced by the form of key value, I always feel light wind supporting the face and willows Yiyi. Everything is in my control. Like the impulse of a beautiful woman in her eyes, her face is full of beauty in her mind.Do you know the […]

  • Front end cross domain really easy, mom no longer need to worry

    Time:2020-11-28

    This paper mainly introduces two cross domain methods, jsonp and CORS. Koa simulation is used in the background. The real goal is to understand the whole cross domain process. As for what is cross domain and browser homology strategy, please Baidu. JSONP Jsonp is actually a kind of trick, which makes use of the browser’s […]

  • HTML5 (V) geolocation

    Time:2020-11-27

    HTML5 Geolocation Locate the user The HTML5 geolocation API is used to get the user’s geographic location. Since this feature may infringe the privacy of users, the location information of users is not available unless they agree. be careful:Geolocation is more accurate for devices with GPS, such as the iPhone. geographyGeography; location; geo + location; […]

  • Construction process of egg react SSR server rendering webpack

    Time:2020-11-27

    1. Launch of local egg project First of allnode index.jsperhapsnpm run devStart egg app Start the koa service in the egg agent, and start the webpack compilation service in the koa service Mount the webpack memory file reading method to override the local file reading logic app.react.render = (name, locals, options) => { const filePath […]