A comprehensive note about Android getting operators
Time of publication: October 20, 2019
Content overview
This article will give the methods of getting operators on Android, the differences of several similar methods, and the effective ways of getting operators in the case of multiple cards. Finally, a method that does not need to request the device identification code to obtain the operator in ...
Posted by The Wise One on Sun, 20 Oct 2019 04:17:25 -0700
docker container logrotate does not work
process
A log analysis script is added to syslog docker. The script uses the shortest edit distance algorithm to collect error logs and send them to the test environment alarm group. The script relies on logrotate. The next morning, the expected error collection alarm is not seen. It is found that logrotate is not working.
xxxxxxxx@xxxxxxxx:/sr ...
Posted by veluit06 on Sat, 19 Oct 2019 20:07:34 -0700
Operating redis in go language
To use redis in go language, you need to download the official redis toolkit.
Execute in the go path path: go get github.com/garden/redis/redisIf git is not installed, you can download a zip package from the following link, and then unzip it to the local gopath path path.
If you don't know the path of gopath, look at the configuration parameter ...
Posted by launchcode on Sat, 19 Oct 2019 13:55:57 -0700
Solution git of "remote: error: reusing to update checked out branch: refs / heads / Master"
Remote: error: reusing to update checked out branch: refs / heads / Master
When using Git Push code to data warehouse, the following error is prompted:
[remote rejected] master -> master (branch is currently checked out)
Error prototype
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By defa ...
Posted by mdub2112 on Fri, 18 Oct 2019 15:00:16 -0700
Powerful dropdown Filter menu package
A drop-down Filter menu with powerful customization
Custom dropdown header
Custom dropdown header item
Custom dropdown menu
Custom dropdown menu show animation time
Control dropdown menu show or hide
If it helps you, please pay attention to it. Your support is the driving force for me to keep updating.
Navigation
GIF effect picture
How to u ...
Posted by Boxerman on Thu, 17 Oct 2019 12:09:26 -0700
Horizontal video and page interception of "applet JAVA practice" applet (59)
There are two situations when the mobile phone is shooting video. The mobile phone is horizontal and vertical. If it's horizontal, we can hold the mobile phone vertically to watch the mode, including buffeting, fast hand. Their solutions are to appear black and wide up and down, and compress the video in equal proportion. I also refer to the o ...
Posted by tigomark on Thu, 17 Oct 2019 11:30:25 -0700
Climb the treasure net with go language for the first time
Let's use go language to crawl "treasure net" user information.
First, the request url is analyzed as follows:
http://www.zhenai.com/zhenghun
Next, use go to request the url. The code is as follows:
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
//Return request get return result
resp, err := http.Get("ht ...
Posted by godwheel on Thu, 17 Oct 2019 10:04:30 -0700
Spring Cloud Config: external centralized configuration management
Spring boot actual e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall
abstract
Spring Cloud Config can provide centralized external configuration support for applications in the microservice architecture. It is divided into two parts: the server and the client. This article will introduce its usage in detail.
Introd ...
Posted by summerpewp on Wed, 16 Oct 2019 19:35:59 -0700
Building multi page application with vue-cli 3
Create a project Hello World
vue create hello-worldcd hello-worldnpm run serve
Create a new page directory in src directory and a new page in pages directory
App.vue and main.js are useless and can be deleted. The file name corresponds to the page name.
index.js
import Vue from 'vue'
import App from './index.vue'
Vue.config. ...
Posted by michibk on Wed, 16 Oct 2019 11:05:42 -0700
Xie Baoyou: Teach you to send patch es to the Linux kernel by hand
Brief introductionThis article shows step by step how to generate a simple Linux kernel patch and submit it it to the Linux community. To show the steps for submitting patches to the community. English name of this article: "Submit Patches Step by Step" Author brief introductionXie Baoyou, who has worked on the programming front line ...
Posted by pspeakman on Mon, 14 Oct 2019 19:14:21 -0700