Tag:Official

  • Preparing Hadoop and mongodb environments in tumblefeed

    Time:2020-3-30

    Background: data access on Hadoop and mongodb is required for learning distributed crawlers.Operating system: tumbling update to 20180420+ The DFS of Hadoop stored in HTML and mongodb used to store crawling tasks need to be prepared for the crawler. Although the courseware already contains the redis part, the actual progress code of the course does […]

  • Using formatible to handle file upload in node

    Time:2020-3-26

    Please refer to the official document: https://www.npmjs.com/package/formatible First: installation: # npm install –save formidable yarn add formidable Second: basic use: var formidable = require(‘formidable’), http = require(‘http’), util = require(‘util’); http.createServer(function(req, res) { if (req.url == ‘/upload’ && req.method.toLowerCase() == ‘post’) { // parse a file upload var form = new formidable.IncomingForm(); form.parse(req, function(err, fields, […]

  • Preliminary integration of spring websocket / stomp and spring session

    Time:2020-3-22

    Official document spring websocket / StompOfficial document spring session Share session WebsocketSTOMPConfig: @Configuration @EnableWebSocketMessageBroker @ConditionalOnWebApplication public class WebsocketSTOMPConfig extends AbstractSessionWebSocketMessageBrokerConfigurer<ExpiringSession> { /** *Abstractsessionwebsocketmessagebrokerconfigurer implements getting httpsession at handshake, and refreshes the time of httpsession every time websocket message occurs. At the same time, spring.session.id field is added to websocket session. */ @Override protected void configureStompEndpoints(StompEndpointRegistry […]

  • Installation and test of the electron module of slog61 node jsgui

    Time:2020-3-22

    ArthurSlog SLog-61 Year·1 Guangzhou·China Sep 6th 2018 GitHub NPM Package Page ArthurSlog Page Nuggets Homepage Homepage of Jane book segmentfault Teaching without words and doing nothing is beneficial to the world Development environment MacOS (high Sierra 10.13.5) Required information and information sources: Electron is a third-party module of nodejs, the official website of electron Electron […]

  • Spring cloud Alibaba tutorial

    Time:2020-3-19

    What is spring cloud Alibaba Let’s see how spring cloud Alibaba is officially defined: Spring cloud Alibaba is committed to providing a one-stop solution for microservice development. This project contains the necessary components for developing distributed application microservices, which is convenient for developers to develop distributed application services through spring cloud programming model.Relying on spring […]

  • How complicated is the Java log system? ——Structure

    Time:2020-3-18

    How complicated is the Java log system? ——Structure This article is a series, welcome to pay attention What is the sanctity of log? Why use the logging framework? I think everyone used itSystem.outTo debug the output, it’s convenient to do so in the development environment, but it’s troublesome to do so online: The system runs […]

  • CSS you don’t know: Next Generation Web styling

    Time:2020-3-12

    background Recently I saw it.Chrome Dev Summit 2019Conference video, I learned a lot of new features of CSS that I didn’t know before, which is very interesting. Here are a few exciting features. text Features overview: Sticky Stickey Stack Sticy Slide Sticky Desperado Focus-within prefers-reduced-motion Scroll Snap Scroll Snap Horizontal Scroll Snap Vertical Scroll Snap […]

  • Yarn related usage

    Time:2020-3-11

    1. Upgrade yarn version Yarn version upgrade You can upgrade yarn by running the following command: 1: Make sure homebrew is installed $ brew upgrade yarn 2: Download the official script to upgrade $ curl -o- -L https://yarnpkg.com/install.sh | bash 2. Basic usage Initialize a new project yarn init Add dependency package yarn add [package] […]

  • Notes on pyqt5 application package

    Time:2020-3-6

    Package pyqt5 project with pyinstaller may be successful, but when running packed exe, you often encounter“ImportError: unable to find Qt5Core.dll on PATH”error Official explanation, this is the problem of pyqt5 framework, how to solve it? Add the following code to the PY file header of all modules using import pyqt5: import sys, os if hasattr(sys, […]

  • Android Q adaptation Guide

    Time:2020-3-1

    Android Q adaptation Guide Official documents:https://developer.android.com/about/versions/10 In the initial version of Android 10, the official changes are large, and the corresponding developer adaptation cost is still high.Here, according to2019.11.11 google android q workshopProcess, roughly explain what needs to be paid attention to in Android Q adaptation. Although it is a general introduction, it should be […]

  • Centos8 trial conclusion

    Time:2020-2-28

    Scenario: semi domestic and semi server nature. “CentOS 8” mentioned in this paper can be interchanged with “RHEL 8” in most cases. This CentOS 8 is based on Fedora 28 (released in May 2018), using kernel version 4.18 and GCC version 8.2. The main contents are as follows: 1. Update common software packages. Screen down […]

  • Learning record of mongodb Master Course (day 8)

    Time:2020-2-28

    learning tasks Today, I want to learn 12 mongodb family bucket. The last section of the first chapter is not much, just an introduction to the surrounding software of mongodb. Eighth days Mongodb family bucket Software module describe mongod Mongodb database software mongo Mongodb command line tool for managing mongodb database mongos Mongodb routing process, […]