How to import iconfont into react native Expo

Step 1 download Icoont Alibaba vector map After logging in the website, add the required icon to the library as follows: Then download to local. (Note: the compressed package downloaded by my google browser is empty, and it was successfully downloaded by using other browsers.) It has the following contents: Step 2: crea ...

Posted by PugJr on Sun, 22 Dec 2019 19:47:11 +0100

Is there a way to check if the file is in use?

I'm writing a program in C# that requires repeated access to an image file.In most cases, it will work, but if my computer runs fast, it will try to access the file before attempting to save it back to the file system, throwing an error: "The file is being used by another process." I want to find a solution, but all of my Google s ...

Posted by chrischen on Thu, 19 Dec 2019 04:00:11 +0100

Android studio version 3.1 and butterknife version 8.8.1 are incompatible. The pro test is effective

Due to importing other people's projects and changing the version number of gradle, the project always reported an error. Finally, it was found that the problem was in ButterKnife when I looked up the data. Some people had NullPointerException, and my error was as follows: gradle version number classpath  'com.android.tools ...

Posted by seanstuart on Tue, 17 Dec 2019 17:25:45 +0100

The default method of Java 8 provider

Java 8 API provides many new functional interfaces to make the work more convenient. Some interfaces are from Google Guava library. Even if you are familiar with these interfaces, it is necessary to see how they are extended to lambda. I. Optional interface 1. Various problems caused by null 1) it is the source of error: NullPointException is t ...

Posted by techcone on Wed, 11 Dec 2019 18:04:23 +0100

Writing android with Kotlin: retrofit + rxjava try

Recently, I learned the Kotlin language recommended by Google for Android development, which was used to try to reconstruct the MVP+Retrofit+Rxjava code before. Here is my reconstructed Kotlin code First add the compile of gradle: dependencies { compile 'io.reactivex.rxjava2:rxjava:2.0.7' compile 'io.reactivex.rxjava2:rx ...

Posted by jl9148 on Wed, 11 Dec 2019 01:11:15 +0100

Replace Word text with document, picture and table

When editing a document, you can quickly change some characters or paragraphs that need to be modified by finding and replacing them. In this article, you will learn how to replace a specified text string in a document with a Word document, picture, or table. The key points of the example are as follows: Replace text in Word with a document R ...

Posted by Chris-the dude on Fri, 06 Dec 2019 10:48:54 +0100

Wechat interception detection

background Due to the strict restrictions on wechat, domain names are inadvertently determined to be induced to share. Therefore, the company decided to investigate a set of stable, fast and high accuracy wechat domain name interception detection query interface. The development team tried Google search for a while and found that they rarely sh ...

Posted by EXiT on Thu, 05 Dec 2019 03:59:47 +0100

python handles the graphic verification of Google and 12306 differently

With the development of anti crawler, there are not only slider verification, but also point selection verification, graphic verification, Chinese character graphic verification, among which Google's graphic verification and 12306's graphic verification are more well-known, as well as the inverted Chinese character verification. In addition to ...

Posted by jtron85 on Tue, 03 Dec 2019 17:03:19 +0100

Web development learning notes -- abstract out the Page class

review Through the content of the previous articles, we have built a simple Web application based on the Flask framework. The code of server.py is as follows from flask import Flask, make_response from flask.views import MethodView app = Flask(__name__) class IndexHandler(MethodView): def get(self): resp = make_response('It is a ...

Posted by ChompGator on Sun, 01 Dec 2019 06:46:50 +0100

Python data analysis of old fish -- Part 6: using selenium to obtain dynamic data

At present, the data on many pages is dynamically loaded, so using the method of "scrape" to crawl the page can only get the layout code of the page HTML, but not the data. And for novices, it's difficult to use scratch on the road, so use selenium to open the game, and then load the page to get data. Demand: Statis ...

Posted by AmandaF on Fri, 29 Nov 2019 16:18:01 +0100