React writes the input component to share onChange

Before, there was less input on the written page, so no single component was proposed. Today, I studied the input component, but shared an onChange problem card for a while. After checking, I found several better ways to share: Method 1 Input component let Input = React.createClass({ getInitialState: function() { return { } ...

Added by sws on Sat, 07 Dec 2019 17:55:12 +0200

Work common view block device command lsblk details

The lsblk command can list information about all available block devices, such as logical disks, while df -h looks at file system level information. Lsblk command is included in util Linux package. Install util Linux package from yum, and util Linux contains multiple command tools. [root@localhost ~]# df -h Filesystem Size Used ...

Added by trukfixer on Sat, 07 Dec 2019 09:03:59 +0200

Notes for New Persons in Second Development of Pan-micro oa Process Form

1. Are the jQuery codes used on the PC and mobile devices generic? Answer: Depending on the actual operation, the jQuery code used on the generic PC side and the mobile side is not universal, and some of the code on the PC side cannot be used in the mobile template process form. It is very likely that when developing a mobile phone template, th ...

Added by phpcode on Fri, 06 Dec 2019 16:15:02 +0200

Python+ITchart to realize wechat robot's automatic reply to specified friends and groups

Here I mainly use three robots, which can be switched. 1. Turing robot     http://www.tuling123.com 2. The Turing robot on showapi (feels the most intelligent, can recognize wechat expressions, English, Chinese, etc., but because I am an ordinary member, I call it 1000 times a day)     https://www.showapi.com/api/lookPoint/60 3. Molly r ...

Added by iBlizz on Fri, 06 Dec 2019 00:26:08 +0200

Basic usage of listview and litepal version 2.0

LitePal has written a previous article. It uses the version 1.6 of LitePal. I saw version 2.0 these days. In fact, there is no big change in version 2.0. Its basic usage is similar to that of 1.6. If you want to know the usage of version 1.6, you can visit: https://blog.csdn.net/qq_40205116/article/details/88741724 . After tha ...

Added by fitzbean on Thu, 05 Dec 2019 14:05:12 +0200

How to keep Android service alive

Supporting the original: http://tryenough.com/android-... Two aspects can be taken into consideration for the life guarantee Service: I. ways to change the Service itself 1. Improve Service priority In the Android manifest.xml file, for the intent filter, you can set the highest priority through the android:priority = "1000" property ...

Added by tommynanda on Thu, 05 Dec 2019 07:53:46 +0200

python design pattern: mediator pattern

The interaction between other objects is installed in the mediator object to achieve loose coupling, implicit reference and independent change, which is similar to the agent pattern< python design pattern (11): agent pattern >But the agent mode is a structural mode, which focuses on the interface control of object calls, while the mediato ...

Added by vweston on Wed, 04 Dec 2019 22:57:46 +0200

UI IOS interactive animation that can be played

This paper demonstrates the use of cabasic animation and the principle of interactive animation through an example. First, let's look at the final effect: Complete the effect demonstration The head image changes from rectangle animation to circle. The whole process can be controlled by finger movement. Let's implement it step ...

Added by double-f on Wed, 04 Dec 2019 17:20:43 +0200

Monkey data teaches you to detect whether wechat domain names are blocked in real time

By the end of 2018, the number of wechat users in China has reached 1.04 billion, and the number of wechat sent per day has reached 38 billion. Wechat has become one of the mobile traffic platforms in China. When you browse the links in wechat, you must have "stopped visiting the web page", which means that the promoted domain name ha ...

Added by umbra on Tue, 03 Dec 2019 03:03:49 +0200

Solve the problem that ClipboardJS fails to copy on iphone through textarea tag

Some time ago, I did the function of wechat custom sharing. There was a problem that the invitation code of the shared page failed to be copied on ios mobile phone, but there was no problem on PC and Android. Baidu for a moment, the basic solution is: ios does not simply support on, for the click elements to add empty click event: onclick = &qu ...

Added by nickminute on Mon, 02 Dec 2019 21:12:06 +0200