GStreamer official introductory course 5: integrating GStreamer with your graphical interface

This tutorial demonstrates how to integrate GStreamer into a graphical user interface (GUI) toolkit like GTK +. Basically, GStreamer is responsible for media playback, while the GUI toolkit handles user interaction. The most interesting part is that the two libraries must interact: instruct GStreamer to ...

Posted by kishore_marti on Fri, 12 Jun 2020 10:19:34 +0200

Python crawler example: News total crawling

Python crawler example: News total crawling preface analysis Web page parsing Stock data source Proxy IP code implementation summary preface Some time ago, due to the needs of tasks, it was necessary to climb the number of news of Shanghai Stock Exchange 50 index component stocks on certain da ...

Posted by HavokDelta6 on Thu, 11 Jun 2020 07:10:42 +0200

Asyncpy use documentation

1 create project Install the required environment python version needs > = 3.6 Installation command: pip install asyncpy After the installation is complete, you can start creating a crawler project. Create project command: asyncpy genspider demo Create a project called demo. After the creation is successful, open the project file. The projec ...

Posted by xnor82 on Thu, 11 Jun 2020 05:39:52 +0200

Kubernetes: Build a Windows version of Kubernetes based on WSL2 and Kind or Minikube

The original was published in Chinese Community of kubernetes , an original translation for the author, Original Address More kubernetes articles, please pay more attention Chinese Community of kubernetes Catalog Why use Kubernetes on Windows? Prerequisite WSL2: Combined with Ubuntu [Optional ...

Posted by shantred on Thu, 11 Jun 2020 03:17:10 +0200

Spring Cloud upgrade road - Hoxton - 4. Use Resilience4j to achieve instance level isolation and fusing

How not to enable Hystrix Because our entry annotation class is replaced by SpringBootApplication from @ SpringCloudApplication, spring cloud circuit breaker will not be enabled. The introduced Hystrix dependency has no effect. Please refer to Section 2 of this series: The way to upgrade Spring Cloud ...

Posted by cedricm on Fri, 05 Jun 2020 05:40:36 +0200

Using WindowManager to add View -- the basic principle of floating window

Although there are many types of "windows" in Android system, only two types are often used: one is managed by system process, which is called "system window"; the other is generated by application program, which is used to display UI interface. If you are familiar with window manager service (WMS), everything is very simple ...

Posted by c0le on Sat, 30 May 2020 02:18:58 +0200

[iOS] Beginner's Advancement: AppDelegate's Slim

Is the code inside an AppDelegate messy? Are there thousands of lines of code in an AppDelegate? image.png AppDelegate serves as the entry to the program.You should have simple code and a clear style so you can read it yourself and with the developers. So adding a new category to AppDelegate is the easiest and clearest way to do it i ...

Posted by solon on Tue, 26 May 2020 19:28:06 +0200

Self adhesive, thermal printing

In the process of warehousing and logistics, it is often necessary to use thermal printer or carbon tape printer to print some barcode and information and paste them on the physical object or package The best way is not to directly use thermal code to form text and output it to printer for printing But thermal code is also a special language to ...

Posted by gavinbsocom on Wed, 20 May 2020 09:43:00 +0200

BOM and DOM operations for JavaScript front-end development

[Directory] I. BOM Operation 1. window Object 2. window child object 3. Hisry Object 4. location object (master) 5. Pop-up box 6. Timer-related 2. DOM Manipulation 1. DOM-related concepts 2. Find labels 3. Node Operation 4. Get Value Operation 5. class, css operations   (Here's what you do with a browser in a mac notebook (check the con ...

Posted by timcapulet on Mon, 18 May 2020 18:20:38 +0200

The background implementation of WPF scrolls the currently selected items of DataGrid by pressing the number key

Recently, I encountered an item without mouse on the device. The interface is a DataGrid with full screen. It needs to scroll up and down the currently selected row of DataGrid by pressing 0 and 1 of the keypad For important reference, https://blog.csdn.net/sinat_/article/details/105428496 implements background scrolling to the currently selec ...

Posted by arag0rn on Sat, 16 May 2020 16:32:11 +0200