• Taobao image


    This paper is to solve the problem of usingnpmandyarnDownload the installation package slowly.The simplest way to solve this problem is to set the storage address of the installation package as Taobao image address. npm Set Taobao address npm config set registry https://registry.npm.taobao.org/ Set official address npm config set registry https://registry.npmjs.org/ View warehouse address npm get […]

  • Add authentication to Prometheus node exporter


    This article is mainly to celebrate that node exporter has finally ushered in v1.0.0. Prometheus is the first open source monitoring and alarm solution from Soundcloud. And it has grown into the second CNCF graduate program after kubernetes. With the popularization of cloud original physiology concept and the development of kubernetes and other technologies, Prometheus […]

  • Electron uses the electron builder tool to package the process


    1. Install electronic builder npm install electron-builder –save-dev 2. In the project‘s package.json Configure the parameters of electron builder in the file For specific parameters, please refer to the official document:https://www.electron.build/configuration/configuration Here is my own configuration: { “name”: “electron-quick-start”, “version”: “1.0.0”, “description”: “A minimal Electron application”, “main”: “main.js”, “scripts”: { “start”: “electron .”, “build”: “electron-builder” […]

  • Vue project framework construction (updated from time to time)


    catalog Create project Add unit test Eslint code detection How to turn off code detection of eslint in Vue Add UI library vux Route Vue router State management vuex Create project Use Vue cli to quickly build the project structure. For more usage of Vue cli, please read the official instructions!Vue cli official document Create […]

  • Webstorm cannot input Chinese under Ubuntu


    What is the input method you are using now? Besides, do you use IBus?Enter in the startup file export XMODIFIERS=”@im=ibus” export GTK_IM_MODULE=”ibus” export QT_IM_MODULE=”ibus” Then try starting webstorm.If you can’t, try the following one. export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export [email protected]=fcitx If not, refer to the link below to operate https://youtrack.jetbrains.co… https://www.jetbrains.com/hel… https://confluence.jetbrains…. The above scheme […]

  • Using docker to quickly establish a Kafka instance


    0 Preface Kafka is very popular in recent years. Although it is positioned as a distributed streaming platform, we still use it as an MQ most of the time: P. It happens that Kafka is also being studied recently. It is necessary to prepare the development environment for research and development test. Docker is also […]

  • Configure hue to access AWS S3 China (qbit)


    Hue: Hadoop User Experience Environmental Science AWS emr-5.30.1 Hue 4.6.0 It has been a long time since the two official documents of hue have been used for qbit, but they have not been matched wellDocument 1,Document 2 Document writers don’t think about operating independentlyAWS ChinaUsers’ pain It’s easy to understand, that is, it has to […]

  • Android camera2video integrated into its own project


    Background: in the Android project, the camera is called to shoot video MediaStore.ACTION_ VIDEO_ Capture was later changed to Camera2 due to the needs of the project 1. There is something wrong with camera2video’s official demo. After downloading, it can’t be directly integrated into the project Problem 1. Multiple video crashes Question 2. Double click […]

  • Golang environment installation (WSL Ubuntu)


    Note: This article originally served for the first assignment of service computing course of Sun Yat sen University Who is suitable to read this article? Students in PML’s service computing class Using Ubuntu, installing golang’s Xiaobai Using WSL, installing golang’s Xiaobai Using windows, struggling to install virtual machine or dual system, and installing golang Xiaobai […]

  • Constructing deep learning application with raspberry pie 4B (5) tersorflow


    preface Last time we installed the environment for Python. In this article, we set up a development environment for tensorflow and keras. It has to be said that, compared with Python, tensorflow supports various systems really well. There are corresponding pre compiled installation packages for all platforms and versions, and the official documents are also […]

  • Django introduction Learning Planning and data recommendation


    This article summarizes my learning experience of Django for more than a year, and recommends some high-quality learning materials and tutorials to help you quickly learn about Django, so that you can quickly master the basic Django development technology in one to two months, and be able to use Django to launch some small projects, […]

  • Installing docker on alicloud server linux (centos7)


    Environmental preparation Centos7 based on alicloud server linux And make sure that the GCC related environment is installed yum -y install gcc yum -y install gcc-c++ 1、 View official documents Install according to official documentation Official website address:https://www.docker.com/ 2、 Install according to official documentation 1. Uninstall the old version first yum remove docker \ docker-client […]