Git Branch Management - Create, Merge, Delete Branches
Preface:
Almost all version control supports branching in some way.Using branching means that you can separate your work from the development main line, so as not to affect it.
Git's branching model is known as its "must-kill" feature, which makes Git stand out from many version control systems.Git handles branches incredibly lightwe ...
Posted by PURU on Thu, 14 Nov 2019 14:17:44 -0800
Continuously Integrated Gitlab Installation and Application
Preface:
Gitlab is an open source application developed using Ruby on Rails that implements a self-hosted repository of Git projects that can be accessed through the Web interface from public or private projects. Gitlab has Github-like capabilities to browse source code, manage defects and comments.Can manage team access to the repository, he ...
Posted by Alphamonkey on Thu, 14 Nov 2019 11:33:31 -0800
Getting started with Google Assistant SmartHome
demand
Through Google Assistant to control some slave devices (Light, Washer and other devices), a short video on Youtube introduces the process of Google Assistant to control SmartHome. Integrating Smart Home Devices with the Google Assistant
Smart Home development documentation
Google Assistant controls third-party slave d ...
Posted by ieda on Wed, 13 Nov 2019 10:55:37 -0800
Using git to tamper with history
⭐ more front-end technology and knowledge points, search subscription No. JS bacteria subscription
Sometimes we need to modify the contents of git historical submitted files. If it's only in the previous commit, just modify the files and execute -- amend:
If the last submitted document is modified:
// do something
git add .
git commit --amend ...
Posted by $username on Tue, 12 Nov 2019 12:04:55 -0800
Centos7 Installation Deployment Sinicized Gitlab
Environment centos7, memory at least 4G, Gitlab is memory intensive.GitHub Installation Reference: https://about.gitlab.com/install/Component Installation Reference: https://docs.gitlab.com/ce/development/architecture.html
install
Configure Yum SourceUse the domestic software mirror station, here use Tsinghua University's open source softwa ...
Posted by jackliu97 on Mon, 11 Nov 2019 16:17:45 -0800
Error reported in jpcap experiment java.lang.NoSuchMethodError: setPacketValue, getPacket always gets null result
In the Jpcap experiment, the running program always reported an error, the information is as follows:
Error statement:
jpcap = JpcapCaptor.openDevice(devices[0],caplen, promiscCheck,20);
The result of getPacket() function execution has not been null, and no answer has been found on the Internet
Finally, we found that it w ...
Posted by homerjay on Mon, 11 Nov 2019 15:02:33 -0800
REDIR + supervisor port mapping and monitoring
I. redir
Redir can map the port of a machine to a port of the machine, supporting TCP connection.Git address: https://github.com/troglobit/...Download: git clone https://github.com/troglobit/...
Installation:
# cd /redir
yum -y install automake
yum -y install autoconf
# ./autogen.sh
# ./configure //The default directory is / usr/local. I ...
Posted by gca07738 on Sun, 10 Nov 2019 13:36:27 -0800
[Android 9.0] can't open usb uvc camera
Background: the development board of Android 9.0 system can access the binocular camera, only one camera can be opened, the other cannot be opened
Key log:
From the view of serial port printing, usb driver correctly recognizes usb hub and two usb camera devices
[ 4526.512542] usb 2-1: new high-speed USB device number 8 using ehci-platform
& ...
Posted by jcanker on Sun, 10 Nov 2019 12:43:40 -0800
How do I batch rename a set of files on Linux last time?
On Linux, mv commands are commonly used to rename files, which is convenient for renaming individual files.However, if we want to rename a set of files, mv is a bit tired.But that's okay. Today we're going to introduce a useful command for batch renaming, the rename command.
Here's how to use the rename command in more detail.
Unlike the mv com ...
Posted by youngloopy on Thu, 07 Nov 2019 19:38:49 -0800
git upgrade project version and generate changelog
Semantic Version Control SpecificationContract SubmissionNode.jsNPMTaobao NPM MirrorCommitizenconventional-changelog-cli
introduce
Semantic Version Control
Contract Submission
Noun Interpretation
Demonstration
Plug-in unit
1. Install Node.js
2. Install cnpm (Taobao NPM mirror)
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
3 ...
Posted by p2003morris on Thu, 07 Nov 2019 07:24:22 -0800