前言首先,祝大家国庆节快乐!但我想,A股有仓位的朋友应该会双倍快乐,而持有港股或中概股的朋友,估计会是三倍快乐吧!当然,如果不知道我在说什么的,那么我希望未来一段时间最好也不要知道,否则,很可能会沦为韭菜,而能懂的大概已经是老韭菜,被割习惯了,应该早已感觉不到疼痛了吧!
这篇文章将让我们了解如何开始使用 Web Audio API。本文会先简要介绍一些概念,然后研究一个简单的便携式音响示例,这个示例允许我们加载一个音频轨道,播放和暂停它,并改变它的音量和立体声像。Web Audio API 并不能取代 <audio> 媒体元素,而是对其进行补充,就像 <canvas> 与 <img> 元素并存一样。你的用例将决定你使用什么...
由于在开发 一起学笛子 这个网站的时候多处用到了 Web Audio API,因此,最近也阅读了不少的相关资料。奈何可能太小众了,因此,相关博文比较少,哪怕是著名的 MDN 也没有健全的中文文档,为数不多的几篇也是貌似机译的,晦涩难懂,因此,不得不借助翻译工具,阅读英文文档,啃得着实有点头疼。本来想着针对前面的学习和使用心得写几篇笔记的,但考虑到后续还会对 Web Audio API 有更深...
前言前面的文章说过,我在开发 一起学笛子 网站的时候,用的是邮箱验证的方式,这篇文章将详细介绍一下具体的实现过程。实际上,在 一起学笛子 这个网站中,有两处用到了邮箱验证,一个是注册,另一个是重置密码(忘记密码),而且这两个地方的用法是一模一样的,所以,我接下来还是以熟悉的注册场景举例说明。
前言前面我在 typecho如何实现前台登录/注册 一文中详细介绍了一下 前台登录/注册 的实现原理与细节,当时是以登录为例说明的,因为登录比较简单,代码量也比较少,但考虑再三之后,还是决定单独写一篇关于注册的文章,毕竟注册还是要复杂一些,而且还涉及到邮箱验证。不过,这篇文章就不再解释原理了,而是直接贴出核心代码,然后对部分要点做一些简单的解释,方便后续有需要的人可以直接复用。
前言前面我已经写过好几篇关于 Google Adsense 的文章了,虽然收益甚微,但记录的都是亲身探索的过程,可能贵在真实吧,因此,也吸引了很多朋友的关注,其中也包括一些做的比较出色的先行者。他们无一例外,都极为重视项目出海,而我也多次提到过出海的问题,并且也一直在构思出海障碍小的项目,一起学笛子 就是这样一个项目。
前言Typecho是一款很好的博客系统,通过 主题 和 插件 开发几乎可以随心所欲的定制自己的博客网站。但也仅限于博主编辑文章,读者阅读+评论这样的类博客网站,如果希望做更复杂的扩展,就未必能很好的实现了。本文即将介绍的前台登录/注册功能就是一个这样的功能,虽然通过 主题 和 插件 也能实现,但二者必然紧耦合,撇脚不说,插件的通用性也是个问题。
前言前段时间一直在构思并完善 一起学笛子 这个网站,现在总算完成了一个阶段性的最小MVP,于是,就想着写篇文章简单总结一下,顺便分享一下自己后续的推进思路,让大家帮忙参谋参谋,看看可行性如何?如果可行,大家可以参考参考思路,如果不可行,也能引以为戒。毕竟,最近“延迟法定退休年龄”相关的话题热度居高不下,怕是势在必行的了。与其抱怨,不如趁早探索一条脱离苦海的路,直接干到100岁又何妨,比如巴菲...
前言前面一段时间,陆陆续续有一些朋友给我提了一些主题中存在的 BUG 和优化建议,在此表示一下感谢。抛开一些风格改动较大的,或者偏个性化的需求,其它的我都记录下来了,但一直没动手改,这次集中处理了一下。由于攒的时间有点长,改的东西有点多,而且涉及到插件的依赖问题,所以干脆公告一下,顺便也能水一篇文章。
前言其实这段时间以来,我的想法好像一直在变,不过好在并没有一直停留在想的阶段,虽然进度缓慢,但还算是在朝着好的方向在推进,对于创业失败过两次的我来说,我太知道”稳“字的重要性了,也太知道”多思少动“(这可能有点违背常理)的重要性了。1. 最初的想法我之前很多年都是从事的低代码开发相关的工作,这在当时还是个风口,相关的公司着实割了一波韭菜。由于工作的原因,所以我对模板引擎、工作流、编译原理等比...