Skip to content

Instantly share code, notes, and snippets.

@macrotea
macrotea / Chrome插件推荐.md
Last active February 4, 2017 07:49
Chrome插件推荐
@macrotea
macrotea / Yeoman在yo webapp时出错.txt
Last active August 29, 2015 13:58
Yeoman在yo webapp时出错
.gitconfig 内容如下:
[user]
name = macrotea
email = macrotea@qq.com
[alias]
ci = commit
co = checkout
st = status
@macrotea
macrotea / git-clone-error.md
Last active August 29, 2015 13:58
git-clone不同协议结果不同

#git clone 不同协议结果不同#

D:>git --version

git version 1.8.5.2.msysgit.0

D:>git clone git://github.com/trix/nano.git

Cloning into 'nano'...

@macrotea
macrotea / gitconfig的代理配置.txt
Created April 4, 2014 11:52
gitconfig的代理配置
[http]
proxy = 127.0.0.1:8087
sslCAinfo = D:\\Setup Files\\Network\\wallproxy-v2.1.19\\local\\cert\\CA.crt
sslVerify = false
[https]
proxy = 127.0.0.1:8087
@macrotea
macrotea / ssh
Created April 22, 2014 11:52
ssh -vT git@github.com的显示信息
G:\Bat>ssh -vT git@github.com
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to github.com [192.30.252.130] port 22.
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
debug1: no match: libssh-0.6.0
debug1: Enabling compatibility mode for protocol 2.0
@macrotea
macrotea / 实践bower的相关操作命令.txt
Last active August 29, 2015 14:00
实践bower的相关操作命令
在Window下通过CMD命令行实践bower的过程,bower需要依赖nodejs和npm,请正确安装!
D:\>mkdir bower-demo && cd bower-demo
D:\bower-demo>node -v
v0.10.26
D:\bower-demo>npm -v
1.4.3
@macrotea
macrotea / 设置git使用https协议代替git协议
Last active August 29, 2015 14:00
设置git使用https://协议代替git://协议
设置git使用http://协议代替git://协议,保证网络畅行
D:\git config --global url."https://".insteadOf git://
D:\git config --list
core.symlinks=false
core.autocrlf=true
color.diff=auto
color.status=auto
color.branch=auto
@macrotea
macrotea / .bowerrc
Created April 26, 2014 01:31 — forked from facultymatt/.bowerrc
bower基本配置参考
{
"directory": "components"
}
@macrotea
macrotea / 提交本地项目文件到github的操作命令.txt
Created April 26, 2014 02:10
提交本地项目文件到github的操作命令
在github上创建一个库: https://github.com/macrotea/nodejs-bower
进入本地文件夹: ndoejs-bower,然后提交本地文件到远程库的命令如下:
D:\workspace\javascript\nodejs-bower>git init
D:\workspace\javascript\nodejs-bower>git add .
D:\workspace\javascript\nodejs-bower>git commit -m "init"
D:\workspace\javascript\nodejs-bower>git remote add origin https://github.com/macrotea/nodejs-bower
D:\workspace\javascript\nodejs-bower>git push -u origin master
@macrotea
macrotea / sdfsdf.txt
Created April 26, 2014 16:13
dsfsdfds
我爱你中国
sdfsdfsdfsd
sdfsdf
sdfsdfs