转载 - Ricky - CSDN博客

Git常用命令

新建Repository

1
2
3
$ git init
$ git init [project-name]
$ git clone [url]

例如:
1、创建本地Repository

1
2
3
$ mkdir pro-git
$ cd pro-git
$ git init

2、clone 远程Repository

1
$ git clone git@github.com:FBing/design-patterns.git
阅读全文 »

常用 cmd 命令

1
2
3
4
5
6
7
8
9
1. 进入 cmd 命令窗口:快捷键 Win+R,输入 “cmd” ,点击“运行”即可。
2. cd.. # 返回上一级文件夹
3. cd [文件夹名] # 进入下一级文件夹
4. d: # 进入另一个磁盘(如:D盘)根目录
5. cd [文件夹路径] # 进入任一文件夹
6. dir # 查看当前路径文件夹内容
7. mkdir [文件夹名] # 创建文件夹
8. start D:\Github\Hugo\bin\hugo.exe # 如何在cmd中打开D:\Github\Hugo\bin\hugo.exe
9. cls 或者 clear # cmd清屏

在 sublime 编辑器中运行 cmd

这里需要用到SublimeREPL插件.

  1. 给sublime text2/3安装SublimeREPL插件;
  2. 重启sublime text2/3;
  3. 按组合键 Ctrl+Shift+P, 然后输入sublimerepl:shell,选中它单击即可调出cmd命令。

查看分支

查看本地分支

使用 git branch命令,如下:

1
2
$ git branch
* master

*标识的是你当前所在的分支。

查看远程分支

命令如下:

1
git branch -r

查看所有分支

命令如下:

1
git branch -a
阅读全文 »

转载 - 蓝色梦想

Grunt基于Node.js,其中 npm 是 Node.js 的包管理器,而Grunt和Grunt插件就通过 npm 安装并管理。

Grunt 0.4.x 必须配合Node.js >= 0.8.0版本使用。

安装Node.js:
Node.js官网,点击INSTALL下载并安装,现在的Node.js会自动安装npm。

安装完成之后,打开命令行,进行后续的操作(开始->输入CMD 或 开始->所有程序 ->命令提示符)。

进入Node.js的安装目录(默认路径为"C:Program Filesnodejs"):
cd pronod

可以通过以下2个命令,查看 node.js 和 npm 的版本号:
node -v
npm -v

阅读全文 »

转载 - 蓝色梦想

注意文末的更新

苦B的前端每次在制作和修改页面时,都有一个特定的三部曲:coding-save-F5。很多时候都希望自己一改东西,页面就能立刻显示,而现在LiveReload就能做到这点。

LiveReload会监控你指定的目录中文件,如果有文件被更改,它就自动触发浏览器刷新页面。但如果你修改的是CSS或者图片,页面内容会即时更新,无需重新加载。这样我们不用每次修改文件后,都要去按下F5刷新页面,而是直接就能显示,有点类似所见即所得的编辑模式,特别适合使用双屏coding的人。另外同时结合Sublime text和Emmet LiveStyle,能提高不少开发效率。

阅读全文 »

To return to top, tap on any heading

Introduction

Epsilon Notes is a program for writing formatted texts, so your texts look nice and professional. It uses a marking method called “Commonmark”, which takes only a few minutes to learn. You can read about Commonmark after the description of the functions of Epsilon Notes.

Download Epsilon Notes from Google Play only to have the latest version.

The current help is not complete due to recent updates. Read more in Menu → Help → What’s new.


阅读全文 »