自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 git pull error (no local branch)

Error: $ git pull Password: You asked me to pull without telling me which branch you want to merge with, and 'branch.master.merge' in your configuration file does not tell me, either. Please spe

2016-09-30 15:17:54 264

原创 github remove a repository

1. Open https://github.com/YOUR-USERNAME/YOUR-REPOSITORY/settings 2. Under Danger Zone,     click "Delete this repository." 3. Enter the repository name and delete.

2016-09-30 14:13:32 393

原创 Node.js hello world

1.  Node.js + angularJS on Windows https://github.com/tianxia1221/nodeAngularHelloWorld 2. Node.js + mySQL on Windows         https://github.com/tianxia1221/nodeMysqlHelloWorld

2016-09-23 14:14:35 262

原创 NodeJS基本

1. 安装 (windows) https://nodejs.org/en/download/ check环境变量path是否包含C:\Program Files\nodejs\; 2.hello world helloworld.js: console.log("Hello World"); run :node helloworld.js output:

2016-09-22 14:48:01 243

原创 AngularJs Provider

provider, value, constant, service, factory他们都是provider! eg: $http AngularJs框架提供的provider 1. 为应用提供通用的服务,形式可以是常量或对象 2. 便于模块化 3. 便于单元测试 function provider(name, provider_) { if (isFu

2016-09-21 15:54:48 426

原创 AngularJs Model-View绑定

Dirty Checking      AngularJS内部比较value现在的值和之前的值,如果发生了改变,就触发change事件。 Digest       执行Dirty Checking的机制,由$digest()触发。      是AngularJS的心跳, 50ms跳动一次      PS:任何比50ms还快的变化都是不可被察觉的~ Apply       当dom事件

2016-09-21 15:30:10 736

原创 JQuery基本

通过 jQuery,您可以选取(查询,query) HTML 元素,并对它们执行"操作"(actions)。 基础语法: $(selector).action() 美元符号定义 jQuery 选择符(selector)"查询"和"查找" HTML 元素 jQuery 的 action() 执行对元素的操作 文档就绪事件 $(document).ready(f

2016-09-20 14:26:22 259

原创 Javascript 赋值与比较

1. 基本数据类型 Undefined, Null, Boolean, Number和String 2. 引用数据类型 保存在内存中的对象,通过保存在变量中的地址引用对其操作 基本类型,赋值copy实际的值, 引用类型,copy纸箱Object的地址值

2016-09-20 11:27:45 487

原创 AngularJs 自定义filter

HTML: {{test.password | pwdFormat}} JS: angular.module('test-app').filter("pwdFormat",function(){ return function(value){ if(value){ return value.repla

2016-09-19 16:30:16 378

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除