Header layout, search verification and AJAX automatic search prompt are encapsulated into components to improve code reusability

index.html header structure and style Design sketch   Static style Part of index.html <!-- head --> <div class="header"> <div class="container"> <!-- h1 Tag is for search engine optimization, indicating importance But don't show too much in the page --> <h1 class=" ...

Posted by laurajohn89 on Sat, 22 Feb 2020 23:51:28 -0800

Natural language processing: reading PDF document and creating word cloud

Like, pay attention to, and form good habits For details of the series of courses, please refer to superstar learning link: https://me.chaoxing.com (click to link) Welcome to guide 1. Preface Recently, superstar learning general course needs several cover pictures (the template picture is not sat ...

Posted by insanityonline on Sat, 22 Feb 2020 21:12:52 -0800

AMQP Actual Warfare for Message Middleware 2

Instance Analysis Previously, we have read the documentation of AMQP, and have a general understanding of AMQP. This paper will go through the basic operation of AMQP from an example. Get ready Environmental Science RabbitMQ server 3.7.16 RabbitMQ client 5.7.3 The client code uses the RabbitMQ tutorial as follows: public static void main(String ...

Posted by klik on Sat, 22 Feb 2020 19:50:15 -0800

2020.2.21Menu and PopupWindow

menu menus and windows System menu OptionsMenu Code display Effect display Matters needing attention Context menucontextmenu Code display Effect display Matters needing attention Pop-up Menu Code display Effect display PopupWindow window Code display Effect display Matters needing attention ...

Posted by LanHorizon on Fri, 21 Feb 2020 07:15:11 -0800

Detailed use of Android official architecture component Navigation

Preface Some time ago, when I was doing project development, I encountered several small problems in Fragment management. I always felt that the encapsulated Fragment manager was not elegant at this stage. This has become the Navigation library that I am determined to learn from Jetpack, which was lau ...

Posted by corruption on Thu, 20 Feb 2020 23:04:06 -0800

How to set space between listView projects in Android

I try to use marginBottom on listView to make room between listView items, but they are still attached together. Is it possible if so, is there a specific way to do it? My code is as follows <LinearLayout android:id="@+id/alarm_occurences" android:layout_width="fill_parent" android:orientation="vertical" android:layout_height="fill ...

Posted by Majes on Thu, 20 Feb 2020 02:29:04 -0800

[wechat assistance] at present, python helps you to find out Wuhan friends in your circle of friends and give them care

I am a programmer Xiaoye, bringing you original and wonderful technical content. The epidemic situation is unbearable for both individuals and enterprises. I hope that the epidemic will pass as soon as possible, which is a small wish of ordinary people. Relatives and friends around us are more or less ...

Posted by badassrocker on Thu, 20 Feb 2020 00:11:31 -0800

[note] encapsulate the pit encountered by okhttp + rtofit + rxjava + simplexml

First of all, in the context of this new project, the docking Party's high cold exception, all the requests and returns are in XML format, so I'm very tired. At present, the company doesn't have any well packaged network request package. Thinking of the RXjava used in the past, it just picked it up a ...

Posted by Desertwar on Wed, 19 Feb 2020 23:37:39 -0800

JavaSE - IO flow

Character flow overview Because byte stream is not very convenient to operate Chinese, java provides character stream. 1. Encoding and decoding in string class Encoding: to convert a string into an array of bytes, public byte[] getBytes(); uses the platform's default character set to encode this ...

Posted by andymt on Wed, 19 Feb 2020 22:31:41 -0800

python automatically sends results to enterprise wechat

With the progress of science and technology, more and more people feel that python is powerful and lucky, especially some automatic detection, etc., which automates some mechanized work, and finally sends the results to wechat or email. If you are too lazy to read wechat or email, you can call to inf ...

Posted by rubenc on Wed, 19 Feb 2020 06:18:05 -0800