• Manually install yii2 redis extension


      Originally, I wanted to download the yii2 redis extension through composer. It’s too slow. I haven’t installed it in the morning. Please install it manually. Here’s a record. 1、 Download address https://github.com/yiisoft/yii2-redis   2、 Use 1. After decompression, it is renamed yii2 redis, and the downloaded extension is placed in thevendor/yiisoftUnder the directory   […]

  • Customizing network card and changing interface of network card in Linux system


    This document details how to add a custom network card to rhel7 and change the interface of the network cardenvironmentVMware Workstation ProRed Hat Enterprise Linux Server release 7.3 View the current network card information[[email protected] ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo)[[email protected] ~]# ifconfigens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet netmask broadcast […]

  • Building angularjs application with gulp


    The reason of using gulp to build angularjs application In 2016, the front-end has become very popular. This year, we also decided to keep up with the pace of the times and enter the ranks of front-end automation. It happens that the company framework adopts angularjs, and CSS adopts SCSS precompiled language. The so-called “think […]

  • Nodejs – deploying node environment on alicloud lightweight server


    Go to the root directory: cd / Download node: wget -c https://nodejs.org/dist/v12.1… Decompression: tar -xvf node-v12.16.1-linux-x64.tar.xz Rename: mv node-v12.16.1-linux-x64 nodejs Establish a soft connection to facilitate the global use of related commands: ln -s /nodejs/bin/npm /usr/bin/npmln -s /nodejs/bin/node /usr/bin/node Finally, check whether it is successful or not npm -vnode -v reference material: Node website: https://nodejs.org/en/ […]

  • Git rename remote branch


    There are three steps Rename local branch git branch -m dev_andoid_O dev_news_sdk New branch committed to remote git push origin dev_news_sdk Delete remote “old branch” git push –delete origin dev_andoid_O 1. Rename local branch git branch -m dev_andoid_O dev_news_sdk 2. New branch committed to remote git push origin dev_news_sdk 3. Delete remote “old branch” git […]

  • Mongodb installation and management tool


    Regular installation cd /usr/local/src #Download curl -O https://fastdl.mongodb.org/osx/mongodb-osx-ssl-x86_64-3.4.20.tgz #Decompression tar -zxvf mongodb-osx-ssl-x86_64-3.4.20.tgz #Rename to mongodb mv mongodb-osx-ssl-x86_64-3.4.20 mongodb #Start, – dbpath specifies the database path, and the default is / data / DB /usr/local/mongodb/bin/mongod –dbpath=/usr/local/coding/data/mongodb Installation based on docker Mongo4 image, start a Mongo container docker run -d –name mymongo -v /usr/local/coding/data/mongodb:/data/db -p 27017:27017 mongo:4 […]

  • 15 git commands you may not know


    Author: zaiste Crazy technology house Original text: https://zaiste.net/15-git-com… No reprint without permission Git can be intimidating at times. Because there are so many commands and details to learn. However, although there is a lot of content in the document, it is easy to read. Once you’ve overcome the initial feeling of being overwhelmed, you’ll feel […]

  • Introduction to pandas


    By Billy fetznerCompile VKSource: towards Data Science I think that since you click this page, you may have a lot of data to analyze, and you may be thinking about the best and most effective way to solve some problems of your data. The answer to your question can be solved by pandas. How to […]

  • Electron + Vue build a local file translator from scratch


    Another happy weekend is coming. When I come back home to embrace my girlfriend, I find that my girlfriend is looking at a pile of English files on the computer, sighing and murmuring: “I’m so tired.”. So, I took a closer look and saw a pile of English folders on her computer, repeatedly copying the […]

  • How to solve the problem of eclipse renaming failure


    Eclipse is our common programming tool. For the convenience of development, we will change the name of the project to our usual name. What should we do when the eclipse project is renamed and the name is restored? The following small series of eclipse renaming failure solutions, I hope to help you. Eclipse renaming failed. […]

  • Teach you three quick ways to batch rename files


    In our working life, whether it is a programmer or a non programmer, we will encounter a demand, that is to rename a pile of files. In windows, there are many excellent software that can help us to complete this requirement, while in Linux, we can simply knock some code to complete this requirement. This […]

  • What is the file extension? What is the use? Easy to understand file extension explanation!


    Link to the original text:https://xiaoheidiannao.com/articles/Extension-Name.html catalog introduce effect Common extensions introduce fileThe file name extension is also known asfileThe suffix of isoperating systemUsed to markfile typeIn Windows system, the extension can also telloperating systemWhat is the defaultSoftwareopenfile. In general, an extension is followed by the main file name, separated by a period. An extension can […]