Tag:command

  • Learn a Linux command every day (60): SCP

    Time:2021-8-2

    Yesterday’s recommendation:Learn a Linux command every day (59): SSH Command introduction SCP secure copy is used to copy files between different hosts. SCP command is often used to transfer files between two different hosts under Linux system. Its function is the same asCP commandSimilar, but the difference is that the CP command can only be […]

  • Command line extension for vscode learning

    Time:2021-8-2

    Command line extension for vscode learning Command line is the most commonly used function of vscode. Command line extension is an indispensable part of vscode’s own extensibility Creation and operation of components establish Initialize an extension through yeoman and vscode extension generator npm install -g yo generator-code yo code Typescript is one of the features […]

  • Game environment configuration: react native development environment configuration for Android

    Time:2021-8-2

    React native is an open source project of Facebook. Facebook hopes to write native app by writing web app. It allows us to develop applications with JS and react. With react native, we can take all Android, IOS and the web. We can create our applications with only a copy of business logic code. originReact […]

  • Install JDK for Ubuntu 16.04

    Time:2021-8-2

    Download and install JDK wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.tar.gz sudo tar -zxvf jdk-8u111-linux-x64.tar.gz sudo cp -R jdk1.8.0_111 /opt/ Create soft link sudo ln -s /opt/jdk1.8.0_111/bin/java /bin/java Configure system environment variables sudo vi /etc/profile export JAVA_HOME=/opt/jdk1.8.0_111export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/libexport PATH={JAVA_HOME}/bin:$PATHNote: of whichJAVA_HOMEDesignated asJDKInstallation directory, in addition,LinuxAre separated by colons, different fromWindowsUse semicolons to separate the.   Save and exit after […]

  • Tee command instance

    Time:2021-8-1

    teecommandIt is used to read the standard input data, output the content to the screen, save it as a file at the same time, and can be saved to multiple files. How to use tee teeThe most basic usage is to display the output results and save the contents to a file. The following example […]

  • You’re only one interview question away from a high salary

    Time:2021-8-1

    preface After the painful spring and autumn moves, I have also accumulated some facial classics, hoping to help you. Due to the word limit, those who need answers can follow GZH [programmer space] to get the full PDF for free other What is idempotent? Under what circumstances do we need to consider idempotence? How do […]

  • Composer update commands and common commands

    Time:2021-8-1

    Original address:https://www.wjcms.net/archives/composer Update commands and common commands Composer is a package dependency management tool for PHP. Developers upload the developed toolkit and users can use it easily. Let’s summarize it today. Composer installation Official address:https://getcomposer.org/download/Download address:https://getcomposer.org/Composer-Setup.exeDownload and install directly. Check that the installation is complete Use command: composer –version #Be careful to capitalize here composer […]

  • Django unit test reported an error and did not create a data table

    Time:2021-8-1

    Error reporting description Errors are reported as follows > python manage.py test tweets ………….. File “C:\Users\17293\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\backends\utils.py”, line 84, in _execute return self.cursor.execute(sql, params) File “C:\Users\17293\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\utils.py”, line 90, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File “C:\Users\17293\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\backends\utils.py”, line 84, in _execute return self.cursor.execute(sql, params) File “C:\Users\17293\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\backends\mysql\base.py”, line 73, in execute return self.cursor.execute(query, args) File “C:\Users\17293\AppData\Local\Programs\Python\Python39\lib\site-packages\MySQLdb\cursors.py”, line 206, […]

  • Alternative to nginx openresty installation notes

    Time:2021-7-31

    Nginx is a well-known HTTP server, which is widely used in HTTP services, reverse proxy, load balancing and other scenarios. But sometimes we need to complete some more complex forwarding functions. At this time, we need to add some modules to nginx. Because most of these modules are not provided by nginx by default, it […]

  • Finish Anaconda environment in seconds. Use Tsinghua image to install opencv and teach you how to install an elegant environment (1-4)

    Time:2021-7-31

    First of all, opencv is not recommended to install with CONDA command, but the speed of using pip is very slow. At this time, Tsinghua image will be used 1. Enter the anaconda virtual environment you want to install 2. PIP command line input pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python Basically, this command can solve the […]

  • How to introduce alias into bash script

    Time:2021-7-31

    For more interesting content, please pay attention to WeChat official account:Back end technology cabin Use of alias In daily development, in order to improve the operation and maintenance efficiency, we will use alias (command alias) to define the abbreviation of the command. Like in~/.bash_profileAdd to: alias ll=’ls -lrt –color’ alias bdebug=”go build -gcflags ‘-N -l'” […]

  • Linux commands run in the background

    Time:2021-7-31

    There are two ways to run commands in the Linux background: CMD &: it runs in the background. If the terminal is turned off, it will stop running Nohup CMD &: running in the background. Turning off the terminal will not stop running Method 1: CMD& CMD & enables commands to run in the background. […]