1. Environmental Construction
1.1. Since RabbitMQ was developed in Erlang, to install the Erlang runtime environment, download the address: Erlang Official Download CSDN Shared Download
1.2, Download from RabbitMQ RabbitMQ Server Server-side program, select the appropriate platform version to download and install.
When RabbitMQ is installed, t ...
Posted on Fri, 03 Apr 2020 08:41:17 -0700 by silverglade
1. Introduction to FS module
fs is the file system, which is the file operation API provided by NodeJS. fs module is used to read and write system files and directories. It is a very important module. The operation of files is based on it. All the methods of this module are synchronous and asynchronous. Let's briefly i ...
Posted on Thu, 02 Apr 2020 18:35:27 -0700 by PHPFreaksMaster
First, thank you. https://blog.csdn.net/c406495762/article/details/78123502 With the help of the big guys, I completed the second reptile experience in my life. This time, I crawled the novel information, using the Request library and beautiful soup library.
1. First of all, it's the same
# -*- cod ...
Posted on Thu, 02 Apr 2020 11:51:41 -0700 by shneoh
Manually rolling a base class general view
I believe that almost all projects will use the title bar, right? Almost every page will use the title bar, and the size of the title bar is the same, so we should extract and reuse the public things as much as possible, so here we extract the title bar to the base class, s ...
Posted on Thu, 02 Apr 2020 06:40:41 -0700 by eits
File read and write
I don't need to go into details after contacting here, just go to the code:
# -*- coding: utf-8 -*-
Created on Tue Feb 27 13:38:02 2018
#open a file
Posted on Thu, 02 Apr 2020 00:04:52 -0700 by alchemist_fr
Don't bother to move, just move the connection.
Run to display the drop-down list, click to expand, click the sub item to display the sub item on the horizontal line, and display the selected city in the TextView.
1. Add the Spinner control to the activity main.xml p ...
Posted on Wed, 01 Apr 2020 22:45:32 -0700 by Jumba
Encapsulates a logging tool class LogUtil based on NLog+NLog.Mongo. The code is relatively simple. It mainly integrates the configuration of mongotorget and FileTarget into the class. At the same time, it uses cache dependency to determine whether to re create the Logger class. The complete code is as follows:
using NLog.Config; ...
Posted on Wed, 01 Apr 2020 14:15:01 -0700 by yuws
NO.12 Spring AOP notification
Notification: after intercepting the connection point, all you have to do is notify.
Classification of notices:
1. Advance notice
2. Post notice
3. Post return notification
4. Surround notifications < combine pre notification and post notification >
5. Exception notification
Posted on Wed, 01 Apr 2020 13:25:02 -0700 by dizandat
To realize the pull-down refresh and pull-up loading of ListView, you need to add headerView and footerView first, and control the paddingTop of the head and tail layout during the dragging process. First, set the paddingTop to a negative value to hide the header. During the drop-down process, change the paddingTop of t ...
Posted on Wed, 01 Apr 2020 08:16:34 -0700 by nathanr
In the project directory, do the following:
from setuptools import setup, find_packages
with io.open(os.path.join("docs", 'index.rst'), encoding='utf-8') as f:
readme = f.read()
with io.open('requirements.txt') as f:
requirements = f.readlines()
Posted on Wed, 01 Apr 2020 06:05:35 -0700 by IchBin