Richard Trump

Spring Security Overview

Spring Security is a certification authorization framework that supports authentication modes such as HTTP BASIC authentication (based on IETF rfc-based standard),HTTP Digest authentication (based on IETF rfc-based standard), form-based authentication (for simple user interface),OpenID authentication, and so on. Spring Security enables the current system to quickly integrate these authentication mechanisms or implement its own set …

Spring Security Overview Read More »

Python Read Big File Example

Read file content in python is very simple, you can use the Python file object’s method  read and readlines to easily read them. But there are also some tricks in using them. This article will tell you how to use them correctly.

Generate Graphic Verification Code Using Python Captcha Module

The captcha module is a Python third-party library designed to generate graphic and speech captcha codes. The graphic verification code supports Numbers and English words. 1. Captcha Module Installation. You can use the pip command to install it directly or go to it’s project GitHub page to download it. As the captcha module uses the …

Generate Graphic Verification Code Using Python Captcha Module Read More »

Python JSON Example

When you define a python dict variable like below, the variable’s value is saved in memory when the program runs: d = dict(name=’Richard’, age=25, score=100) You can change the variable value at any time, such as changing the name to ‘Tom’, but once the program ends, the memory taken by the variable is completely reclaimed …

Python JSON Example Read More »

iOS UIButton Introduction

Buttons are the most commonly used and simplest controls in iOS applications and are often used to respond to user actions. Generally, we use UIButton class to implement the button in iOS. This section will focus on adding buttons, beautifying buttons, and how to implement button responses.