Deploy your own ngrok in 7 minutes
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
Starting with business applications, this paper abstracts a floating window tool class from scratch that can be used to display floating windows on any business interface.It can manage multiple floating windows at the same time, and floating windows can respond to touch events, can be dragged, and have side animations.
The sample code is writt ...
Posted by mrdave on Wed, 15 Jan 2020 10:33:32 -0800
Principle and implementation of postMessage
In order to solve the problem of cross domain, HTML5 introduces a new API: Cross Document Messaging. This API adds a window.postMessage method to the window object to allow cross window communication, regardless of whether the two windows are homologous or ...
Posted by l053r on Wed, 15 Jan 2020 03:27:45 -0800
New year's Day is coming. Let's not talk about it. I'd like to give you a new year's Eve
Recently, the IOS students next to me asked for leave to stay at home. Hey, hey, I was left alone in the corner shivering. Although the air conditioner of the company was turned on to 28 ℃, it still couldn't melt my ...
Posted by sribala on Wed, 15 Jan 2020 01:11:47 -0800
This blog post is for the crowd: WPF novice.
Blog content: make TextBox Style template including empty Button through Style, and empty TextBox content by introducing additional attributes of custom class into Style.Purpose of the blog: to help new WPF developers or those in need to quickly und ...
Posted by aldernon on Tue, 14 Jan 2020 21:35:21 -0800
The so-called producer consumer queue is the queue that a thread reads and a thread writes
What we have implemented here is an unlocked producer consumer queue. The key points of the algorithm are as follows:
1.pop only modifies the head node, and push only modifies the tail node
2. Ensure that head and ...
Posted by naskoo on Tue, 14 Jan 2020 02:05:27 -0800
Graph and Session
Prepare the placeholder
Initialization parameters / weights
Calculate forecast results
Calculate loss value
Specify the number of iterations and execute graph in the session
Posted by mapleshilc on Mon, 13 Jan 2020 23:12:46 -0800
I've been working on the site and I want to add a small icon to the browser tab.
How do I do this in HTML and where do I need to put it in my code (such as a title)? I have a. png logo file that I want to convert to an icon.
Relevant: HTML set image on browser tab .
I have successfully done this for my website.
Posted by soianyc on Mon, 13 Jan 2020 05:50:32 -0800
After c++11, regular expressions are formally included in the standard library, including the function modules of regex [match], regex [search] and regex [replace]. Through regular expressions, you can easily complete the operation of serializing sequence of specific patterns. Before using regular expre ...
Posted by LHBraun on Mon, 13 Jan 2020 05:46:38 -0800
Code reuse and function writing
Benefits of code reuse
Use the require() function and the include() function
require() function -- introduce code
require() function -- making web site template
Use auto prepend file and auto append file
Using PHP func ...
Posted by MrSheen on Mon, 13 Jan 2020 03:47:13 -0800