Tag:environment variable

  • Linux add path to path environment variable

    Time:2021-3-6

    Linux add path to path environment variable 1、 Path environment variable The path variable is the place where the Linux system stores the search path of the executable file, which is equivalent to the path variable of the windows system. Because I haven’t used it in other operating systems, I don’t know the details. Similar […]

  • How to specify resolver in Linux script?

    Time:2021-3-5

    background When using shell script or Python script, some people like to use it#!/usr/bin/env NAMESpecifies the parser, which some people prefer to use#!/usr/bin/NAMEThe former is often considered to have better compatibility, so it should be used preferentially. This paper will carefully analyze the advantages and disadvantages of this writing method. analysis First, take a closer […]

  • How do I migrate my blog to kubernetes (Part 1)

    Time:2021-3-4

    Recently, the development of kubernetes, as well as a large number of applications in our company, I can’t wait to have a taste. Although my blog is a pure static site based on hexo, it doesn’t stop me from migrating it to kubernetes! After all, compared with GitHub, pages is more flexible, more controllable, emmmm… […]

  • How can MySQL store trillions of data?

    Time:2021-3-3

    preface The industry has basic requirements for the high availability of the system. In short, these requirements can be summarized as follows. There is no single point problem in the system architecture. It can guarantee the availability of services to the maximum extent. In general, the high availability of the system can be evaluated by […]

  • Viper read configuration file

    Time:2021-3-2

    viper Project address: github.com/spf13/viper What is Viper Go development tool is mainly used to deal with various formats of configuration files and simplify the reading of program configuration Viper support: Set default configuration Supports reading JSON toml, yaml HCl and Java property configuration files Monitor the change of configuration file and read the content of […]

  • Application management under k8s — understanding helmfile

    Time:2021-3-2

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart In the last article, we introduced the initial use of helm. However, it still can not meet our workflow. The […]

  • Gyp err! Find Python solution

    Time:2021-2-27

    The command line error is as follows E:\vue-admin\node_modules\fibers>if not defined npm_config_node_gyp (node “D:\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” rebuild –releas e ) else (node “D:\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild –release ) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! […]

  • Install fcitx5 input method in Ubuntu 20.10

    Time:2021-2-27

    As we all know, Chinese input method is the pain of Chinese Linux users.Before I met fcitx5, I tried all the Linux input methods available in the market. The following lists these input methods and their problems (each input method will be called Linux version, and I won’t explain it for convenience below) Baidu input […]

  • The first blog about go

    Time:2021-2-25

    1、 Write on the front In fact, it’s time to write this blog. Why hasn’t it been written? It’s not that I’m too busy (actually, it’s just that I’m too lazy). But well, now I’m finally going to start writing this blog. Before reading this blog, you may need to have some basic knowledge of […]

  • It’s 2039. Can’t you compile JDK source code? It’s time to read this article~~

    Time:2021-2-25

    1、 Overview What is your most unforgettable experience? If let me answer this question, then I think the first time I learned java was one of my most unforgettable experiences. I remember it was a night of thunder and lightning, wind and rain… Doodle doodle, ha ha, I started to write the first hello with […]

  • Two node assistive tools NRM and NVM

    Time:2021-2-23

    If you are in a brand new development environment, focus on (BRAND NEW!)I don’t recommend that you go to node Chinese immediately to download the latest nodejs package, but I suggest that you go to NVM to download version management tools and start your own programming journey nvm ( Node Version Manager ) Question: how […]

  • Configuration of flutter environment variables in Mac OS

    Time:2021-2-22

    reference resourcesThis article) //Android SDK environment variable configuration (those not configured need to be configured) export ANDROID_HOME=”/Users/WES319MAC/Library/Android/sdk” export PATH=${PATH}:${ANDROID_HOME}/tools export PATH=${PATH}:${ANDROID_HOME}/platform-tools //Open (or create). Bash_ profile open -e .bash_profile Add the following code to the file edit and save the fileexport PUB_HOSTED_URL=https://pub.flutter-io.cnexport FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cnexport PATH=/Users/WES319MAC/Library/flutter/bin:$PATH be careful:1. Because some flutter commands need to be connected to […]