Introduction to the stellar block chain JavaScript development package

The Stellar JS SDK encapsulates the submission of Stellar transactions and the interaction with the Stellar Horizon API server and can be run in the Node.js environment or in a Web browser.js-stellar-sdk has two main roles: 1, querying Stellar block chain data through the Horizon API server 2, building Stellar transactions, signing and submitti ...

Added by Evilace on Tue, 07 Jan 2020 10:52:27 +0200

Android custom wifi scanning and pits encountered

First on the renderings In fact, the implementation is very simple, that is, various calls of WiFi manager. Here are some precautions and steps Jurisdiction <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> < ...

Added by ProblemHelpPlease on Tue, 07 Jan 2020 02:48:23 +0200

Developing Stellar Block Chain Application with JavaScript

The Stellar JS SDK encapsulates the submission of Stellar transactions and the interaction with the Stellar Horizon API server and can be run in the Node.js environment or in a Web browser.js-stellar-sdk has two main roles: 1, querying Stellar block chain data through the Horizon API server 2, building Stellar transactions, signing and submitti ...

Added by davidosullivan on Tue, 07 Jan 2020 00:48:27 +0200

JavaScript Design Mode-Factory Mode

Author| Jeskson Excavation| https://juejin.im/user/5a16e1f3f265da43128096cb What is factory mode? The scene goes to buy dumplings for you to eat, order directly instead of making your own. The restaurant makes dumplings (dumpling process) and sells them directly to customers. class Product{ constructor(name) { this.name = name } init() { ...

Added by pck76 on Mon, 06 Jan 2020 14:27:27 +0200

Algorithms Note 12 - Shortest Path

Weighted Directed Graph data structure Weighted Directed Edge Weighted Directed Graph Shortest path Edge Relaxation Dijkstra algorithm Maps or navigation systems are typical applications of shortest paths, where vertices correspond to intersections, edges correspond to highways, and edge weights correspond to the cost (time or distance) of ...

Added by psycovic23 on Mon, 06 Jan 2020 13:18:03 +0200

Retrofit: basic use of 2.2.0

retrofit:2.2.0 framework has powerful functions and excellent encapsulation in network loading. Today we will learn about its basic usage 1. Import dependency: Here, we also import the excellent framework of gson implementation 'com.squareup.retrofit2:retrofit:2.2.0' implementation 'com.squareup.retrofit2:conve ...

Added by totof06 on Mon, 06 Jan 2020 06:05:24 +0200

Duplicate replicates the database and creates a physical StandBy (pfile version)

1 the setting environment is as follows: Primary database IP 172.17.22.16 SID orcl Standby database IP 172.17.22.17 SID orcl Set prompts to distinguish the location of operations primary database set SQLPROMPT Primary> standby database set SQLPROMPT StandBy> 1. Set Archive Mode + force log on Primary side Make sure the pri ...

Added by kaoskorruption on Sun, 05 Jan 2020 18:54:41 +0200

Rsync backup service deployment

Rsync full network backup ===========Operation and maintenance Road -The environment is as follows # Server IP: 10.0.0.100 # Client IP: 10.0.0.101 [root@Centos ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@Centos ~]# systemctl status firewalld.service ● firewalld.service - firewalld - dynamic fi ...

Added by mgelinas on Sun, 05 Jan 2020 17:24:10 +0200

Linux - high availability of lvs with keepalived

Single master model IPVS example Configure keepalive Example of highly available ipvs cluster: modifying the keepalived configuration file Modify the keepalived configuration file of the host: 192.168.234.27 1 [root@234c27 ~]# vim /etc/keepalived/keepalived.conf 2 ! Configuration File for keepalived 3 4 global_defs { 5 notification_ ...

Added by Patty on Sun, 05 Jan 2020 12:53:02 +0200

Wilcoxon's sign rank test

Wilcoxon's sign rank test It is suitable for paired comparison in T-test, but it doesn'T need to find that the difference between pairs of data obeys normal distribution, only requires symmetrical distribution. Verify that the difference between pairs of observations comes from a population with a mean of 0 (the population tha ...

Added by Keith Scott on Sun, 05 Jan 2020 10:36:52 +0200