Vue uses websocket to implement real-time data push and publish, subscribe and reconnect single sign-on functions.

Requirements: Use websocket to implement publishing, subscribing, network disconnection and reconnection, and account squeezing after single sign-in without using plug-ins. 1. Single sign-on (only one of the same account is online at the same time, multiple user logins are prohibited) Implementation: After the user logs in, the token token is obtained and stored locally. It […]

Ubuntu vscode detailed installation and cmake configuration, git push and pull, shortcuts

Ubuntu vscode installation and cmake configuration detailed operations Install vscode https://blog.csdn.net/zhaomengszu/article/details/112261258 Solution to the slow or failed download of VSCode official website_vscode cannot be downloaded_Who knows this kid’s blog-CSDN blog 1. The official website may fail to download due to network problems. You can use the above method to download 2. First go to the […]

.NET quickly connects with Jiguang message push

What is push message? Many mobile APPs will push messages to users from time to time. For example, some news APPs will push news that the user may be interested in, or if the APP is updated, they will push messages to the user whether to choose to update, etc. This is the so-called ” […]

windows ffmpeg + nginx + videojs implements rtmp push and pull streaming and hls push and pull live streaming

The previous blog has written about using ffmpeg + nginx to build an RTMP push and pull live broadcast environment under Windows. It can be played through PC client software such as ffplay and vlc. However, due to browser playback reasons, the RTMP stream passes through the browser. Playback must use the flash plug-in. The […]

Qt control UI design QPushbutton, QToolButton, QMenu

Qt control UI design QPushbutton, QToolButton, QMenu Personal design QToolButton effect design effect running result Chapter1 Qt control UI design QPushbutton, QToolButton, QMenu 1.The relationship and difference between QPushbutton and QToolButton: 2.QMenu can cooperate with QPushbutton to make a drop-down menu 3. The function of clicking the button. The toolbutton theme is drawn with UI. […]

When git uploads a project, it keeps reporting a file without adding any content (git pulls up other people’s projects and uploads them to their own warehouse/error: failed to push some refs to https://gitee.com/)

Blog homepage: Breaking the waves and moving forward Series of columns: Vue, React, PHP Thank you everyone for likingfavorites?comments Table of Contents Two methods: 1: Forced upload can be used 2: Delete other people’s .git files, because someone else has configured the remote address of git, and if you pull it locally together, he does […]

Using webSocket in Spring Boot to implement real-time message push

Before writing this blog, I looked through a lot of information and read many webSocket-related blog posts on CSDN about webSocket, but I did not find a relatively complete one. Most of them were incomplete and talked about related concepts, but In the actual demo process, most of the code is directly omitted, and then […]

Uni-App access to uni-push 2.0 guide

Preparation Activate uni-push 2.0 service Go to the DCLOUD development center, find uniPush → 2.0 → application information, and activate the service as required After activation, you can see the following interface: There is also “Manufacturer Push Settings” below, because the default push can only be received after the application is started and connected to […]

Don’t just pull and push Git, try these 5 commands to improve efficiency!

Source: juejin.cn/post/7096288358460031013 Foreword Using Git for code version management has long been a necessary skill for development engineers today. However, most engineers still only know how to save, pull, and push the most basic tasks. They are helpless when encountering some commit management problems, or solve them in some inelegant ways. This article shares practical […]

Don’t just pull and push Git, try these 5 commands to improve efficiency

Don’t just pull and push Git, try these 5 commands to improve efficiency This article mainly shares 5 practical Git commands in development and how to set short commands. stash reset –soft cherry-pick revert reflog Foreword Using Git for code version management has long been a necessary skill for development engineers today. However, most engineers […]