ICode9

精准搜索请尝试: 精确搜索
  • 使用vscode写python报No such file or directory2021-09-21 16:05:29

    首先 文件 -> 首选项 -> 设置 ->搜索terminal -> 扩展->python ->勾选Execute In File Dir

  • UWP应用推荐 篇三:快扔掉CMD和Windows PowerShell,试试这个最好用的windows终端2021-09-19 23:33:10

    【写作说明】:笔者为IT爱好者,经常个Linux打交道,一般都是采用第三方ssh工具,偶然发现一款好用的windows终端,和大家分享一下。 文章目录 使用理由外观展示界面对比 功能体验标签页SSH连接快捷键常用命令 总结 使用理由 相信大家也都使用过CMD或者Windows PowerShell,作为一款

  • 【错误日志】【vscode】import numpy 失败:DLL load failed2021-09-17 00:00:09

    错误原因:shell 打开失败,导致 conda activate 失败,没有环境,自然没有 numpy 解决: 在 settings.json 中加入: "terminal.integrated.profiles.windows":{ "PowerShell": { "source": "PowerShell", "icon": "

  • Ubuntu20.04打不开终端2021-09-16 14:32:50

    输入gnome-terminal显示: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached 解决办法: 1,安装gnome-session sudo apt-get install gnome-session 2,运行gnome-se

  • 【极客日常】2021新版本VSCode设置git-bash为终端的方法2021-09-11 12:01:16

    截至2021.9,不知道哪天更新了vscode,发现默认的终端从以前的git-bash变成了powershell,笔者用的windows电脑,于是乎要解决这个问题,把powershell变回git-bash。 打开settings,发现以前的terminal.integrated.shell.windows设置已经失效,不能再用。在settings的图形界面查看shell设置

  • 离线安装Windows Terminal2021-09-10 22:04:24

    Windows Terminal颜值高、适配好、速度快,是Windows 10下命令行工具的不二选择。 最近在公司电脑上安装Windows Terminal时遇到一个问题,由于公司电脑不能直接连接外网,只能下载安装包离线安装,但是直接安装 .msixbundle 文件后,无法正常启动Windows Terminal。经过一顿操作,终于找到了

  • 终端(Terminal)窗口的打开方式及常用终端命令2021-09-10 19:58:45

    Terminal,是专门为程序员设计的,通过输入命令来操作电脑的一种方式 ,有些软件只提供了通过终端命令的方式来操作,如 node、git等。 终端窗口有什么用? 1. 常用的操作,比如创建文件夹、创建文件、移动文件、关机、锁屏等等,都可以使用终端窗口完成。 2. 使用Git、Node、Vue等开发,必须要

  • VSCode: Windows 下配置 VSCode运行shell2021-09-09 17:02:22

    需要测试一个shell 脚本, 但是懒得启动linux环境了,不过好像记得 VScode的 Code Runner 插件是支持跑shell 脚本的, 于是写了一个简单的shell脚本,点运行,结果直接提示下面的结果:   这是啥? 后来折腾了一会儿,找到了一个在windows下用VScode跑shell脚本的办法: 1. VSCode 安装

  • 新版VSCode 2021-09-01版 解决“无法将XXXX项识别为 cmdlet、函数、脚本文件或可运行程序的名称”的问题2021-09-06 17:59:37

    问题 前几天VSCode自动更新了,然后插件Task Explorer里面的任务就无法执行了。看了一下,发现了原因: 以前我在user配置里有: { "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe" //这条已经失效了 } 然后报错则是提示: The terminal process “C:\w

  • vsCode设置Bash启动 最新版本1.60默认终端配置修改2021-09-05 16:04:31

    VsCode最新版本1.60更新,修改了默认终端配置 VsCode设置Bash启动 这次更新修改了 "terminal.integrated.shell.windows"  => "terminal.integrated.profiles.windows" 原本的终端配置将会失效 最新终端配置为: 修改 settings.json 文件 {// 终端路径配置 "terminal.integrated.pr

  • pwsh7 在windows terminal 里按F7展开搜索历史记录2021-09-04 11:33:03

    Install-Module Microsoft.PowerShell.ConsoleGuiTools code $profile 添加一下代码 # 按f7显示历史记录 function ocgv_history { $line = $null $cursor = $null [Microsoft.PowerShell.PSConsoleReadLine]::GetBufferState([ref]$line, [ref]$cursor) $selection = $i

  • QQBot搭建指南2021-08-30 21:33:07

    本文仅供学习,代码已开源至github 0.总述 Mirai是一个基于kotlin,java(mcl)的机器人框架,以其生态系统著名 如果要深入学习Mirai框架,需要了解其生态系统以及运维,这样解决问题也更简单。 Mirai-console的插件,是基于java或者kotlin 官方提供了一个api:mirai-api-http具体的模式如下图所

  • ABB AC 900F学习笔记64:Freelance_Mounting_and_Installation_AC_900F_Controller-242021-08-17 09:03:40

    5.2 Wall mounting 壁挂安装 Wall mounting is an alternative to DIN rail mounting of the AC 900F controller. The description below generally also applies for installation on a mounting panel inside a cabinet. 壁挂安装是AC 900F DIN导轨安装的替代方式。下面的描

  • ABB AC900F学习笔记63:Freelance_Mounting_and_Installation_AC_900F_Controller-232021-08-17 08:33:14

    5.1.2 TU terminal blocks TU终端块 Place the terminal block onto the DIN rail and press it down until it locks in place.Move the terminal block to the left to ensure a solid mechanical and safe electrical connection. Up to ten terminal blocks can be connected

  • vscode import numpy error:DLL load failed: The specific module could not be found2021-08-08 19:03:23

    (type) CTRL + SHIFT + P (search for:) open settings (click:) Preferences: Open Settings (JSON) { ... # any other settings you have already added (remove this line) "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\

  • 设置SecureCRT使用VIM支持鼠标操作2021-08-03 16:36:36

    在session Option设置弹出框的Terminal/Emulation标签页下设置emulation的terminal为Xterm,如果需要颜色配置请勾选ANSI Color和Use color scheme。   在Terminal / Emulation / Advanced标签页下确保Terminal type为disabled。   如果当前已经连接上了远程机器,那么断开连接,

  • Linux 使用crontab命令和shell脚本守护C++程序2021-07-28 19:33:31

    在使用C/C++做服务时,服务进程常常因为各种原因死掉,为此需要将服务是守护起来,保证在服务死掉的时候可以重启 1.编写shell脚本,判断服务是否在运行,如果没有运行脚本自动重启服务。以下是一个脚本示例: #!/bin/bash CheckProcess() { #$PROCESS_NUM获取指定进程名的数目,为1返回0,表

  • 技术干货 |看我如何来解Web Terminal假性输入框2021-07-27 14:35:32

    编者按 写在前面的话 在介绍本篇文章的时候,先说一下本篇文章的一些背景。笔者是基于公司的基础建设哆啦 A 梦(Doraemon) (https://github.com/DTStack/doraemon)一些功能背景写的这篇文章。不了解或者有兴趣的同学可以去袋鼠云(https://github.com/DTStack) 的 github 下面了解一下

  • 在Makefile中source脚本2021-07-27 00:02:43

    在Makefile中source脚本 在做项目时,通常会用到Makefile,并且很多脚本数可以重复使用。因此,若在Makefile中source已有的脚本,则方便很多。 然而直接在Makefile中使用source XX.sh,则terminal显示“make : source:command not found”。一脸懵逼呀!在terminal中输入source xx.sh,正

  • pytorch打不开tensorboard的解决方法,解决报错 No dashboards are active for the current data set.2021-07-24 14:30:57

    第一次用tensorboard查看数据发现打开网站没有数据。 命令:tensorboard --logdir=logs 报错: 网上有很多解决方法,有的说把命令中的等号去掉,有的说 logs 要加双引号,有的说要用绝对路径,甚至还有说要装 tensorflow 才能打开。众所周知 pytorch1.1.0 版本之后的 pytorch 已经可以

  • 删除Mac终端的远程连接的历史记录2021-07-21 12:03:07

    ![image.png](https://img-blog.csdnimg.cn/img_convert/c542a4756f1456ae4682a971c7914f80.png#clientId=ub90c716f-92db-4&from=paste&height=428&id=u568eab54&margin=[object Object]&name=image.png&originHeight=856&originWidth=844&o

  • [2021 Spring] CS61B 学习笔记 Lab 1 Setup: Setting Up Your Computer2021-07-17 17:31:59

    Lab 1 Setup: https://sp21.datastructur.es/materials/lab/lab1setup/lab1setup 目录A. Installing a Text Editor (optional)B. Configure Your ComputerC. Learn to Use the Terminal (Optional)D. Test Run for your Setup from Step BE. Install IntelliJF. Installing the

  • testNG项目通过idea Terminal命令行执行2021-07-14 15:34:29

    背景: 本地编写的很多testNG测试用例,可能需要对接其他人员,运用其他形式执行,例如将测试用例达成jar包,由运维执行,需要提供执行命令,提供前需要本地先验证是否可执行通过。   一、maven配置 1.官网下载maven(https://maven.apache.org/download.cgi),下载最新版本,解压到制定文件夹:    

  • Mac cannot open terminal Fail to start...2021-07-10 20:30:48

             最近换了mac,是新芯片m1的那款,在使用过程中出现了几个坑,写篇文章记录一下。         由于正式版本的到现在为止还没有更新m1版本的AndriodStudio,所以我一直用的都是开发的预览版本进行日常的开发。         https://developer.android.google

  • 屏幕选择了旋转就黑屏 ArchLinux KDE桌面探路2021-07-08 16:54:54

    ArchLinux KDE桌面探路 花了一天倒腾ArchLinux也不知道为啥 反正整的挺累最后也没咋弄好了 手比较欠儿 屏幕选择了旋转就黑屏了,,重启也无效 解决办法:打开中端  在黑屏下 ctrl+alt+t 打开terminal 输入 在黑屏下 ctrl+alt+t 打开terminal

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

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

ICode9版权所有