<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[宇宙一隅]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/star_dee</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; star_dee]]></copyright><item><title><![CDATA[hexo+github搭建博客]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/83043255</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/83043255</guid><author>star_dee</author><pubDate>Sat, 13 Oct 2018 22:58:18 +0800</pubDate><description><![CDATA[
title: hexo+github搭建博客
date: 2017-02-01 21:57:12
tags: hexo
hexo+github搭建博客需要我们先安装git，node.js和github的帐号
搭建过程
在github上我们需要创建一个名为username.github.io的仓库，uesrname为我们的github用户名，然后在设置中启用github page
打开命令行工具进...]]></description><category></category></item><item><title><![CDATA[angular/ionic自定义click]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/83017487</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/83017487</guid><author>star_dee</author><pubDate>Thu, 11 Oct 2018 19:26:36 +0800</pubDate><description><![CDATA[项目既要用于PC网页，又要在iPad之类的移动设备上使用。
在iPad上的这种大屏设备上用户的手指点击按钮时，可能会发生一个细微的位移导致不能触发click事件。
会给用户一种不太灵敏的感觉，为解决此问题我自己写一个指令代替click。
贴上代码：
@Directive({
    selector: '[yun-click]'
})

export class YunClickDirective...]]></description><category></category></item><item><title><![CDATA[rxjs处理http请求超时]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/82390574</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/82390574</guid><author>star_dee</author><pubDate>Tue, 04 Sep 2018 21:19:14 +0800</pubDate><description><![CDATA[使用场景

用户进行一个操作请求后台而长时间未响应，我们希望给用户一个信息展示（请求超时，网络不好…）.



RxJS实现

关于RxJS请看这里

我这个功能的实现主要使用 delay，race两个操作符。 
* delay 通过给定的超时或者直到一个给定的时间来延迟源 Observable 的发送。延迟时间(以毫秒为单位的数字)或 Date 对象(发送延迟到这个时间点)。 
* race 返...]]></description><category></category></item><item><title><![CDATA[ng-events类似ionic中Events的angular全局事件]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/82390018</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/82390018</guid><author>star_dee</author><pubDate>Tue, 04 Sep 2018 20:44:29 +0800</pubDate><description><![CDATA[介绍

ng-events 在 Angular 2 以上的版本中使用，类似于 ionic 中的 Events。可以使用 ng-events 注册一个全局事件，然后在需要的时候触发这个事件。



快速开始



npm install ng-events --save

在 Angular 6 以上的版本中使用,修改 angular.json 文件, 在Angular 6以下版本中使用，修改.an...]]></description><category></category></item><item><title><![CDATA[迷宫游戏]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/73927400</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/73927400</guid><author>star_dee</author><pubDate>Thu, 29 Jun 2017 19:21:42 +0800</pubDate><description><![CDATA[github地址 
博客地址 
布置迷宫思路是选择一幅迷宫图片，把整幅图绘制到画布上。当页面加载时，它会取得一张图片，然后把它绘制到画布上。///定义全局变量，保存画布及绘图上下文
var canvas;
var context;
window.onload = function () {
    canvas = document.getElementById('canvas');
    con]]></description><category></category></item><item><title><![CDATA[github上传本地代码失败]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/70176245</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/70176245</guid><author>star_dee</author><pubDate>Fri, 14 Apr 2017 21:36:04 +0800</pubDate><description><![CDATA[问题：使用github的客户端上传本地代码失败了。（忘记截图了） 
就是这个报错   failed to sync this branch 
打开git shell用命令行先 git pull，再git push也不行。原因：因为远程repository和我本地的repository冲突导致的。 解决方法：有如下几种解决方法：1.使用强制push的方法：$ git push -u origin ma]]></description><category></category></item><item><title><![CDATA[欢迎使用优快云-markdown编辑器]]></title><link>https://blog.youkuaiyun.com/star_dee/article/details/70148194</link><guid>https://blog.youkuaiyun.com/star_dee/article/details/70148194</guid><author>star_dee</author><pubDate>Wed, 12 Apr 2017 22:12:39 +0800</pubDate><description><![CDATA[欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来，用它写博客，将会带来全新的体验哦：
Markdown和扩展Markdown简洁的语法
代码块高亮
图片链接和图片上传
LaTex数学公式
UML序列图和流程图
离线写博客
导入导出Markdown文件
丰富的快捷键
快捷键
加粗    Ctrl + B 
斜体    Ctrl + I 
引用    Ctrl]]></description><category></category></item></channel></rss>