Deploy your own ngrok in 7 minutes

Deploy your own ngrok in 7 minutes Article Background Pre-preparation Install software Article Background Recently, to develop the WeChat Public Number, we need to use the external network ip. However, the free version on the Internet is either slow or changing IP regularly, so we decided to dep ...

Posted by baze on Thu, 16 Jan 2020 18:00:42 -0800

The program written by Golang injects some version information, and the debugging speed is naturally several times faster!

background Print git submission information compilation information when Go program runs Golang compiling information injection program When debug ging, we need to know what version of go program is currently running Don't waste time trying to confirm the version External parameters can be injected during go build compilation Let go progra ...

Posted by dcav on Sun, 12 Jan 2020 06:05:50 -0800

Github Actions user guide and Android continuous integration example

Preface Github Actions official document (the general entry of all the official documents below) gives a detailed description of many details, but if you are the first time to contact, you see a lot of details, and you don't know what they are, so you will forget them soon. This article, from the code ...

Posted by markbm on Fri, 10 Jan 2020 23:39:38 -0800

List of Git commands commonly used in seven years

I use Git every day, but I can't remember many commands. Generally speaking, just remember the following 6 commands for daily use. But skilled use, I'm afraid to remember 60-100 orders. Here is a list of common Git commands I've compiled. The translated names of some special nouns are as follows. Workspace: workspace Index / Stage: ...

Posted by fernyburn on Mon, 06 Jan 2020 18:45:53 -0800

How do I push modified submissions to a remote Git repository?

When I work with my source code, I do my usual submissions and push them to a remote repository.But then I noticed that I forgot to organize my imports in the source code.So I made a modification command to replace my previous submission: > git commit --amend Unfortunately, submissions cannot be pushed back to the repository.This was r ...

Posted by shah on Sun, 05 Jan 2020 04:33:51 -0800

Install nginx Kafka plug-in

Install nginx Kafka plug-in nginx can directly write data into kafka. 1. install git yum install -y git 2. Switch to the directory / usr/local/src, and then clone the c client source code of kafka to local cd /usr/local/src git clone https://github.com/edenhill/librdkafka 3. Enter librdkafka and compile ...

Posted by KevinMG on Sat, 04 Jan 2020 23:44:35 -0800

Digital scroll control

In a previous project, there is a gold coin attribute. When you want to add gold coins, you need to scroll like a slot machine, find the information on the Internet, summarize it, and share it with you. Let's start with the picture (git doesn't work, let's imagine) Usage method 1. Create attrs.xml file under res/values to c ...

Posted by DrFishNips on Thu, 02 Jan 2020 15:11:44 -0800

centos7 yum install testeract PIP install python3 testeracr

centos7 system yum installs testeract, and pip installs testserocr of python3 September 4, 2018 00:00:27 reading: 15 label: centos7python3tesserocr More Personal classification: python Copyright notice: This is the original article of the blogger. It can't be reproduced without the permission of the blogger. https://blog.csdn.net/zyy24779614 ...

Posted by makoy on Wed, 01 Jan 2020 03:29:51 -0800

glide installation dependency error Cannot detect VCS

Today, when using glide to install golang project dependencies, an error is reported as follows: (the second time, make a record today) [ERROR] Failed to set version on golang.org/x/sys/unix to : Cannot detect VCS [ERROR] Failed to set version on golang.org/x/text/transform to : Cannot detect VCS [ERROR] Failed to set version on golang.org/x ...

Posted by chatmaster on Wed, 01 Jan 2020 00:25:28 -0800

Getting and using the "Ou id" in mongodb

  1, query parameters in git form For git path parameters, click a link to get / lydetail?id in the URL bar, and then you can receive this id in the index.js file. The route name is / lydetail <a href="/lydetail?id=<%-item._id %>"><%-item.title %></a> <table class="table"> <tr>< ...

Posted by JovanLo on Tue, 31 Dec 2019 23:26:09 -0800