Torture Server: Docker Project Packing and Publishing + One-click Deployment of Multiple Applications

Torture Server: Docker Project Packing and Publishing + One-click Deployment of Multiple Applications Recently, in Torture docker, multiple applications can be deployed simultaneously with one local key Don't understand docker's advice at all Official Documents Oh ~ Main process After the project ...

Posted on Sat, 10 Aug 2019 05:59:42 -0700 by wad

Tensorflow implements Android mobile end modeling

Summary With the wide application of in-depth learning and the open source of Tensoflow, there are endless model applications on the mobile side.This paper introduces the author's experience in the construction process, and hope to help you. Installation of Mac-side Tensorflow CPU version If you are not using a good GPU, you can insta ...

Posted on Tue, 02 Jul 2019 10:11:15 -0700 by jalapena

Performance optimization of Go program and application of pprof

Performance optimization of Go program and application of pprof Program performance optimization is nothing more than the optimization of the resource occupied by the program. For servers, the two most important resources are CPU and memory. Performance optimization is that we usually require the CPU of the program to occupy as little memory as ...

Posted on Sat, 01 Jun 2019 12:39:54 -0700 by cheald

Basic Implementation of Customizing IjkMediaPlayer Player

The final result is as follows: When it comes to Android players, you think of MediaPlayer, but there are so many pits in MediaPlayer itself that even google has introduced ExoPlayer to replace MediaPlayer. Now many mature and powerful players are available online.For example, Bilbili's Ijkplayer, google's ExoPlayer, GSYVideoPla ...

Posted on Thu, 09 May 2019 06:18:39 -0700 by ghostrider1

Construction of Front-end Project Development Environment

Construction of Front-end Project Development Environment 1. NoeJS installation I'm a Mac user, so I use homebrew Installed nodeJS The statement installed is brew install node Running after installation node -v //Look at the version of node. My version is v7.4.0. 2. Install flow, pcre, watchman brew install flow ...

Posted on Fri, 05 Apr 2019 13:33:30 -0700 by dub

Protobuf notes and examples of Java Javascript usage

Google Protocol Buffer 1. Introduction of the agreement: Google Protocol Buffer It is a data exchange format of google. It is independent of language and platform. Google provides implementations in many languages: java, c #, c + +, go, python, js and so on. Each implementation contains the compiler and library files of the corresponding l ...

Posted on Fri, 29 Mar 2019 00:27:28 -0700 by phisher1

Learn WEB (8) A Web Exercise (1)

A Web Exercise (1) The most basic things that CSS should know have been explained. Starting from this time, I will explain more about HTML and CSS through an exercise.   First of all, we should continue to improve the website on the basis of the previous one, mainly for the homepage lounge. First add some new content to the page. The code ...

Posted on Sun, 24 Mar 2019 09:45:29 -0700 by vladj

maven's usage record

Maven is a project management and project description tool; it can make project management simpler and more standardized;Its construction life cycle includes: preparing resources - Validation - Compilation - testing - Packaging - Installation - Publishing maven has three build profiles1. Each project has the configuration file pom.xml.2. Each ...

Posted on Thu, 31 Jan 2019 12:09:16 -0800 by system_critical

Implementing Template Method Pattern with C#(.NET Core)

The conceptual content of this article comes from the book of design patterns. Project requirements There is a coffee shop that serves coffee and tea. Their processes are as follows: Coffee: Tea: It can be seen that the coffee and tea production process is similar, there are four steps, two of which are the same, the other two steps ...

Posted on Sat, 12 Jan 2019 12:21:12 -0800 by flattened

MAC uses brew to build nginx, php, mysql environment

1. Install homebrew ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" 2. Installing nginx brew install nginx After brew is executed, nginx is installed successfully. The nginx operation command: #Open nginx sudo nginx #Reload Configuration | Restart | Stop | Exit nginx nginx -s reload|reopen|stop|quit #Tes ...

Posted on Fri, 11 Jan 2019 20:57:10 -0800 by hhoeksma