iOS Custom Control - UISearchBar

In the development process, UISearchBar is a rare control. In general, we use the system native style: But what UI designers might want is this: Maybe you think it's very simple: setting background color, border icon or something; First look at setting the background color: _It doesn't work if we set the backgroundcolor directly: bec ...

Added by Vertical3 on Mon, 01 Jul 2019 22:48:00 +0300

User Authentication Component

1. User authentication 1.1 auth module from django.contrib import auth Many methods are provided in this module 1.1.1authenticate() user = authenticate(username='someone',password='somepassword') Verifying that the username and password are correct generally requires two keyword parameters, username and password. Authentication passes and t ...

Added by Frozenlight777 on Fri, 28 Jun 2019 19:18:32 +0300

K8S DIY SERIES - 2.3 - PV & PVC

Preface In experiment 2.2 - Deployment, we successfully transformed wordpress+mysql based on Pod deployment into Deployment-based deployment. Deployment-based deployment has many advantages, such as supporting Rolling Update and horizontal expansion. However, there is a problem that when our Deployment is modified or Pod is deleted and reconstr ...

Added by joviyach on Thu, 20 Jun 2019 23:57:25 +0300

Common Git Operating Commands

Common commands git --version View version information git config --global user.name = "name" Configure User Name git config --global user.email = "xxx@xxx.com" Configure user mailbox cd: Switch the working directory. change directory pwd: Print the working directory. print work directory ls: View the contents of the specif ...

Added by jhlove on Wed, 19 Jun 2019 00:36:02 +0300

Build your own Git server in Ubuntu 14.04

Source environment will be built recently. There was no ready-made environment, so we had to build it ourselves. Based on Ubuntu 14.04. Other versions of Ubuntu are theoretically available. Follow-up in collating again about Git Build under Server Android Source version management.   Ad locum git The benefits of version management are n ...

Added by rpanning on Wed, 19 Jun 2019 00:17:58 +0300

Java Design Mode-Factory Mode

1. Simple factories Definition Simple Factory is not actually one of the 23 GOF design modes. It is a weakening (or a special case of) the factory method mode. Because it is simple, it is called Simple Factory Mode, also known as static factory mode.Although it's not a "standard" design pattern (more like a programming habit), there a ...

Added by jplock on Fri, 14 Jun 2019 19:03:51 +0300

Using Kotlin to implement Android Simple Demo and comparing JAVA implementation to analyze specific syntax differences (2)

Using Kotlin to implement Android Simple Demo and comparing JAVA implementation to analyze specific syntax differences (2) Before writing, the previous article simply realized the creation of Kotlin project files, and recorded the differences between the default generated code and the JAVA implementation. This article enumerates the differ ...

Added by fri on Fri, 14 Jun 2019 03:00:48 +0300

YOLO: Real-time Object Detection System

Original title: YOLO: Real-Time Object DetectionEnglish text: https://pjreddie.com/darknet/... Highly recommended (TED video): https://www.ted.com/talks/jos... You only look once (YOLO) is the most advanced real-time object detection system at present.On a Titan X, it can process 40-90 frames per second in real time, with accuracy as high as ...

Added by rpearson on Fri, 07 Jun 2019 20:15:29 +0300

Hugo's Guide to Creating a Personal Blog

Recently I decided to build a personal blog site and compare hexo with hugo Hugo Static Page Generation Engine with theme tranquilpeak , using the comment system Valine .The purpose of this article is to record in detail the process of creating a personal blog. Dead work Git, Golang environment GitHub Account or Gitee Account (Blog with free ...

Added by jstarkweather on Fri, 07 Jun 2019 20:13:00 +0300

Android NDK Development: A Practical Case

0. Preface If we only study theory, do not practice, do not step on the pit, it is generally difficult to find real problems in practical projects, but also more difficult to deepen the understanding of technology. So continue the actual battle of JNI Android NDK Development: JNI Practical Chapter This article is mainly about the practice of ...

Added by Miichael on Sun, 02 Jun 2019 22:59:15 +0300