Tag:command line

  • Electron Guide – debug main process


    Debug main process Devtools for browser windows can only debug scripts for rendering processes (such as web pages). To provide a way to debug scripts in the main process, electron provides–debugas well as–debug-brkOption switch. command line switch Use the following command line to switch to debug electron’s main process mode: –debug=[port] This switch will enable […]

  • npm Getting started


    Introduction Recently, I have to contact with relevant things and become familiar with the documents. Here is mainly the content recording in the getting started section that I feel is helpful. Origin My GitHub form NPM consists of three different parts: website Command line interface (CLI) Registration By using the website, you can find discovery […]

  • ‘ascii’ codec can’t encode characters in position


    ‘ascii’ codec can’t encode characters in position problem Error in running Python 3 script output to command line in Ubuntu Solution Add Lang or LC_ All is set to en_ US.utf8 Or zh_ CN.utf8 List current settings [email protected]:~# locale LANG=zh_CN.UTF-8 LANGUAGE= LC_CTYPE=”en_US.UTF-8″ LC_NUMERIC=”en_US.UTF-8″ LC_TIME=”en_US.UTF-8″ LC_COLLATE=”en_US.UTF-8″ LC_MONETARY=”en_US.UTF-8″ LC_MESSAGES=”en_US.UTF-8″ LC_PAPER=”en_US.UTF-8″ LC_NAME=”en_US.UTF-8″ LC_ADDRESS=”en_US.UTF-8″ LC_TELEPHONE=”en_US.UTF-8″ LC_MEASUREMENT=”en_US.UTF-8″ LC_IDENTIFICATION=”en_US.UTF-8″ LC_ALL=en_US.UTF-8 List […]

  • ThinkPHP 6.0 foundation tutorial – Installation


    Series articles: ThinkPHP 6.0 foundation tutorial – Installation ThinkPHP 6.0 basic tutorial – basic process ThinkPHP 6.0 basic tutorial – add, delete, modify and check ThinkPHP6.0Environment: PHP >= 7.1.0 My local environment: Win10 PhpStudy installPhpStudy If you have already installedPhpStudyOr other environment, please ignore here The installation method is very simple, and it can be […]

  • The front end uses docker, Travis + dockerhub


    Demo environment: WindowsProject Name: docker_ Demo 1、 Install docker Download the docker installation package on the official website, and then install it directlyhttps://www.docker.com/ Download address of docker official websiteOpen directly after installation Open the terminal command line and enter docker. The following information will appear, indicating that the installation is successful Two core knowledge points […]

  • Win8 upgrade win10 prompt “error code 80240020” — win7w.com


    Some win8 users reported that they wanted to start using win10 because everyone around them was using win10. However, a prompt “error code 80240020″ appeared in the process of upgrading win10, which led to the installation failure. This made the user puzzled and was very upset. Next, in view of this problem, the small editor […]

  • Old Android mobile phone installed with Ubuntu as low power server


    Old Android phone installed with UbuntuLow power server To make a living I’ve been thinking about a low-power device recentlylinuxServer, only run some small programs, such asPythonWritten crawler or scheduled task. I read it on the Internet, what raspberry pie? It costs two or three hundred yuan for one set, which is not cost-effective. It […]

  • Interpretation of laravel core — console kernel


    Console kernel In the last article, we introduced the HTTP kernel of larravel, and gave a detailed overview of how the HTTP kernel mobilized various core components of larravel to complete tasks in the whole life cycle of network requests from entering the application to processing requests and returning HTTP responses. In addition to processing […]

  • Use Speedtest cli to test your network speed


    In this article, we will use a Speedtest clicommandLine tool to test the network speed. It is a tool written in Python language speedtest.net Websites upload and download data to test bandwidth. Environmental Science Centos7 Install Speedtest cli tool Before installing Speedtest cli, we need to install the python3 PIP package manager, and then install […]

  • Your app isn’t using Android X


    Today, in the process of learning the development of flutter, I wrote a basic demo. I want to make a formal installation package APK and install it on the mobile phone to experience the effect. After configuring the Android signature file, run the fluent build app command line to build a formal (release) package. During […]

  • MySQL forgot the root password, error number 1045 solution


    Stop MySQL service Windows can right-click My Computer – Management – services and applications – Services – to find the corresponding services and stop Password free login Switch to the MySQL installation path: D: mysql-5.7.24-winx64.bin; if the environment variable has been configured, there is no need to install the directory Open the CMD command window […]

  • Ubuntu 16.04 install NVIDIA graphics driver!


    The NVIDIA independent graphics card installed in the new computer has an open-source nvida driver available on Ubuntu, but the interface is always stuck. Therefore, the official driver is installed, which is extremely smooth. The following is my method, which is simple and crude. Ubuntu 16.04 install nvida graphics card The recommended command line installation […]