摘要: 1. git diff HEAD~2 获取最近两次提交的具体不同 包括增删的文件以及行数以及每行具体的改动 2. git diff --stat 获取文件更改的个数 增加行数 删除行数 3. git diff --numstat 表格形式获取增加行数和减少行数 4. 更多可参照 https://bl 阅读全文
posted @ 2019-04-28 17:10 Asen^_^ 阅读(5153) 评论(0) 推荐(0) 编辑
摘要: 1. 下载python 网址: python.org 版本: 2.7 安装包名字: Windows x86-64 MSI installer 一路next. 2. 配置环境变量: path 里面添加python的安装路径 查看python版本: 命令行执行 python 查看python安装路径: 阅读全文
posted @ 2019-04-17 15:12 Asen^_^ 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1. CreateFile() "C:\Users\zhang\Desktop\K\My Project\SSL-数字证书\Nginx配置\nginx-1.12.2/conf/nginx.conf" failed (3: The system cannot find the path specifi 阅读全文
posted @ 2019-04-17 13:51 Asen^_^ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1. Error installing Crashlytics while executing pod install [!] Error installing Crashlytics [!] /usr/bin/curl -f -L -o /var/folders/9s/nd8qhc8j5yz7ql 阅读全文
posted @ 2018-12-19 14:31 Asen^_^ 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 方案1: 使用Cordova插件 cordova-plugin-inappbrowser 1. 添加插件 2. 调用以及参数 url: 如果包含 Unicode 字符, 调用 encodeURI(url); target 包括: _self, url在白名单中 则在cordova webview中打 阅读全文
posted @ 2018-06-05 17:56 Asen^_^ 阅读(3204) 评论(0) 推荐(0) 编辑
摘要: 1. Install 2. 用法 将元素或者component放在 <FastClick>...</FastClick> 中 3. 监测到tap事件后会阻止冒泡 event.stopPropagation() 4. 两个参数 threshold 在px中不能再转换为点击之前,触摸可以移动多远。 默认 阅读全文
posted @ 2018-05-23 18:12 Asen^_^ 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: iOS枚举 我的code 解析 1. typedef 为一种数据类型定义一个新名字 如:typedef char gender; gender a;与char a;语句相同。 2. enum 枚举类型 enum用来定义一系列宏定义常量区别用,相当于一系列的#define xx xx,当然它后面的标识 阅读全文
posted @ 2018-05-22 17:53 Asen^_^ 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1. cordova是什么 Apache Cordova是一个开源的移动开发框架。允许你用标准的web技术-HTML5,CSS3和JavaScript做跨平台开发。 2. 为什么用cordova 基于webView 将 网页嵌入到原生应用中 以实现跨平台。不必在多个平台上分别进行原生应用的开发,将w 阅读全文
posted @ 2018-05-22 17:36 Asen^_^ 阅读(321) 评论(0) 推荐(0) 编辑
摘要: Sass 笔记 1. 安装,依赖Ruby sass依赖Ruby, 所以Windows要先安装Ruby, Mac自带无需安装 2. 两种文件格式 sass scss .sass : 它使用 “缩进” 代替 “花括号” 表示属性属于某个选择器,用 “换行” 代替 “分号” 分隔属性, 容易阅读 书写更快 阅读全文
posted @ 2018-05-22 17:31 Asen^_^ 阅读(204) 评论(0) 推荐(0) 编辑
摘要: git init git add . git commit -m "initial check in" git push origin dev git push origin dev:master git push origin :dev git clone [gitURL] git branch 阅读全文
posted @ 2017-11-29 16:48 Asen^_^ 阅读(75) 评论(0) 推荐(0) 编辑