How to use Workman to make a chat room

1: First, let's talk about the installation of thinkphp+workerman. Install thinkp5.1 composer create-project topthink/think=5.1.x-dev tp5andworkman Install think worker My official group Click here. composer require workerman/workerman 2: Let's first look at the code of think worker config/worker_server.php Let's start with an example o ...

Posted by richmlpdx on Thu, 26 Dec 2019 05:40:52 -0800

3D model intersection and supplement of WebGL

Constructive Solid Geometry has many practical applications. It is used in the case of simple geometric objects, or where mathematical accuracy is very important. Almost all engineering CAD software packages use CSG (which can be used to represent cutting tools and the features that parts must fit together). CSG is the abbreviation of Construct ...

Posted by GoncaloF on Wed, 25 Dec 2019 10:26:49 -0800

Using Topshelf to develop Windows services and record logs

To develop windows service, in addition to creating a new service project in vs (there have been written specific development methods before, you can click See ), you can also use Topshelf. However, using topshelf requires. Netframework version 4.5.2, which is not successful on vs2013. I use vs2017 here. The following are the specific steps: 1, ...

Posted by mnewhart on Tue, 24 Dec 2019 12:33:59 -0800

[UWP] Implement a gradient brush and animate using CompositionLinearGradientBrush

1. What is CompositionBrush CompositionBrush is used to draw when manipulating visualization layers SpriteVisual Brush for area. Make UWP application optional XAML Brush or CompositionBrush Draw UIElement.Many times XAML brushes and synthetic brushes can achieve the same effect, in official documents Use XAML brush vs.CompositionBrush A detail ...

Posted by Jennie on Tue, 24 Dec 2019 11:58:10 -0800

Can I specify multiple users for myself in. gitconfig?

At ~ /. gitconfig, I have my personal email address at [user], because this is the address I want to use for the Github repository. However, I recently started working with GIT. My company's git repo allows me to submit, but when it posts new changesets, it says they come from anonymous users because it doesn't recognize my. gitconfig email ...

Posted by raven_web on Tue, 24 Dec 2019 01:52:29 -0800

Summary of SQL Server Setting max server memory incorrectly

Yesterday, a netizen on the Internet said that after his colleague mistakenly set "max server memory" to 10M, the SQL Server database could not be logged in. At that time, I simply tested it. Today, I will sort out the whole process and record it here.   Set "max server memory" in the UI of SSMS. Even if you set it to 10M, i ...

Posted by mwd2005 on Mon, 23 Dec 2019 19:43:03 -0800

base64 transcoding and decoding of js front end

Why do we use base base64 is one of the most common encoding methods used to transmit 8-bit byte code on the network. Sometimes we need to encode the binary data in a form suitable for placement in the URL. At this time, base64 encoding is not readable, that is, the encoded data will not be directly seen by people. In addition ...

Posted by ddevitt on Mon, 23 Dec 2019 09:31:31 -0800

[UWP] occupy title block

1. Preface Every application with ideal UWP will make the idea of title block, especially when Microsoft provides Extend Acrylic to the title block After this function, most of Windows 10's native applications are not obedient, occupying one mu and three Fen of the title bar. This blog will show you how to customize the title block in UWP. 2. ...

Posted by JD-AM on Mon, 23 Dec 2019 02:24:09 -0800

OpenGL learning notes: GLAD and first window

Environmental Science System: Windows 10 64 bit home Chinese version IDE: Visual Studio 2017 professional Reference tutorial: https://learnopengl-cn.github.io/01 Getting started/03 Hello Window/ step 1. Get GLAD: a. Open the online service; b. Set Language to C/C + +, Specification to OpenGL, gl option in API to version 3.3 ...

Posted by brob on Sat, 21 Dec 2019 13:35:17 -0800

javascript add element add element with DocumentFragment

Insert node When we want to insert a single node, we can use the insertBefore() and appendChild() methods. If we want to insert multiple content, we need to use DocumentFragment. It is a strategy to use the insertion method repeatedly, but in this way, the browser will render the DOM tree continuously, which will affect the us ...

Posted by rslnerd on Sat, 21 Dec 2019 12:08:54 -0800