摘要: 输入命令:git fsck --lost-found,可以看到好多“dangling commit” 清空他们:git gc --prune=now,完成 参考文献: http://blog.csdn.net/xyznol/article/details/51261692 阅读全文
posted @ 2017-08-14 14:13 娇小优 阅读(537) 评论(0) 推荐(0) 编辑
摘要: 过滤器是用来格式化需要展示给用户的数据。 1. HTML 模板中调用过滤器:{{}} 内通过 | 符号 {{ name | uppercase }} 2. JavaScript 中调用过滤器 app.controller('DemoController', ['$scope', '$filter', 阅读全文
posted @ 2017-07-10 14:33 娇小优 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 基本数据类型:String, Number, Boolean, Undefined, Null 引用类型: object 1. typeof 用来检测给定变量的数据类型,typeof 是一个操作符而不是函数。 'string':这个值是字符串 'number':这个值是数值 'boolean':这个 阅读全文
posted @ 2017-06-26 18:02 娇小优 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 以下介绍一些 git 常用命令: 基本设置 git config --global user.name yourName 设置用户名 git config --global user.email your_email@youremail.com 设置邮箱 $ssh-keygen -t rsa -C 阅读全文
posted @ 2017-06-25 17:58 娇小优 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1. 首先进官方网站下载安装包 Node.js 官方网站:https://nodejs.org/en/ 根据自己的操作系统下载对应的安装包 本帖以node-v4.4.5-x64.msi 版本为例,介绍安装教程。 2. 安装步骤 3. 安装完成以后检查是否安装成功 在cmd 命令行中执行 node - 阅读全文
posted @ 2016-06-11 16:40 娇小优 阅读(971) 评论(0) 推荐(0) 编辑