promise compatible browser problems

1, ES6 compatible issues 1. In the project, the Promise object of ES6 is used, and the code runs normally in Google browser. In the compatibility mode of 360 browser, IE kernel does not support Promise. 2. Support of ES6 promise found through can i use website https://caniuse.com/)   3. If the Promsie object is used in th ...

Posted on Fri, 03 Jan 2020 11:29:29 -0800 by Thrakorzog

[React] summary (8) send Ajax request in React - axios | fetch | exercise - write a search request

Sending Ajax requests in React - use of axios React itself does not contain the code to send ajax, and generally uses third-party libraries. For example, axios, which is a library dedicated to ajax requests. It encapsulates the ajax of XmlHttpRequest object, and uses promise style writing method, which can be used in the cli ...

Posted on Thu, 02 Jan 2020 17:51:16 -0800 by Spudgun

Whether the string of sword finger offer is numeric

1. topic This is a question in the sword finger offer. At first, I thought it was a very simple question. Later, I found that I was too young to think about too many factors. After thinking about it, I couldn't start it for minutes or not. After seeing the author's ideas, I was deeply convinced by him. The questions are as follows: Implement a ...

Posted on Thu, 02 Jan 2020 16:21:10 -0800 by keithschm

Android learning note 2 Introduction to leakcannery

Introduction to the use of LeakCanary LeakCanary is an open source memory leak detection project, which can be viewed on github. 1. Introduce LeakCanary    add dependency in build.gradle dependencies { // leakcanary debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.1' releaseImpl ...

Posted on Thu, 02 Jan 2020 15:10:48 -0800 by travelerBT

Android live analysis

Purpose This article mainly introduces how to keep alive on most mobile phones, mainly 5.06.07.0 and 8.0 mobile phones. Please do not use it for malicious purposes, only for learning and communication. But at least for now, according to the boss, there is another rogue in the world. Do not study the way of being killed and ...

Posted on Wed, 01 Jan 2020 22:40:03 -0800 by happyhappy

kubernetes v1.8 master single node uncertified deployment

master node deployment Install etcd yum -y install etcd vim /etc/etcd/etcd.conf Modify the listening address of these two items to 0.0.0.0 ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:2379" ETCD_ADVERTISE_CLIENT_URLS="http://0.0.0.0:2379" systemctl enable etcd systemctl start etcd Install Kube apiserver mkdir /etc/kuber ...

Posted on Tue, 31 Dec 2019 19:35:19 -0800 by sdat1333

React native textinput Chinese input bug curve saving the nation

In the new Rn, Textinput ios can't input Chinese. There are always bug s import React, { Component } from 'react'; import { Platform, TextInput, Text, View, TouchableHighlight,StyleSheet } from 'react-native'; export default class App extends Component<Props> { constructor(props){ super(props) this.state={ ...

Posted on Tue, 31 Dec 2019 15:38:14 -0800 by ludachris

Centos7 install and upgrade Ruby

background When doing the redis cluster, you need to use Ruby tools to operate. It is found that the version of ruby installed online is too low, and the version supported by redis is at least 2.2.2   Install ruby Online Install ruby online using yum with version 2.0.0. yum install ruby ruby -v Add ruby repository ...

Posted on Tue, 31 Dec 2019 09:43:53 -0800 by mark_kccs

APP Learning with Flutter: Life Cycle of Flutter widget

Friends who read this article for the first time can follow me, publish factory interview questions, Android architecture technical points and analysis, and Android learning PDF + source notes + interview documents + advanced video sharing from time to time. More on my GitHub link: https://github.com/Meng997998/AndroidJXLighting up the stars ...

Posted on Mon, 30 Dec 2019 15:21:40 -0800 by baconbeastnz

IPFS build & cluster

Download go IPFs wget https://github.com/ipfs/go-ipfs/releases/download/v0.4.17/go-ipfs_v0.4.17_linux-amd64.tar.gz   Decompression [root@blockchain42 ipfs]# tar -zxvf go-ipfs_v0.4.17_linux-amd64.tar.gz   go-ipfs/build-loggo-ipfs/install.shgo-ipfs/ipfs   go-ipfs/LICENSE   go-ipfs/README.md Execute insatll.sh [root@blockchain42ipfs]# ...

Posted on Mon, 30 Dec 2019 13:09:36 -0800 by yddib