ICode9

精准搜索请尝试: 精确搜索
  • FastApi学习2022-08-24 16:03:55

    vscode配置 插件 code runner在 setting.json中关于python的修改为,因为我使用了虚拟环境,得让vscode找到python的路径 "code-runner.executorMap": { "python": "$pythonPath -u $fullFileName" } 使其在Run In Terminal

  • stackstorm action-ActionRunner2022-08-15 00:32:06

    ActionRunner ActionRunner是Action的执行环境, Action Runner实际上就是一系列的工作进程,ActionRunner根据StackStorm调度来进行执行Action,可以通过命令查询到进程: # st2ctl status ##### st2 components status ##### st2actionrunner PID: 36192 st2actionrunner PID: 36194 s

  • Drone-CI 运行时的指定runner2022-08-12 01:30:58

    Drone-CI 运行时的指定runner 最近群里小伙伴问了个 drone ci 的问题 是我不曾想到的场景, 由于我使用的是三块树莓派4b, 性能上没有区别, 所以在使用的时候就没考虑过指定在哪一块的runner上运行, 反正都差不多 各个服务的管理是通过k3s做的, 也就用runner打个镜像推送到nexus3

  • LeetCode 1838. Frequency of the Most Frequent Element2022-08-05 06:31:06

    原题链接在这里:https://leetcode.com/problems/frequency-of-the-most-frequent-element/ 题目: The frequency of an element is the number of times it occurs in an array. You are given an integer array nums and an integer k. In one operation, you can choose an i

  • csharp-vscode配置c#2022-08-04 19:00:38

    vscode配置c# 基本配置 Code Runner插件的配置

  • VSCode用户配置--自用2022-08-01 23:02:22

    目录插件自用setting设置 插件 自用扩展: C/C++ Code-runner Error Lens Atom One Dark Chinese中文简体 驼峰翻译助手 自用setting设置 { /*editor*/ "editor.fontFamily": "Consolas, '思源黑体', monospace", //编辑器字体:英文:consolas,中文:宋体,日语:monospace "ed

  • gitlab配置gitlab-ci2022-07-27 00:34:13

    gitlab部署 # 1.下载镜像 docker pull gitlab/gitlab-ee:14.2.1-ee.0 # 2.创建挂载目录 mkdir -p /home/gitlab/config /home/gitlab/logs /home/gitlab/data # 3.启动 docker run -d \ --name gitlab \ --hostname ip地址 \ --publish 443:443 --publish 80:80 --publish 8

  • Code Runner for VS Code,下载量突破 4000 万!支持超过50种语言2022-07-17 21:11:10

    大家好! 我是韩老师。还记得 6 年前的夏天,我在巨硬写着世界上最好的语言,有时也需要带着游标卡尺写着另一门语言。然而,我对这两门语言都不熟悉,如果能在 VS Code 中方便快捷地运行各种语言,那岂不是很方便?于是,我就开发了 Code Runner 插件。 https://github.com/formulahendry/vscode-

  • 线程池命名2022-07-14 19:02:16

    public static void main(String[] args) throws Exception { //创建线程池 ThreadFactory namedThreadFactory = new ThreadFactoryBuilder().setNameFormat("thread-call-runner-%d").build(); ExecutorService executorService = Executors.

  • gitlab-CICD共享runner基本配置2022-07-06 21:06:24

    gitlab-CICD共享runner基本配置 使用docker部署runner 多个项目使用共享runner 部署机器与runner不在同一台服务器上(使用ssh部署) 部署runner 部署镜像 docker pull gitlab/gitlab-runner:latest docker run -d --name gitlab-runner-shared \ --restart always \ -v

  • unittest讲解2022-07-04 01:00:59

    unittest核心要素 TestCase TestSuite TextTestRunner defaultTestLoader Fixture TestCase 说明:(翻译:测试用例)一个TestCase就是一条测试用例; 使用: 1. 导包:import unittest --> 导入unitest框架 2. 继承:unittest.TestCase --> 新建测试类继

  • Python 安装 Code Runner 插件后输出中文乱码2022-06-19 21:33:49

    处置 在 Code Runner 的扩展设置中,勾选 Code-runner: Run In Terminal 即可。 或者 Ctrl + P 搜索 > Open Settings (JSON) 在 Setting.json 中添加: { ... "code-runner.runInTerminal": true, ... } 参考 VScode runner插件中文输出乱码问题

  • LeetCode 1721. Swapping Nodes in a Linked List2022-06-16 03:31:06

    原题链接在这里:https://leetcode.com/problems/swapping-nodes-in-a-linked-list/ 题目: You are given the head of a linked list, and an integer k. Return the head of the linked list after swapping the values of the kth node from the beginning and the kth 

  • gitlab pages无法运行,一直处于Pending状态的原因2022-06-08 12:02:52

    gitlab pages无法运行,一直处于Pending状态的原因 错误信息是:This job is stuck, because you don't have any active runners that can run this job 这是由于在注册gitlab runner完成后,有一个配置项需要修改,就是是否在没有标记tag的job上运行,如果选择默认值false,那没有标记tag的

  • 在 Linux 上手动安装 GitLab运行器(GitLab Runner)2022-06-01 13:32:50

      runner是一个任务执行器,我们可以在任意一个可访问的地方安装runner,并注册到我们的gitlab系统中,这样我们就能使用gitlab ci/cd功能进行持续集成构建项目了 如果您无法使用deb/rpm 存储库安装 GitLab Runner,或者您的 GNU/Linux 操作系统不在受支持的操作系统中,您可以使用以下方法

  • Gitlab-Runner2022-05-28 15:04:58

    Git-Runner 前期说明 对于gitlab Runner是什么这里不做过多介绍,这里仅对runner部署方式,以及如何使用展开说明。 实现功能: 配置文件存储位置为gitlab,当代码提交,自动触发apply操作 背景说明: 当前gitlab版本: 13.9.3-ee 使用runner版本:v13.9.0 k8s集群版本:v1.20.11 kubectl版本:v1.20

  • Spring是如何整合JUnit的?JUnit源码关联延伸阅读2022-05-21 15:34:26

    上一篇我们回答了之前在梳理流程时遇到的一些问题,并思考了为什么要这么设计。 本篇是《如何高效阅读源码》专题的第十二篇,通过项目之间的联系来进行扩展阅读,通过项目与项目之间的联系更好的理解项目。 本节内容: TestRunner的执行流程 Spring如何整合JUnit 在我们使用Sprin

  • gitops在gitlab上实践2022-05-19 20:03:57

    环境介绍 gitlab版本 gitlab-ce-14.10.2-ce.0.el7.x86_64.rpm os版本 CentOS Linux release 7.7.1908 (Core) 系统架构 : Model name: Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz Architecture: x86_64 安装runner 点击查看代码 # Download the bina

  • docker gitlab版本管理和CI/CD 自动部署go2022-05-05 13:00:48

    一、docker中安装gitlab #先拉取镜像 docker pull gitlab/gitlab-ce:latest #运行镜像 docker run -d -p 443:443 -p 80-100:80-100 -p 22:22 --name gitlab --restart always --v D:/docker/gitlab/config:/etc/gitlab -v D:/docker/gitlab/logs:/var/log/gitlab --v D:

  • Gitlab CI/CD2022-05-01 19:33:15

    参考链接:https://www.cnblogs.com/tianyaguoke/p/11219648.html   1.安装Gitlab version: '3.6' services: web: image: 'registry.gitlab.cn/omnibus/gitlab-jh:latest' restart: always container_name: gitlab hostname: '192.168

  • 用 GitLab CI 进行持续集成2022-04-30 17:33:20

    简介 从 GitLab 8.0 开始,GitLab CI 就已经集成在 GitLab 中,我们只要在项目中添加一个 .gitlab-ci.yml 文件,然后添加一个 Runner,即可进行持续集成。 而且随着 GitLab 的升级,GitLab CI 变得越来越强大,本文将介绍如何使用 GitLab CI 进行持续集成。 一些概念 在介绍 GitLab CI 之前

  • 2022-2023学年英语周报高二课标外研第39期答案汇总2022-04-09 09:01:38

    进入查看:2022-2023学年英语周报高二课标外研第39期答案汇总   Against great difficulty, a female runner from Kenya came third at the 2015 Austin Marathon Sunday by crawling on her hands and knees across the finish line. Hyvon Ngetich, 29, was leading the pack of

  • Moco server Linux 端部署2022-04-03 18:34:44

    1、moco-runner-1.1.0-standalone.jar 工具包是 JAVA 开发的,所以先是安装 JDK1.8,且配置环境变量 2、自定义个目录,用于统一存放管理文件 mkdir moco 3、将 moco-runner-1.1.0-standalone.jar 和写好的 moco 脚本文件统一放到目录下 4、创建个启动文件,用于后期需要启动 moco 服

  • gitlab-ci && runner use docker2022-04-01 12:01:44

    点击查看代码 cat config.toml concurrent = 16 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "woshishi" url = "https://gitlab.lovexlq.com" token = "B2dAaz7yuixscYX-q_y" executor = "

  • 3.10 Go之缓冲通道2022-03-21 09:36:52

    3.10 Go之缓冲通道 缓冲通道种类 无缓冲通道 带缓冲通道 什么是无缓冲(Unbuffered Channel)通道? 指在接收前没有能力保存任何值的通道--->一进一出(只能进一个值) 特点: 要求发送goroutine和接收goroutine同时准备好,才能完成发送和接收操作 理解: 可以理解为把两个gorouti

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有