Format massive file names by using bash variable's regular matching function

Write before Stored in Synology during the epidemic More than 10 years of photography These photos go through the age from feature phones to smartphones. Many photos are very chronological, as are the file names.There are many different ways... Initially used exiv2 To read the source information of photos, found that some old photos have no so ...

Posted on Fri, 06 Mar 2020 08:51:50 -0800 by mmonaco

ts basic course

ts basic course (2) type inference Joint type Type Asserts Built-in object Class and interface Access modifier Reference link type inference If no type is specified explicitly, ts infers a type according to the rules of type inference 1. ts is more strict Although TS is a js superset, it doe ...

Posted on Fri, 06 Mar 2020 02:21:02 -0800 by gszauer

You can't imagine how easy it is to implement a Python+Selenium automated testing framework!

First of all, what do you need to know about Selenium? Selenium is a browser based automation testing tool, which provides a cross platform, cross browser end-to-end web automation solution. Selenium mainly consists of three parts: Selenium IDE, Selenium WebDriver and Selenium Grid. Selenium IDE: an extension of Firefox ...

Posted on Thu, 05 Mar 2020 00:06:53 -0800 by daphreeek

Do it yourself to realize four free chat robots

Chatterbot is a computer program that talks through dialogue or words. It can simulate human dialogue and pass Turing test, such as Siri, Xiaoai classmates, Microsoft Xiaobing, etc.   This tutorial will teach you to use Python to realize four free and easy-to-use chat robots: Microsoft Xiaobing, Tu ...

Posted on Tue, 03 Mar 2020 22:10:37 -0800 by Sa177ir

[Spring Security + OAuth2 + JWT start to practice] 9. Sending verification code of SMS verification code

brief introduction By default, Security does not support SMS verification code login, so the whole authentication process needs to be developed by ourselves. Here we will explain in several articles. This article only completes sending mobile verification code SMS verification code entity class Spring security core project com.spring.securi ...

Posted on Tue, 03 Mar 2020 02:43:58 -0800 by aksival

Cupid Console: a powerful tool for Maxcompute Spark job management and control

Background At present, Maxcompute platform can support running spark jobs. Spark jobs rely on the Cupid platform of Maxcompute, which can be submitted to Maxcompute for running in a community compatible way. It supports reading and writing Maxcompute tables, sharing Project resources with the original SQL/MR Jobs on Maxcompute. Please refer to ...

Posted on Tue, 03 Mar 2020 00:44:54 -0800 by edmore

Handler+Looper+MessageQueue+Message (source code resolution handler mechanism)

1. I'm familiar with the handler when I develop the mobile terminal. I've seen the source code of the message sent and delivered by the handler before, but I've only got an impression after a long time. I've always wanted to form written words to deepen my understanding. Now I can. 2. When using han ...

Posted on Fri, 28 Feb 2020 02:59:06 -0800 by scraptoft

Practice Spring Cloud Alibaba 2 - Lombok, Nacos, Ribbon

1. Add Lombok annotation plug-in to the project First, idea needs to install Lombok plug-in (see Baidu for details) Add Lombok dependency to project pom file <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.12</ve ...

Posted on Thu, 27 Feb 2020 21:40:35 -0800 by rbama

Remodule of python built-in module

What is a rule? A regular expression, also known as a regular expression, is a special sequence of characters that helps check whether a string matches a pattern.Can be used for authentication: mailbox, mobile number, qq number, password, url =website address, ip, etc.Regular is not a unique technology for python. The Python language does not o ...

Posted on Wed, 26 Feb 2020 09:51:34 -0800 by mikefrederick

Working principle of ultrasonic ranging module ﹣ HC-SR04

Advantages and application fields of HC-SR04 module HC-SR04 module advantages: This module has stable performance, accurate measurement distance, high accuracy and small blind area. Product applications: 1. Robot avoidance 2. Object ranging 3. Liquid level detection 4. Public Security 5. Park ...

Posted on Fri, 21 Feb 2020 06:01:20 -0800 by revaaron