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...
笔记
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...
iis10 启用php实时输出
在一个比较费时的操作中,想把操作记录在浏览器上实时显示出来,用到了flush(),把缓冲中的内容发送到浏览器。但在iis里面用fastcgi模式配置的php怎么都实现不了,结果总是一起显示出来。 <?php function fl...
windows上安装onlyoffice
首先下载onlyoffice documentserver的windows程序安装包,第一次安装后无法正常运行 1.安装其他依赖redis,erlang,rabbitmq 启用rabbitmq的web管理插件,进入rabbitmq安装目录/sbin rabbitmq-plugins.bat e...
js import
说明文档:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/import dynamic-import polyfill:https://github.com/uupaa/dynamic-import-polyfill
android studio环境配置
1.修改 .android 目录 添加 ANDROID_SDK_HOME 环境变量。 2.修改.AndroidStudio 目录 在andoid studio安装目录/bin/idea.properties中修改 idea.config.path=F:/.AndroidStudio/system idea.system.path=F...
vscode便携式模式
Visual Studio Code支持便携式模式。此模式允许由VS Code创建和维护的所有数据都可以跨环境移动。 此模式还提供了一种为VS扩展设置安装文件夹位置的方法,这对于阻止在Windows AppData文件夹中安装扩展的企业...
macOS 系统安装方法/系统重装
因为OS X EI Capitan 后磁盘工具界面变化比较大,所以以下教程只适用于Mac OS X 10.11或以上系统,若是10.10.5或以下的安装方法请参考这里 https://www.applex.net/threads/55708/ MacOS...