- 博客(28)
- 资源 (7)
- 收藏
- 关注
原创 tmux使用技巧
TMUX安装tmux:sudo apt install tmux新建一个会话:tmux new -s 关闭一个会话:tmux kill-sesssion -t 恢复某个会话:tmux attach -t 查看有哪些byobu会话:tmux ls常用快捷键Ctrl+b 再輸入 c 建立新 window 視窗(create)。Ctrl+b 再輸入 w 以視覺化選單切換 window 視窗(很好用)。Ctrl+b 再輸入 n 切換至下一個 window 視窗(next)。Ctrl+
2021-07-01 11:35:34 212
原创 shell helper: 在不更改shell前提下优化shell体验
# bashrc , add git branch to terminalPS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[00m\]$(__git_ps1) \$ '
2021-06-22 16:05:30 161
原创 如何从sys.path中永久删除某个路径
问题描述:由于某些安装失误或者其他原因导致sys.path 中添加了不想要的路径原因分析:参考site得知:A path configuration file is a file whose name has the form name.pth and exists in one of the four directories mentioned above; its contents are additional items (one per line) to be added to sys.pa
2021-06-08 10:00:22 5030 3
原创 Byobu 使用技巧
byobubyobu/tmux是screen的增强版, 敲入byobu命令直接创建和恢复会话,其他快捷键可与screen兼容安装byobu:sudo apt install byobu新建一个byobu会话:byobu new -s 恢复某个byobu会话:byobu a -t 查看有哪些byobu会话:byobu ls常用快捷键shortcutusageF2Create a new window 打开一个新的窗口F3Move to the previou
2021-05-30 10:37:32 1734 1
原创 Word 2019 添加 MathType 7.4.2.480 支持
最近写毕设,要用到MathType,奈何换了电脑,Office2019不支持Mathtype6.9,折腾半天装上MathType 7.4,分享给需要的人~~1. 下载安装MathType 7.4.2.480 并安装资源来源 :脑袋瓜子[注:度盘无效请自行搜寻,目前激活码已失效,请自行搜索,估计近期无有效激活码]其他资料来源:自行搜索[笔者已放弃使用Mathtype,改用Latex...
2020-08-27 22:10:55 26446 14
原创 Pycharm Setting
关闭重复代码行提示File–>Settings–>Editor–>Inspections–>General–>Duplicate code fragment
2020-08-10 19:31:29 508
原创 MMDetection Debug Log
Version 2.1.0Error:in file `config.py`at function`_file2dict`PermissionError: [Errno 13] Permission deniedSolution:replace :tempfile.NamedTemporaryFile(dir=temp_config_dir, suffix='.py')withtempfile.NamedTemporaryFile(dir=temp_config_..
2020-06-14 18:09:54 386
原创 MATLAB 数字信号处理
pspectrum(x, fs, ‘spectrogram’);pspectrum(x, fs);pwelch(x);spectrogram(x);App: Signal Analyser
2020-05-11 07:14:44 774
原创 UnicodeEncodeError: python execjs执行js报错
复现问题js = execjs.compile("c = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^x00-x7F]/g;")js.call('c')报错d:\python35\lib\subprocess.py in _stdin_write(self, input) 774 if input: 775 ...
2020-05-02 12:36:33 866 1
原创 Ubuntu折腾记录
Deep-Learning安装NVDIA 驱动、CUDA、 cuDNN第一步,确定合适的版本,参考NVIDIA驱动 - CUDA - cuDNN 关系CUDA安装参考 : https://www.cnblogs.com/dinghongkai/p/11268976.htmlDeepin-wine-ubuntu 安装与卸载为了安装QQ、微信,安装了deepin-wine-ubuntu容器,...
2020-03-20 18:24:27 258
原创 Git 使用记录
Git初始化本地已有项目1.初始化仓库git init2.remotegit remote add origin <仓库地址>3.从远程分支拉取master分支并与本地master分支合并git pull origin master:master4.提交本地分支到远程分支git push -u origin master5.将现有项目添加并提交上传git add -...
2020-03-10 21:24:45 208
原创 各种BUG
Error:THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=383 error=11 : invalid argumentSolution:显卡用的最新的RTX2080Ti,pytorch的安装不能直接pip install ,需要从源码编译或者下载wheel安装.pip install https...
2020-03-01 03:54:22 296
原创 Python记录
临时使用清华源安装packagepip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy
2020-03-01 03:23:37 125
原创 linux screen 命令详解
0.sudo apt-get install screen1. screen -ls2. screen -r id / name3. screen -S name4.screen -X -S [session # you want to kill] quit
2020-02-29 19:08:21 170
原创 mmdetection and mmcv
mmcvmmcv/runner/hooks/logger/text.py _log_info()mmdetectioncoco.pyconfig.pyin some environments, `os.symlink` is not supported, you may need toset `create_symlink` to Falsechec...
2020-01-21 17:40:55 688
原创 Jupyter Notebok/Lab
1.Check & uninstall Jupyter KernelsRun jupyter kernelspec list to get the paths of all your kernels.Then simply uninstall your unwanted-kerneljupyter kernelspec uninstall unwanted-kernel
2019-11-05 09:34:19 209
原创 Python 创建加密压缩文件
Python 创建加密压缩文件1. 配置ZLibhttp://www.winimage.com/zLibDll/minizip.html下载之后将 zlibwapi.dll 放在 demo/目录下,与 minizip.exe 一起使用2. 命令行使用 minizip.exe>minizip.exeMiniZip 1.01b, demo of zLib ...
2019-11-05 00:34:39 4916 1
原创 Windows 下自定义某类型文件图标(例如.h5,.ipynb)
前言定制某些类型文件的图标,可以有效提高文件管理效率,先上效果图1. 生成图标文件下载合适的图片文件,利用软件 Quick_Any2Ico.exe 生成 ico 文件2. 编辑注册表Win+R --> regedit新建Key Computer\HKEY_CLASSES_ROOT\.ipynb,编辑其默认值(Default)的data,如下,注意这里的data与后续步骤...
2019-10-23 00:51:44 1602 4
原创 Ubuntu 16.04安装Python3.7 & pip3
1. Install Python3.7sudo add-apt-repository ppa:deadsnakes/ppasudo apt-get updatesudo apt-get install python3.72. Change Python3.7 as defaultsudo update-alternatives --install /usr/bin/pyth...
2019-10-13 14:41:08 3483
原创 NVIDIA驱动 - CUDA - cuDNN 关系
NVIDIA驱动当我们使用一台电脑的时候默认的已经安装了NVIDIA的显卡驱动,因为没有显卡驱动根本用不了显卡嘛,但是这个时候我们是没有CUDA可以用的,我们可以更新我们的驱动,更新链接为:https://www.nvidia.cn/Download/index.aspx?lang=cnCUDACUDA是NVIDIA推出的用于自家GPU的并行计算框架,也就是说CUDA只能...
2019-10-12 14:00:30 433
原创 Qt 文件读写相关
参考文档QFileInfo:The QFileInfo class provides system-independent file information.QFile:The QFile class provides an interface for reading from and writing to files.笔记内容Tips : "./data/*" //De...
2019-09-25 18:57:56 76
原创 【两步】快速将Qt Designer设计的*.ui文件转成 ui_*.h文件
网上流传的uic的做法,然而麻烦,不如直接保存快捷。第一步:建立 *.ui第二步:生成代码并保存为 ui_*.h
2019-04-25 17:24:36 2093
原创 Python批量自定义文件夹图标
为了使用方便,很多文件夹存放了很多照片,通过文件名很难记住相关文件夹内容,因此利用python批量修改文件夹图标为该文件夹内第一张照片,方便记忆和管理。处理前:处理后:前期准备:python运行环境及基本语法,安装第三方库 下载Quick_Any2Ico【下载链接】并与脚本放在同一目录代码主要分为三块:对目录进行遍历,获取子文件夹下的图片文件并生成图标文件 .ico...
2019-03-30 17:06:48 2336 1
原创 Qt实现基于markdown-it的Markdown编辑器
最近在做一个应用,需要简单的markdown编辑功能,主要是因为不希望应用程序太大,没有使用QWebview实现,转而使用自定义的QTextBrowser和QPlainTextEdit来实现,整个release版本也就20Mb以内,主要是一些Qt的dll,感觉效果还不错。如果可以的话,后期开源到Github,欢迎大家参考和讨论~...
2018-12-20 18:51:55 2965 4
原创 注册表Regedit实现目录下右键直接打开jupyter
日常写Python时常需要Jupyter,巨懒无比的我为了方便快捷,直接在文件夹下右键,菜单项里直接Jupyter here,超级爽!右键效果:点击效果:现在介绍如何实现:1.打开注册表 / Win+R regedit进入目录:计算机\HKEY_CLASSES_ROOT\Directory\Background\shell新建项jupyter,新建两个字符串值,分别修改为显示...
2018-12-16 09:12:21 590
原创 注册表Regedit实现右键管理员权限运行notepad++打开文件
由于日常需要,有时会编辑host文件,切换到管理员权限再编辑有点麻烦,干脆将“管理员权限打开”添加到右键菜单里。可以实现右键点击文件时,右键菜单里显示”Notepad++打开该文件(管理员权限)&amp;quot;下面介绍如何实现1.创建Elevate.jsvar command = WScript.Arguments.Item(0);var argument = &amp;quot;&amp;quot;;//~ WScript.E...
2018-12-16 08:55:30 5717 6
转载 ADB常用命令
简介ADB : Android Debug Bridge,我们一般简称为adb,主要存放在sdk安装目录下的platform-tools文件夹中,它是一个非常强大的命令行工具,通过这个工具你能够与你的android设备进行交互。本文主要内容:基础脚本APK相关系统相关文件操作相关自动化测试日志相关基础脚本:1.启动adb服务adb start-server2.终止adb...
2018-11-20 21:10:46 295 2
minizip.rar
2019-11-05
2018 MICCAI Part 4.pdf
2019-09-27
2018 MICCAI Part 3.pdf
2019-09-27
2018 MICCAI Part 2.pdf
2019-09-27
2018 MICCAI Part 1.pdf
2019-09-27
Quick_Any2Ico
2019-03-30
keras2.0中文文档
2019-01-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人