Tag:region

  • Uiview control

    Time:2021-12-30

    Uiview is a view display, which is mainly used for user interaction. It is responsible for rendering the content of the area and responding to touch events in the area. It is not difficult to see from the figure in the previous article that uiview inherits from uiresponder, and most controls in IOS inherit from […]

  • Linux Firewall commands

    Time:2021-12-27

    preface Firewall command service restart networkThe command can be usedsystemctl restart networkreplace 1、 systemctl Systemctl unmask firewalld # execute the command to unlock the service Systemctl mask firewalld # execute when the service needs to be locked next time systemctl start firewalld. Service # start firewall systemctl stop firewalld. Service # stop firewall systemctl reloadt […]

  • The blog recommends four reasons why Apache pulsar is crucial to modern data stack

    Time:2021-12-24

    About Apache pulsar Apache pulsar is a top-level project of the Apache Software Foundation. It is a native distributed message flow platform for the next generation cloud. It integrates message, storage and lightweight functional computing. It adopts a separate architecture design of computing and storage, supports multi tenant, persistent storage, multi machine room cross regional […]

  • MPU: Hongmeng light kernel task stack overflow prosecutor

    Time:2021-12-22

    Summary:MPU (memory protection unit) maps memory into a series of memory areas, and defines the dimensions, size, access rights and memory familiarity information of these memory areas. This article is shared from Huawei cloud community《Hongmeng light kernel M-core source code analysis series 16 MPU memory protection unit》, author: zhushy. MPU (memory protection unit) maps memory […]

  • Solution to the fuzzy problem of saving html2canvas screenshots as images

    Time:2021-12-21

    When using html2canvas JS found a problem. When there is a background picture in your screenshot area: Html2canvas is written as followsclear <img width=”100%” height=”100%”> Html2canvas is written as followsvague <div class=”bgImg”>…</div> bgImg{ width : 200px; height : 200px; background : url(‘../img/bgImg.jpg’); background-size: 100% 100%; } As for why, I don’t know.The version is html2canvas […]

  • How to expand the click range of buttons in IOS development

    Time:2021-12-20

    We always encounter such problems when doing projects. It is not easy to click because the length and width of the button are designed to be very small. At this time, we need to expand the click area without changing the original size of the button. Before solving this problem, we need to know what […]

  • Answer Questions with Right Image Regions: A Visual Attention Regularization Approach

    Time:2021-12-17

    Answer Questions with Right Image Regions: A Visual Attention Regularization Approach Problems with previous models Although the existing VQA models have benefited a lot from visual attention, an urgent problem is the lack of visual basic guidance. This usually causes the visual attention mechanism to focus on image areas that are less relevant to the […]

  • Distributed current limiting based on nginx

    Time:2021-12-14

    #Current limiting according to IP address #1) first parameter $binary_ remote_ addr # binary_ The purpose is to reduce the memory occupation, remote_ Addr indicates that the current is limited by the IP address #2) the second parameter zone = iplimit: 20m #Iplimit is a memory area (recording access frequency information), and 20m indicates the […]

  • International text translation data is converted into JSON files using nodejs

    Time:2021-12-12

    The system is internationalized, and then the marketing department gives a Chinese-English translation. There are still a lot of translated items and repeated translations, and they may be added in the future. It is best to write a simple conversion method now. const readline = require(‘readline’); const fs = require(‘fs’); async function processLineByLine() { const […]

  • Best practice – abandon CEPH, salesforce uses Apache bookkeeper to achieve the strongest storage in the cloud

    Time:2021-12-9

    About Apache pulsar Apache pulsar is a top-level project of the Apache Software Foundation. It is a native distributed message flow platform for the next generation cloud. It integrates message, storage and lightweight functional computing. It adopts a separate architecture design of computing and storage, supports multi tenant, persistent storage, multi machine room cross regional […]

  • Great! Recommend a web automation artifact – automa!

    Time:2021-12-8

    1. Preface Hello, I’m Ango! Many excellent web automation tools have been recommended before, such as selenium, helium, cypress, pyppeeer, etc The premise of using them to realize automation is to install dependencies, download browser drivers, and master a certain coding basis Is there a tool for zero basic coding and low code that can […]

  • The blog recommends three cross regional replication solutions of Apache pulsar

    Time:2021-11-30

    Editor’s recommendation: Ran Xiaolong, the original author, was first released in the official account of Tencent cloud. For reprint, please contact. This article mainly introduces Apache pulsar’s cross regional replication solutions in different scenarios. The following article comes from Tencent cloud middleware  , Author ran Xiaolong About Apache pulsarApache pulsar is a top-level project of […]