Tag:source code
-
Automatically add (modify) recent git submission records
effect Implemented by golang codeAutomatically generate an active commit for a project in the last 100 days Source code github another Find Star This work adoptsCC agreement, reprint must indicate the author and the link to this article
-
Vue2 integration bootstrap4 from 0 (1)
I’m tired of copying and pasting all over the street. Let’s take a look at the most concise and practical! I am not a professional front-end, if there is any error, please give me some advice~ This article usesyarninstallvueAnd dependencies,npmSelf use. 1、 InstallationVue 2、 Installationjquery,bootstrap, popper.js,node-sassandsass-loader bootstraprely onjqueryandpopper.js。Due to integration intoVue, so do not usescriptLabel […]
-
Grpc practice in Java version II: service publishing and calling
Welcome to my GitHub https://github.com/zq2599/blog_demos Content: classification and summary of all original articles and supporting source code, involving Java, docker, kubernetes, Devops, etc; Overview of this chapter This article is the second in the Java version of grpc actual combat seriesCode generation with protoThe parent project, dependent library version, helloworld The Java code corresponding to […]
-
Chengdu / Kaiyun interstellar (Chengdu) Development Technology Co., Ltd. / recruitment of golang development engineers (junior, intermediate and senior) / recruitment of rust language
Job description:1. Responsible for code review and secondary development of open source code2. Follow up the development of cutting-edge technologies in the blockchain industryJob requirements:1. Love Web3.0 technology stack2. Familiar with one or more languages in go/rust, familiar with common data structures and algorithms, and familiar with restful and RPC3. Be familiar with Linux operating […]
-
How to play the log of go
How to play the log of go Last time we shared the timer and timer task of gocron, let’s review: What is timer How to use timer What is ticker How ticker works What is Cron How to use Cron If you want to know the answers to the above questions, please check the articleGo […]
-
This time, go cond
This article will analyze sync Cond。 Sync Cond may be the less used method to control concurrency, because it is replaced by channel in most scenarios. And sync The use of cond is really complicated. For example, the following code: `package main` `import (` `”fmt”` `”time”` `)` `func main() {` `done := make(chan int, 1)` `go func() {` `time.Sleep(5 * time.Second)` `done <- 1` `}()` `fmt.Println(“waiting”)` `<-done` `fmt.Println(“done”)` `}` […]
-
[Part 16] – springcloud large enterprise distributed microservice Cloud Architecture source code of docker installing CentOS
Docker installing CentOSCentOS (community enterprise operating system) is one of the Linux distributions. It is compiled from the source code released by Red Hat Enterprise Linux (RHEL) in accordance with the open source regulations. Due to the same source code, some servers requiring high stability use CentOS instead of the commercial version of Red Hat […]
-
[experience sharing] Ubuntu installs deepstream6.0
Welcome to follow my official account [Jizhi horizon] and reply to 001 to obtain Google programming specification O_o >_< o_O O_o ~_~ o_O This tutorial details how to install deepstream6.0 on Ubuntu. Some versions require: Ubuntu 18.04 GStreamer 1.14.5 NVIDIA driver 470.63.01 CUDA 11.4 TensorRT 8.0.1 1. Installation dependency […]
-
Chapter 5 of handwritten mybatis: analysis, creation and use of data sources
Author: Xiao Fuge<br/> blog: https://bugstack.cn Precipitation, sharing, growth, so that they and others can gain! 1、 Foreword No matter how many bowls of flour you eat, you can have flow! Now we receive more and more information every day, but many individuals do not have much ability to distinguish knowledge. Many knowledge information is only […]
-
(15) Java spring cloud enterprise rapid development architecture using Eureka cluster to build a high availability service registry
In the actual development process, we may constantly restart the service. Since Eureka has its own protection mechanism, the service information will always exist in Eureka after the node is offline. We can add some configurations to make the removal faster. Of course, it is only used in the development environment, not recommended in the […]
-
The default parameter of the kotlin function does not appear in the signature. The default parameter of runblocking is not defined in the source code? Pit for default parameters
Cause of problem The context parameter of runblocking has a default value. However, you can view the source code in Android studio and find that the definitions in the source code are as follows: @Throws(InterruptedException::class) public actual fun runBlocking(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T This is very strange. Because it is clearly stated […]
-
Touch your hand go get a deeper understanding of sync Cond
Today that you are wasting is the unattainable tomorrow to someone who expired yesterday. This very moment that you detest is the unreturnable experience to your future self. sync.CondImplements a condition variable to wait for one or a group ofGoroutines the scenario that wakes up when the conditions are met. eachCondAssociate aLockerUsually a*MutexorRwmutex\` initialize different […]