Electron calls local modules

Electron combines Chromium, Node.js, and API s for calling local functions of the operating system (such as opening file windows, notifications, icons, etc.). Electron-based development is like developing a web page, and can use Node seamlessly. Or: It's like building a Node app and building interfaces through HTML and CSS. So how do I call t ...

Posted on Fri, 12 Jul 2019 13:14:51 -0700 by RadGH

GCD-Synchronization of Two Network Requests

Sometimes this requirement occurs when network requests are made Two interfaces request data, and then we can do the final data processing. But because network requests are moving. We don't know when the two requests will be completed. Usually in the face of such a demand will naturally think of multi-threading ah. The time has come to s ...

Posted on Fri, 12 Jul 2019 11:42:21 -0700 by RHolm

Dialog Load Animation

When developing, in order to make the user experience better, there will be a start welcome page when the app starts. After entering the app, the user browses the page, first makes a network request, then the server responds to the data back, and finally displays it on the page, so the user can see a rich page.Then the problem comes. The user ...

Posted on Fri, 12 Jul 2019 09:32:14 -0700 by kingman65

audio and video elements

Previous remarksHTML5 adds two new media-related tags that allow developers to embed cross-browser audio and video content in web pages without relying on any plug-ins. These tags are <audio> and <video> and are not supported by IE8-browser. Video files, for example, contain audio tracks, video tracks, and other metadata (cover ...

Posted on Thu, 11 Jul 2019 18:05:45 -0700 by Plakhotnik

Simple Encapsulation for Exception Display of Android Pages

abstract Generally speaking, when entering a page, most of the requesting network will have various anomalies, such as empty return data, server anomalies, parameter errors, and so on. So after the page gets these returned results, there will always be a feedback to display to the user, and not all exceptions can be displayed with Toast, so t ...

Posted on Thu, 11 Jul 2019 17:00:38 -0700 by karenruth

Deep and shallow Redis-redis Sentinel Cluster

Sentinel Sentinel Sentinel is Redis's high availability solution: Sentinel system composed of one or more Sentinel instances can monitor any number of master servers and all slave servers under these master servers, and automatically download the master servers when the monitored master server enters the offline state. A slave server under ...

Posted on Thu, 11 Jul 2019 14:05:01 -0700 by delorian

Java - Collection Framework List

The Concept of Sets In real life: a lot of things come together Sets in Mathematics: the sum of things with common attributes Collection classes in Java: A tool class, like a container, that stores any number of objects with common properties The Role of Sets Inside the class, organize the data (put them into a collection for properties th ...

Posted on Thu, 11 Jul 2019 12:18:15 -0700 by morphboy23

Two Methods of Loading External Pictures in Unity3D

Like my blog, please remember my name: Qin Yuanpei, my blog address is: http://qinyuanpei.com  Reprinted please indicate the source, the author of this article: Qin Yuanpei, the source of this article: http://blog.csdn.net/qinyuanpei/article/details/48262583 I'm Qin Yuanpei. Welcome to pay attention to my blog. Recently, in the process ...

Posted on Tue, 09 Jul 2019 15:33:39 -0700 by austingecko

Keyboard macros in emacs

The Chinese name of PING (Packet InterNet Groper) is Internet Packet Explorer, which is a tool used to check whether the network connection of another host system on the network is normal. The ping command works by sending an ICMP message to another host system on the network. If a message is received by the designated system, it will send the ...

Posted on Tue, 09 Jul 2019 13:58:57 -0700 by Wireless102

The Simplest Spring Cloud Tutorial in History | Chapter 9: Spring Cloud Sleuth

This article focuses on the service tracking component zipkin, which Spring Cloud Sleuth integrates with Zipkin components. I. Brief Introduction Add sleuth to the classpath of a Spring Boot application (see below for Maven and Gradle examples), and you will see the correlation data being collected in logs, as long as you are logging requests. ...

Posted on Mon, 08 Jul 2019 11:54:57 -0700 by perrio