Analysis of golang and command source code

Some time ago, a group of friends asked a go language question in the group: The main function of main.go calls the hello() function of demo.go. The main.go and hello.go belong to the main package. However, executing go run main.go in the directory of main.go will report that the Hello function is undefined: The code structure is as follows: * ...

Posted by gpong on Thu, 17 Oct 2019 13:59:00 -0700

Qt writing custom control 72 prompt progress bar

I. Preface In many installation packages, in the installation process, we can often see a beautiful progress bar at the bottom, which is suspended to display the corresponding progress, and then the bottom progress is displayed in a variety of color gradients. The progress bar provided by Qt or the progress bar style of the operating system is ...

Posted by chacha102 on Wed, 16 Oct 2019 18:56:43 -0700

SUSE Ceph iSCSI gateway management - Storage6

The iSCSI gateway integrates Ceph storage and iSCSI standards to provide a high availability (HA) iSCSI target that exports RADOS block device (RBD) images to SCSI disks. The iSCSI protocol allows clients to send SCSI commands to SCSI storage devices (targets) over TCP/IP networks. This allows heterogeneous clients to access the Ceph storage cl ...

Posted by BrandonKahre on Sat, 12 Oct 2019 13:00:57 -0700

Bluetooth MCU Development Tour: The Problem of Device Name in Dialog 14585 Broadcast

For some time, it was found that the device name could not be recognized in the Bluetooth broadcast of the spreadsheet. After debugging, it was found that the name of the device had been added repeatedly. Because we used Mijia's sdk, and then Mijia's SDK part of the code copied the original factory's ...

Posted by nickholas on Thu, 10 Oct 2019 08:11:07 -0700

2. Flutter Common Component-Text Text Text Component

New Flutter Project Open Andorid Studio, appear the following interface, select the second option, and create a new Flutter project. After opening the second window, select the first option, Flutter Application, and click Next. Fill in or select the project name, Flutter SDK installation path, project save path and project description r ...

Posted by Rebelrebellious on Thu, 10 Oct 2019 04:24:32 -0700

Take you to read ButterKnife's source code

Why write this series of blogs? Because in the Android development process, generics, reflection, annotations will be used, almost all frameworks will use at least one or two of the above knowledge, such as Gson, generics, reflection, annotations, Retrofit also used generics, reflection, annotations. It is very important for us to learn these k ...

Posted by madmindz on Thu, 10 Oct 2019 02:21:26 -0700

Qt Writes Custom Control 65-Halo Calendar

I. Preface Operating system update iteration speed is very fast, basically three or five years have a new version, WIN10 operating system is still a relatively successful system, it is said that now the market share is growing, XP share has been small, WIN7 share is gradually decreasing, in the latest WIN10 system, the lower right corner has a ...

Posted by stanleycwb on Wed, 09 Oct 2019 21:23:17 -0700

Building Front-end Monitoring System from Zero-to Control iframe Forward and Backward

Preface This series of articles aims to explain how to build a front-end monitoring system from scratch. The project has been sourced Project address: https://github.com/bombayjs/b... (web sdk) https://github.com/bombayjs/b... (Server, for providing api) (not finished) https://github.com/bombayjs/b... (Background management system, visual d ...

Posted by smc on Wed, 09 Oct 2019 03:58:20 -0700

Interpretation of Java SDK Subscription on Internet of Things Platform Server

1. To use the service-side subscription function, you need to set it on the console and select the type of message you want to push. 2. Adding dependencies to the Maven project, as shown below. <dependencies> <!-- Aliyun core --> <dependency> <groupId>com.aliyun</groupId> &lt ...

Posted by gavin1996 on Wed, 09 Oct 2019 03:11:06 -0700

Subscribe to Aliyun Internet of Things Platform Device Message PHP Example Reference Using Message Service (MNS)

Summary Internet of Things Platform Server Subscription supports sending device messages to Message Services (MNS). Cloud applications obtain device messages by listening to MNS queues. This article mainly demonstrates the use of the latest version of MNS PHP SDK to consume messages subscribed to MNS Queue. Operation steps 1. Server-side subscr ...

Posted by phence on Wed, 09 Oct 2019 00:17:40 -0700