Operational Questions of Shandong University of Science and Technology on May 18, 2020

Operational Questions of Shandong University of Science and Technology on May 18, 2020 **Title 1: **Square, Rectangle, Cube Two Description Give the length of Square, Rectangle, Cube, Cuboid and find the area. Squares and cubes have equal sides, so you only need to store one side length. A rectangle s ...

Posted by hmvrulz on Wed, 20 May 2020 10:35:07 -0700

A tip to see if the PID process exists

In Linux, to judge whether a PID corresponding process exists, you can judge it as follows #! /usr/bin/env python import os def check_pid(pid): try: os.kill(pid,0) except OSError: return False else: return True if __name__ == "__main__": print check_pid(22467) Returns True if the PID exists in the sy ...

Posted by banjax on Tue, 19 May 2020 07:52:33 -0700

jQuery foundation of front end development

[contents] 1, About jQuery 2, Basic use of jQuery   1, About jQuery 1. Introduction jQuery encapsulates the native js code (with many additional functions)Can let you write less code to complete js operation Similar to the module in python, the front-end module is not called "class library" If you are compatible with mult ...

Posted by wreed on Tue, 19 May 2020 07:01:07 -0700

Getting started with Pandas 1 (DataFrame+Series read / write / Index+Select+Assign)

Article catalog 1. Creating, Reading and Writing one point one Dataframe data framework one point two Series series one point three Reading reading reading data 2. Indexing, Selecting, Assigning two point one Access to python like mode two point two Unique access mode of pandas 2.2.1 Iloc access base ...

Posted by MetaDark on Tue, 19 May 2020 00:11:01 -0700

"Vue Response Principle and MVVM Implementation" of JS Core Theory

MVVM concept MVVM represents Model-View-ViewModel. Model: Model layer, responsible for handling business logic and interacting with the server side View: View layer: responsible for converting data models into UI displays, which can be easily understood as HTML pages ViewModel: The View Model layer that connects Models to Views and ser ...

Posted by parms on Sun, 17 May 2020 17:03:12 -0700

LeetCode 25. K a group of flip list

My LeetCode: https://leetcode-cn.com/u/ituring/ My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii LeetCode 25. K a group of flip list subject I'll give you a list. Every k nodes will be flipped. Please return to the flipped list. k is a positive integer whose value is less than or equal to the length of the list. If t ...

Posted by didijeeeke on Sat, 16 May 2020 08:08:27 -0700

Spring Cloud cognitive learning: the use of fuse Hystrix

catalog Hystrix Service fuse and service degradation Simple use example: Deploy to service provider Deployed to service consumers Integrate feign 1. Modify Feign code 2. Modify consumers 3. Test: Hystrix Dashboard 1. Configure and start the Hystrix Dashboard 2. Modify service provider 3. Test: Add: 💡 The previous article introdu ...

Posted by amma on Fri, 15 May 2020 00:21:43 -0700

HTML5 video (custom video player source code)

video object Compatibility: safari browser does not support webm format Chrome browser supports webm format ie8 and the following do not support video tags. ie9 supports video tags, but mp4 format Firefox supports video in ogv format   Compatibility writing <video controls> <source src="data/demo.ovg"> &l ...

Posted by mandred on Wed, 13 May 2020 08:33:48 -0700

Lifecycle aware component

brief introduction Lifecycle is one of Google's recommended architecture components Lifecycle aware components can perform actions in response to changes in the lifecycle state of another component, such as Activity and Fragment. These components help you write more organized and often streamlined code that is easier to maintain. By using life ...

Posted by killerofet on Wed, 13 May 2020 03:20:25 -0700

Practical JavaScript functional programming

Recently, when chatting with a friend who is a technology maker, I found that I couldn't explain the idea of functional programming clearly, so I made a review   1, The function is "first class citizen" It is often heard that in JavaScript, a function is a "first-class citizen". What does this mean? In programming language, ...

Posted by tserbis on Mon, 11 May 2020 03:10:42 -0700