替换及重置homebrew默认源 中科大源 替换官方源: // 替换brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git // 替换homebrew-core.git: cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin ht…
替换成清华的镜像: https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git…
homebrew主要分两部分:git repo(位于GitHub)和二进制bottles(位于bintray),这两者在国内访问都不太顺畅.可以替换成国内的镜像,git repo国内镜像就比较多了,可以自行查找,提供二进制镜像的.如国内的源暂时无法访问也可以替换回官方的源. 中科大镜像:https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git 清华镜像:https://mirrors.tuna.tsinghua.edu.cn/help/homebrew…
解决Mac下Sequel Pro 1.1 连接 Homebrew安装Mysql5.7.8的问题 Sequel Pro encountered an unexpected error Sequel Pro 1.1 encountered an unexpected error when connecting to mysql 5.7.8 rc via ssh 在OS X El Capitan环境下用 + homebrew安装 + MySQL 5.7.9: 解决办法,运行下面得命令升级mysql,重…
Homebrew 简介 macOS 缺失的软件包管理器.使用 Homebrew 安装 Apple 没有预装但 你需要的东西.官网有中文说明. 安装与配置 Homebrew 的安装非常简单,将下面这条命令粘贴到终端: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 等待命令执行完毕.其他配置见官网中文说明. 常用命令 brew help 查…
How to Fix a Frozen Mac When Updating macOS By Mike Tee – Posted on Sep 1, 2019 in Mac   While macOS is a very robust operating system, sometimes there can be hiccups when performing system updates. In my case, the progress bar stopped and stayed tha…
安装homebrew: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 卸载homebrew: $ cd `brew --prefix` $ rm -rf Cellar $ brew prune $ rm `git ls-files` $ rm -r Library/Homebrew Library/Aliases Library/For…
Normalize.css:优化重置CSS默认属性 官方网站:http://necolas.github.io/normalize.css/ 项目仓库:https://github.com/necolas/normalize.css/ 下载方法: NPM npm install --save normalize.css Bower bower install --save normalize-css CDN See https://cdnjs.com/libraries/normalize Do…
1. 背景(为什么要替换)安装ubuntu,默认源是(http://extras.ubuntu.com/ubuntu),国内访问很慢...当我们用apt-get安装软件包或者更新时有时很慢,所以才想到用国内镜像的源替换. 2. 如何替换?方法1:从镜像网站下载对应系统版本(14.04 Trusty)的sources.list, 覆盖/etc/apt/sources.list即可(操作前先备份)方法2:从镜像网站copy对应的deb,deb-src条目,放到/etc/apt/sources.lis…
希望重置为原始的默认内容: 在屏幕的右上角单击 控制台按钮 ,然后选择 General Configuration 链接. 在左侧的面板中选择 全局模板和蓝图(Global Templates and Blueprints). 在你希望进行恢复重置的模板前选择 重置为默认(Reset to default). 从你重置后开始,所有新创建的空间将会使用默认的模板内容. https://www.cwiki.us/display/CONFLUENCEWIKI/Customizing+Default+S…