nvm for windows的安装及配置

在https://github.com/coreybutler/nvm/releases下载nvm-noinstall.zip.解压到d:/npm,编辑其中的install.cmd,设置NVM_PATH和NVM_SYMLINK 保存后右键以管理员运行,需要把d:/settings.txt移动到d:/npm下,确认s...

PHP7编译安装zlib.so

先运行php-i 查看extension,php.ini目录 进入php7的源码目录,进入ext/zlib 将config0.m4修改为config.m4 运行: phpize ./configure --with-php-config=/usr/local/bin/php-config make cp...

git clone early EOF error 的解决方式

1.在我遇到的这个错误的原因应该是文件太大,解决方式为git添加 compression 配置项 解决办法:git config --global core.compression -1 compression 是压缩的意思,从 clone 的终端输出就知道,服务器会压...

git clone指定文件和目录

mkdir <repo> cd <repo> git init git remote add -f origin <url> git sparse-checkout init # same as: git config core.sparseCheckout true git sparse-checkout set "A/B" # s...

使用opencv进行ocr中文识别

git clone https://github.com/chineseocr/darknet-ocr,模型文件下载地址 http://www.chineseocr.com:9990/static/models/darknet-ocr/ conda create -n darknetocr python=3.6 conda activate darknetocr ...

Debian常用命令

sudo apt-get update sudo apt-get install wget cat /etc/debian_version cat /etc/apt/sources.list cp /etc/apt/sources.list /mnt/f/sources.list mv 源文件 目标文件 sudo apt-get install buil...

Debian 镜像使用帮助

Debian 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。 如果遇到无法拉取 https 源的情况,请先使用 http 源并安装: $ s...

Anaconda 镜像使用帮助

Anaconda 是一个用于科学计算的 Python 发行版,支持 Linux, Mac, Windows, 包含了众多流行的科学计算、数据分析的 Python 包。 Anaconda 安装包可以到 https://mirrors.tuna.tsinghua.edu.cn/anaconda/archiv...

OpenCV OCR and text recognition with Tesseract

In this tutorial, you will learn how to apply OpenCV OCR (Optical Character Recognition). We will perform both (1) text detection and (2) text recognition using OpenCV, Python, and Tesseract. A ...

nginx编译http_image_filter_module加入crop定位

先得到原有的nginx信息 nginx -V 下载nginx并解压 wget http://nginx.org/download/nginx-1.10.3.tar.gz tar -zxvf nginx-1.10.3.tar.gz   编辑覆盖src/http/modules/ngx_http_image_filter_module....