-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 16.8 KB
/
index.html
1
<!-- build time:Sat Mar 26 2022 19:45:55 GMT+0800 (China Standard Time) --><!DOCTYPE html><html lang="zh-Hans"><head><meta name="generator" content="Hexo 3.8.0"><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta name="description" content="A blog of chengww,chengww 的个人博客"><meta name="keywords" content="chengww,chengww5217,personal blog"><meta name="author" content="chengww,[email protected]"><meta name="copyright" content="chengww"><title>Time to ride off into the sunset | chengww's blog</title><link rel="shortcut icon" href="//js-cdn.pek3b.qingstor.com/my-favicon.ico"><link rel="stylesheet" href="//js-cdn.pek3b.qingstor.com/css/index.css?version=1.6.1"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/font-awesome.min.css?version=1.6.1"><link rel="dns-prefetch" href="https://cdn.staticfile.org"><link rel="dns-prefetch" href="https://cdn.bootcss.com"><link rel="dns-prefetch" href="https://creativecommons.org"><link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.css"><script src="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/js/md5.min.js"></script><script>var GLOBAL_CONFIG={root:"/",algolia:void 0,localSearch:{path:"search.xml",languages:{hits_empty:"找不到您查询的内容:${query}"}},copy:{success:"复制成功",error:"复制错误",noSupport:"浏览器不支持"}}</script></head><body><i class="fa fa-arrow-right" id="toggle-sidebar" aria-hidden="true"></i><div id="sidebar"><div class="author-info"><div class="author-info__avatar text-center"><img src="//img-cdn.pek3b.qingstor.com/sayuri.jpg"></div><div class="author-info__name text-center">chengww</div><div class="author-info__description text-center">A blog of chengww,chengww 的个人博客</div><div class="follow-button"><a href="https://github.com/chengww5217">Follow Me</a></div><hr><div class="author-info-articles"><a class="author-info-articles__archives article-meta" href="/archives"><span class="pull-left">文章</span><span class="pull-right">17</span></a><a class="author-info-articles__tags article-meta" href="/tags"><span class="pull-left">标签</span><span class="pull-right">38</span></a><a class="author-info-articles__categories article-meta" href="/categories"><span class="pull-left">分类</span><span class="pull-right">9</span></a></div></div></div><nav class="//img-cdn.pek3b.qingstor.com/top-img.jpg" id="nav" style="background-image:url(//img-cdn.pek3b.qingstor.com/top-img.jpg)"><div id="page-header"><span class="pull-left"><a id="site-name" href="/">chengww's blog</a></span><i class="fa fa-bars toggle-menu pull-right" aria-hidden="true"></i><span class="pull-right menus"><a class="site-page icon-social search"><i class="fa fa-search"></i><span> 搜索</span></a><a class="site-page" href="/">主页</a><a class="site-page" href="/archives">归档</a><a class="site-page" href="/tags">标签</a><a class="site-page" href="/categories">分类</a></span></div><div id="site-info"><div id="site-title">chengww's blog</div><div id="site-sub-title">Time to ride off into the sunset</div><div id="site-icon-socials"><a class="icon-social" href="https://github.com/chengww5217" target="_blank"><i class="fa fa-github"></i></a><a class="icon-social" href="https://www.jianshu.com/u/ef37b908d97d" target="_blank"><i class="fa fa-book"></i></a><a class="icon-social" href="https://weibo.com/chengww5217" target="_blank"><i class="fa fa-weibo"></i></a><a class="icon-social" href="https://music.163.com/#/user/home?id=313023124" target="_blank"><i class="fa fa-music"></i></a><a class="icon-social" href="mailto:[email protected]" target="_blank"><i class="fa fa-envelope"></i></a><a class="icon-social search"><i class="fa fa-search"></i></a></div></div></nav><div id="content-outer"><div class="layout" id="content-inner"><div class="recent-post-item article-container"><a class="article-title" href="/archives/miot-extension-development-trial.html">米家拓展程序开发试用</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2022-03-26</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/React-Native/">React Native</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/React-Native/">React Native</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/miot/">miot</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/mi/">mi</a></span><div class="content"><blockquote><p>米家扩展程序是米家 APP 中用于查看硬件产品实时信息和控制硬件产品的子程序。</p><p>小米 IoT 平台基于 <a href="https://facebook.github.io/react-native/" target="_blank" rel="noopener">React Native</a> 框架 (简称 RN 框架)。</p><p>平台提供了使用 JavaScript 语言开发成的扩展程序框架 SDK(地址: <a href="https://github.com/MiEcosystem/miot-plugin-sdk" target="_blank" rel="noopener">miot-plugin-sdk</a> ,下文简称 SDK)。<br>这个 SDK 是一个本地 npm 包。<br>开发者可以根据产品实际的功能,通过调用 SDK 中的模块(JavaScript 接口集合),开发维护硬件产品的扩展程序。</p></blockquote></div><a class="more" href="/archives/miot-extension-development-trial.html#more">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/archives/fun-let-with-run-apply-also-in-kotlin.html">Kotlin 中的 let, with, run, apply, also 等函数的使用</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2020-06-17</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Kotlin/">Kotlin</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Kotlin/">Kotlin</a></span><div class="content"><h3 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h3><p>和严格古老的 Java 相比,Kotlin 中额外提供了不少高级语法特性。<br>这些高级特性中,定义于 Kotlin 的 <a href="https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/util/Standard.kt" target="_blank" rel="noopener">Standard.kt</a><br>为我们提供了一些内置拓展函数以方便我们写出更优雅的代码。</p><p>相比大多数人都用过 let 函数来做过 Null Check,和 let 函数一样,with, run, apply, also 都可以提供非常强大的功能用以优化代码。</p></div><a class="more" href="/archives/fun-let-with-run-apply-also-in-kotlin.html#more">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/archives/css-cube.html">CSS 实现 3D 旋转立方体</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2020-04-29</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Web-Front-End/">Web-Front-End</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/HTML/">HTML</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/CSS/">CSS</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/动画/">动画</a></span><div class="content"><p>最近对 CSS3 的一些新特性比较感兴趣,经常可以碰到自己没见过的 CSS 特性。今天就利用 CSS 的 Z 轴旋转和位移来做一个 3D 可视化立方体。</p><p>预览页面:</p><p><a href="https://demo.chengww.com/css-cube/" target="_blank">https://demo.chengww.com/css-cube/</a><br>预览视频:</p><center><video webkit-playsinline="true" src="https://img-cdn.pek3b.qingstor.com/cube/css-cube.mp4" controls style="width:70%"></video></center><p>源代码:<br><a href="https://github.com/chengww5217/css-cube" target="_blank">https://github.com/chengww5217/css-cube</a></p></div><a class="more" href="/archives/css-cube.html#more">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/archives/woniuxingji.html">蜗牛星际 - 高性价比 nas,矿渣折腾之路</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2019-08-29</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/科技随笔/">科技随笔</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/蜗牛星际/">蜗牛星际</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/nas/">nas</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/HTPC/">HTPC</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/捡垃圾/">捡垃圾</a></span><div class="content"><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>之前回家的时候帮老娘下载韩剧的时候就听家里人抱怨不会下载电视剧。<br>虽说开个视频 APP 的 VIP 也凑合,但是我老娘就喜欢看韩剧,这玩意因为众所周知的原因都不引进了。<br>那么只有去论坛找字幕组下载了。教会我老娘这样的中年人去论坛用 bt 软件下载似乎非常有难度。<br>在那时我就萌生了一个自己搞一台 nas 放家里,然后远程帮忙下剧的心思。</p><p><img src="https://pek3b.qingstor.com/img-cdn/blog/synosogy-DS620slim.png" alt="synosogy-DS620slim"></p></div><a class="more" href="/archives/woniuxingji.html#more">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/archives/write-your-second-flutter-app.html">一周时间编写你的第二个 Flutter APP</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2019-04-18</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Flutter/">Flutter</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Flutter/">Flutter</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/dart/">dart</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Flutter-APP/">Flutter APP</a></span><div class="content"><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>Flutter 从发布之日起我就对其心心念念了好久。<br>奈何这段时间实在是太忙了,加之自己拖延症时不时发作下,一直都抽不出时间来学习这个跨平台框架。</p><p>一转眼 Flutter 1.2 都已经发布了,这下实在是坐不住了。特地花了一周的时间来做了 <a href="https://github.com/chengww5217/one_article" target="_blank" rel="noopener">一文</a> 这个 APP 。以此来简单了解下这款全新跨平台框架的魅力。</p><p><img src="https://img-cdn.pek3b.qingstor.com/write-your-second-flutter-app/one_article.png" alt="one article"></p></div><a class="more" href="/archives/write-your-second-flutter-app.html#more">阅读更多</a><hr></div><div class="recent-post-item article-container"><a class="article-title" href="/archives/problems-in-central-maven.html">发布构件到 Maven 中央仓库遇到的坑</a><time class="post-meta__date"><i class="fa fa-calendar" aria-hidden="true"></i> 2019-04-12</time><span class="article-meta"><span class="article-meta__separator">|</span><i class="fa fa-inbox article-meta__icon" aria-hidden="true"></i><a class="article-meta__categories" href="/categories/Java/">Java</a></span><span class="article-meta tags"><span class="article-meta__separator">|</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Maven-中央仓库/">Maven 中央仓库</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Maven/">Maven</a><span class="article-meta__link">-</span><i class="fa fa-tag article-meta__icon" aria-hidden="true"></i><a class="article-meta__tags" href="/tags/Sonatype/">Sonatype</a></span><div class="content"><p>作为 Java 开发者(伪),工作中一定离不开 Maven。<br>偶尔也需要发布自己的构件到 Maven 中央仓库中(<a href="https://oss.sonatype.org/" target="_blank" rel="noopener">https://oss.sonatype.org/</a>)。<br>但是经常有这样那样的坑(因为总是换电脑 XD),在这里记录一下,以备后续查阅。</p><p><img src="https://img-cdn.pek3b.qingstor.com/problems-in-central-maven/maven-logo.jpg" alt="Maven Logo"></p></div><a class="more" href="/archives/problems-in-central-maven.html#more">阅读更多</a><hr></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-chevron-right"></i></a></div></nav></div></div><footer class="footer-bg" style="background-image:url(//img-cdn.pek3b.qingstor.com/top-img.jpg)"><div class="layout" id="footer"><div class="copyright">©2018 - 2022 ❤ chengww</div><div class="footer_custom_text">Click me, kiss me, love me</div></div></footer><i class="fa fa-arrow-up" id="go-up" aria-hidden="true"></i><script src="//js-cdn.pek3b.qingstor.com/theme-melody/anime.min.js"></script><script src="//js-cdn.pek3b.qingstor.com/jquery/3.2.1/jquery.min.js"></script><script src="//js-cdn.pek3b.qingstor.com/theme-melody/jquery.fancybox.min.js"></script><script src="//js-cdn.pek3b.qingstor.com/theme-melody/velocity.min.js"></script><script src="//js-cdn.pek3b.qingstor.com/theme-melody/velocity.ui.min.js"></script><script src="//js-cdn.pek3b.qingstor.com/js/utils.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/fancybox.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/sidebar.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/copy.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/fireworks.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/transition.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/scroll.js?version=1.6.1"></script><script src="//js-cdn.pek3b.qingstor.com/js/head.js?version=1.6.1"></script><script src="/js/search/local-search.js"></script><script>/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)&&($("#nav").addClass("is-mobile"),$("footer").addClass("is-mobile"))</script><div class="search-dialog" id="local-search"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章"></div></div></div><hr><div id="local-search-results"><div id="local-hits"></div><div id="local-stats"><div class="local-search-stats__hr" id="hr"><span>由</span> <a href="https://github.com/wzpan/hexo-generator-search" style="color:#49B1F5">hexo-generator-search</a> <span>提供支持</span></div></div></div><span class="search-close-button"><i class="fa fa-times"></i></span></div><div class="search-mask"></div></body></html><script src="//js-cdn.pek3b.qingstor.com/clicklove/clicklove.js"></script><!-- rebuild by neat -->