Tag:link

  • Mac xcrun: error: active developer path solution

    Time:2021-7-30

    resolvent xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist ##Use this command: sudo xcode-select –reset This work adoptsCC agreement, reprint must indicate the author and the link to this article

  • Core technology practice of deep learning Python

    Time:2021-7-30

    This work adoptsCC agreement, reprint must indicate the author and the link to this article

  • Electron pseudo protocol parameter acquisition

    Time:2021-7-30

    In the last issue, we introduced how to set the pseudo protocol and pull up the client through the pseudo protocol link. In fact, there are many scenarios for the pseudo protocol, such as Baidu online disk or Xunlei. Click the link on the web page to download, or click the link to pull up […]

  • Update git version of CentOS (GIT 2. X)

    Time:2021-7-30

    Because the GIT version of CentOS is too low, there will be problems such as timeout when connecting to the remote warehouse during use, so you need to upgrade the GIT version. Reference linkhttps://computingforgeeks.com… Check git version git –version** Delete Git yum remove git* Install the latest version yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm yum install git

  • Using select, two cases can read data from the same Chan, and both cases may be executed to

    Time:2021-7-29

    Series articles: It is proved that socket is full duplex and read and write are independent of each other Using select, two cases can read data from the same Chan, and both cases may be executed to package main func main() { ch := make(chan int) go func() { for { select { case l […]

  • Rust code compilation that can be shared with Android, IOS and fluent platforms [turn]

    Time:2021-7-29

    Original link– https://robertohuertas.com/2019/10/27/rust-for-android-ios-flutter/Original author – Roberto Huertas What if I told you that you could use the same very performant code inAndroid,iOSor even inFlutter. In this article, we’ll see how to achieve this withRust. But, why would we want something like this? Imagine that you have a mobile app that needs to process some audio […]

  • Java processing PDF size

    Time:2021-7-28

    1、 Import dependency Import iText related dependencies <!–https://mvnrepository.com/artifact/com.itextpdf/itextpdf–> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.13</version> </dependency> <!– https://mvnrepository.com/artifact/com.itextpdf/itext-asian –> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itext-asian</artifactId> <version>5.2.0</version> </dependency> 2、 Encapsulated tool classes import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.Image; import com.itextpdf.text.PageSize; import com.itextpdf.text.pdf.PdfImportedPage; import com.itextpdf.text.pdf.PdfReader; import com.itextpdf.text.pdf.PdfWriter; import java.io.FileOutputStream; import java.io.IOException; public class ModifyPdfUtil { /** *Automatically modify PDF size to A4 size […]

  • Simple demo of websocket + react

    Time:2021-7-28

    About demand Function of simply receiving server information Front end demand analysis Acceptable server information You can close the session Restartable session Knowledge demand A little TS + react A little node + Express A little websocket About the simplest demo Front end implementation onlyStart websocketAndAccept sessionAs the key The server node will realize the […]

  • Installing docker for centos7

    Time:2021-7-27

    Installation command 1. Update to the latest version yum update 2. Uninstall the old version of docker yum remove docker docker-common docker-selinux docker-engine 3. Install required packages yum install -y yum-utils device-mapper-persistent-data lvm2 4. Set the yum source to domestic Alibaba cloud yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 5. View docker version yum list docker-ce –showduplicates|sort -r 6. […]

  • Tips for HTML — skillfully using tag anchor link (# anchor link # page specific location # anchor location # DOM location # anchor link used in hash routing)

    Time:2021-7-27

    #Author: one pixel   In front-end development, we often encounter the need to locate a specific location on the page. El. Scrollintoview () and el. Are provided by JavaScriptScrollintoviewifneeded() is a new API to realize the visibility of elements in the interface. Of course, you can also control the position of the current element by […]

  • The compiler supports spark read / write OSS (CDH 5. X)

    Time:2021-7-27

    preface Background: use spark to read HDFS files and write them to OSShadoop : 2.6.0-cdh5.15.1spark : 2.4.1Main reference links:https://blog.csdn.net/wankund…Attention points and pit points are added Compile Hadoop aliyun The higher version of Hadoop supports aliyun OSS access by default, but this version does not. It needs to be compiled Pull the Hadoop trunk branch code […]

  • CSS selector and three features (2)

    Time:2021-7-27

    compound selector Why use composite selectors? It can quickly and efficiently select the target element label Composite selectors are composed of one or more basic selectors through different combinations Descendant Selectors Parent child {attribute 1: attribute value 1; Attribute 2: attribute value 2;} matters needing attention Descendant selectors, also known as include selectors, can select […]