OCLint + Jenkins + SonarQube build iOS code static analysis system
background
With the increasing amount of code and the expansion of the team, when we want to iterate quickly, we often want to get the requirements online as soon as possible, resulting in the code is not very standardized, leaving a pile of technical debt over a long time, and the quality of the code is not guaranteed. So I began to try some ...
Added by yelvington on Sun, 27 Feb 2022 13:40:45 +0200
day6 list job
1. Basic questions
Given a list of numbers, print all odd numbers in the list list1 = [1,2,3,4,5]
for x in list1:
if x %2 != 0:
print(x)
Given a list of numbers, print all the numbers in the list that can be divided by 3 but cannot be divided by 2 nums = [23, 45, 78, 90, 8, 21]
for x in nums:
if x % 3 == 0 and x % 2 != 0:
...
Added by sfw5000 on Sun, 27 Feb 2022 13:28:01 +0200
Eureka service registration and discovery in spring cloud
catalogue
Eureka service registration and discovery
Server
Client (service provider)
consumer
Start sequence
Eureka service registration and discovery
Eureka is divided into server and client: Generally speaking, the server is the registration center of all services, and the client is each service provider. This paper has taken stand- ...
Added by fatmikey on Sun, 27 Feb 2022 13:25:24 +0200
Python thread, role of with (automatically acquire and release Lock)
Python thread, role of with (automatically acquire and release Lock)
import threading
import time
num=0 #Global variables can be read and written by multiple threads to transfer data
mutex=threading.Lock() #Create a lock
class Mythread(threading.Thread):
def run(self):
global num
with mutex: #The function of with Lock ...
Added by jeanne on Sun, 27 Feb 2022 13:24:12 +0200
Original title of CTFSHOW competition (web711-web725)
Because there are many topics, many places are relatively simple. I hope the masters will understand..
web711
Scanning the directory found robots Txt, prompt static / secret key txt Access to get a string ctfshow_love_you Then enter the normal page, there is a login and registration, randomly register a user, and after logging in, it is fo ...
Added by slyte33 on Sun, 27 Feb 2022 13:22:34 +0200
Reverse crawler 24 JQuery and Ajax
Reverse crawler 24 JQuery and Ajax
I Closure supplement
In the previous section, it was said that the closure function transmits information outward through return. In fact, there is another way to transmit information outward without return. Create a window global variable inside the function, assign the value of the local variable to it, an ...
Added by yame conoces on Sun, 27 Feb 2022 13:15:05 +0200
Event distribution mechanism of View
What did the VIew incident include
The event of View actually refers to MotionEvent, that is, a series of actions such as clicking, sliding and lifting the screen. It has the following four event types
ACTION_DOWN: the finger just touched the screenACTION_MOVE: move your finger on the screenACTION_UP: the moment when the finger is release ...
Added by jlh3590 on Sun, 27 Feb 2022 12:00:31 +0200
[python] Flash Web Application Framework
brief introduction
Flask is a lightweight WSGI Web application framework. It is designed to make getting started quick and easy and can be extended to complex applications. Originally a simple wrapper around Werkzeug and Jinja, it has become one of the most popular Python Web application frameworks.
Flash source code Flash User Guide
1, ...
Added by joshi_v on Sun, 27 Feb 2022 11:54:07 +0200
[deep analysis of Spring source code] 07 database link JDBC
1. Implementation of spring connection database (JDBC)
Spring has done a lot of encapsulation for JDBC, eliminating redundant code and greatly reducing the development cost. Let's learn about the operation of JDBC in spring through an example.
1) Create data table structure
CREATE TABLE user (
id int(1) NOT NULL auto increment,
name v ...
Added by Rovas on Sun, 27 Feb 2022 11:52:56 +0200
MyBatis dynamic sql, paging plug-in, cache
1, Important tags in xml
1.1. where label
Query criteria entity class
public class QueryTeamVO {
private String name;
private Date beginTime;
private Date endTime;
private String location;
public QueryTeamVO() {
}
public QueryTeamVO(String name, Date beginTime, Date endTime, String location) {
this.n ...
Added by erikjan on Sun, 27 Feb 2022 11:45:59 +0200