Tag:Bring your own

  • 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

  • Get to know react

    Time:2021-7-22

    Clsss should use classname <div className=”color-light”> The structure of documents now seems to refer to each other Subtitle SCSS introduction In order to look at the comfortable and faster selection label, I decided to use SCSS. The demo comes with less, but relatively speaking, SCSS is more familiar and is not successful { test: /\.(le|c|sc)ss$/, […]

  • Go verifies whether the string contains Chinese characters

    Time:2021-7-7

    When we find a method to verify whether a string contains Chinese characters, it is better than regular method, and it comes with golang’s own verification. You don’t need to write your own regular verification. The code is as follows: package main import ( “fmt” “regexp” “unicode” ) func main() { S1: “I’m Chinese, hello […]

  • Node and NPM installation environment configuration (Windows)

    Time:2021-7-6

    Node installation:1. Download the latest node installation package from the official websitehttp://nodejs.cn/download/ 2. Install nodeDouble click the MSI file and the following interface will appear. Click until the installation is successful 3. Open the command manager and enter node – V to check whether the version is installed successfully NPM installation:Node comes with NPM. If […]

  • [prohibit chrome page translation code block] chrome plug-in

    Time:2021-7-5

    Today, I found a problem when I visited GitHub, that is, the translation provided by Chrome browser will translate code blocks, like the following:After the plug-in is installed, it looks like this:It’s comfortable.Link: https://pan.baidu.com/s/14480sqFh7XCoTR2XMEm9hg Extraction code: 8wki

  • Python common project deployment process

    Time:2021-6-9

    Project deployment process Update system source sudo apt-get update The reason for updating the system source is that many of the software installed in the virtual machine we purchased has not been updated to the latest version, and there may be problems in subsequent installation Install dependency package #Install the dependency Library of GCC G […]

  • Ubuntu update git source, login without password

    Time:2021-6-8

    The GIT version of Ubuntu is lower than the latest git version, which will cause a series of problems Add software source: sudo add-apt-repository ppa:git-core/ppa Update installation list: sudo apt-get update Upgrade git: sudo apt-get install git Get version: git –version You don’t need to enter the password each time to get the code: git […]

  • Build vite + cesium development environment in 10 seconds

    Time:2021-6-7

    Early want to use the front-end popular way of developmentCesiumProject to follow the official English tutorial configurationwebpack。 Even if you are familiar with webpack, it will take at least 10 minutes. And it’s said that webpack upgrade to 5 is not easy to use. Then I configured it myselfrollupThe environment has improved a lot. Later, […]

  • Step 1: introduction and installation of Python + Anaconda + pycharm

    Time:2021-5-4

    There are several concepts python interpreter Py source code parsing tool for binary machine language.We usually say that installing Python means installing the Python interpreter.Note: python2 is not compatible with python3! Python editorAs the name suggests, the most commonly used is pychar.Others are: Download Python interpreter with idle; Chapter notebook, etc. Package management toolsOne of […]

  • 1.3.0-alpha04 Fragment result api

    Time:2021-4-30

    On April 29, 2020, the  androidx. fragment:fragment : version 1.3.0-alpha 04, the modified version discards the previous fragment data transmission mode and adds a new API, as shown in the figure below   In the past, fragments should have been used to transfer data. There are many ways to obtain fragment instances, arguments, callbacks, and […]

  • Spark single deployment

    Time:2021-4-26

    Record the stand-alone deployment of sparkFinally, you can run through the example of spark, but some parameters may need to be adjustedSuppose you have deployed HadoopFirst, Download Scala and spark scala: http://www.scala-lang.org/download/ spark: http://spark.apache.org/downloads.html Then install Scala: The installation of scale is very simple. After decompressing, you can configure the environment variables and use them […]