• (89) WinForm custom control – Custom scroll bar (treeview, panel, DataGridView, listbox, listview, textbox)


    Official website http://www.hzhcontrols.com/ premise Has been in the industry for 7,8 years, has always wanted to do a set of beautiful custom controls, so there is a series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_ winform_ custom_ control.git If you think the writing is OK, please click a star to support it Welcome to discuss: Penguins […]

  • Getting started with flexbox layout


    The early implementation of Internet layout is to achieve the layout we want through a variety of different attribute combinations. For example, the common vertical center, just contact CSS friends seevertical-align: middle;This property might be thought to be used for vertical centring, but it’s not that simple. If you want to achieve vertical center through […]

  • XPath: HTML parsing artifact of Python crawler series


    Through the previous article, we have known how to obtain the web page and download the file, but the previous web page we obtained is unprocessed, redundant information is too much, can not be analyzed and used In this section, we’ll learn how to filter the information you need from the web page, and recommend […]

  • How to customize attribute instruction for angular


    Demand:Implement a custom attribute directive. When it is applied to an HTML element, the mouse hover will change its background color. <p appHighlight>Highlight me!</p> Here’s how. (1) Use the command line to create a directive: ng generate directive highlight Automatically generated file: import { Directive } from ‘@angular/core’; @Directive({ selector: ‘[appHighlight]’ }) export class HighlightDirective […]

  • Explain class in ES6


    The article starts with personal blog catalog class Static method Static properties inherit super class Class is a grammar sugar, and its bottom layer is still throughConstructorTo create. So most of its functions, Es5, can do it. The new class method only makes the writing method of object prototype clearer and more like the syntax […]

  • Crud: the foundation of mybatis


    preface As a senior back-end coder, he has to deal with the database every day. The first thing to use is hibernate, a very strong encapsulation persistence framework. Since it was exposed to mybatis, it has been compromised by its flexibility. It can write SQL by itself. Although it is lightweight, sparrows are small and […]

  • OC attribute and instance variable


    OC attribute and instance variable No matter Java or C + + these object-oriented languages have the concept of attribute. Generally speaking, there is no difference between Java attribute and instance variable. The properties defined by Java are as follows: Property refers to the get or set method name. After removing get or set and […]

  • Based on Vue cli, Vue components are published as NPM packages


    1. Initializing the project with Vue init I use itwebpack-simpleThe purpose of the template is to reduce the inclusion. vue init webpack-simple my-first-vue-npm If @ Vue / cli init is not installed globally, @ Vue / cli init needs to be installed first npm install -g @vue/cli-init // or yarn global add @vue/cli-init Installation [email protected]/cli-initAfter […]

  • Emmet Guide


    Emmet Grammar HTML Enter the following three linesarbitrarilyOne, to achieve the same effect html:5 html5 ! Output effect <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <title></title> <link rel=”stylesheet” href=””> </head> <body> </body> </html> Add class, ID for the element p.red div#form-login Add an attribute to the element input[value=10] a[href=javascript:void(0)] div[style=color:red] Output effect <input […]

  • Flexbox layout actual use cases


    The last article introduces the properties and examples of flexbox. This paper also introduces the convenience and problems brought by the characteristics of flex layout through several flex layout cases~ formatting context When we set the flex property to the parent container, the flex container creates a newFlex formatting context。 In this contextfloat、 clearIt will […]

  • @synthesize


    Blog move, written at 18:10, August 28, 2018 When xcode4, @ property can only generate the declaration of getter and setter methods; From xcode5, @property can be generated automatically_ Declaration and implementation of propertyname member variables and getter, setter methods. By default, getter and setter methods work on_ Propertyname variable. However, when the getter and […]

  • The practice of importing Nebula graph from neo4j is shown in the principle of spark data import


    This article mainly describes how to import data from neo4j toNebula GraphDatabase。 Before we talk about how to operate data import, let’s first understand how the nebula graph implements this import function. Data processing principle of nebula graph exchange The name of our import tool is Nebula graphExchangeSpark is used as the import platform to […]