自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wifigirl的博客

心无旁骛

  • 博客(9)
  • 资源 (2)
  • 收藏
  • 关注

翻译 [译]别再遵循RxJS最佳实践了!

原文: Don’t follow RxJS Best Practices现在,有越来越多的开发者在学习 RxJS,并遵循最佳实践在使用它,但我们不应该这么做。这些所谓的最佳实践都需要学习新的东西,并在项目中添加额外的代码。此外,使用最佳实践来会增加创建一个良好的代码库且让你的同事高兴的风险!以下是我对于如何对待 Angular 中所谓的 RxJS 最佳实践的建议:不要退订订阅里面接着订阅里面再接着订阅里面还是接着订阅…不要使用纯函数总是手动订阅,不要使用 async在服务中暴露subject

2021-03-06 14:52:38 259

原创 为什么DatePipe在Safari有问题?Invalid Date into a date for pipe ‘DatePipe’

这个问题通常是在第一种情况下遇到的,所以这下懂了嘛=-=

2021-01-22 22:41:25 556

转载 JavaScript Clean-Code

Airbnb JavaScript Style Guide() clean-code-javascript上面两篇文章的整合,建议去看原文,此笔记自留。Array - 数组### 使用...来复制数值// badconst len = items.length;const itemsCopy = [];let i;for (i = 0; i < len; i += 1) { itemsCopy[i] = items[i];}*******************

2020-07-08 16:58:27 759 1

原创 在Ubuntu的Chrome浏览器上添加batarang工具

https://github.com/angular/batarang/releases到github上下载包,解压。 打开Chrome的扩展程序-加载已解压的扩展程序。看控制台的AngularJS页面是否有内容,如果没有的话在命令行打开解压的文件夹,输入下面指令后重新打开页面。npm install angularnpm install npm install node-b...

2019-11-11 11:22:46 166

原创 ubuntu主屏和副屏切换(笔记本和外接屏鼠标左右滑动顺序调换)

缘由:笔记本在左,外接屏在右,想调换顺序为外接屏在左,笔记本在右。 问题:主屏右滑到副屏,当屏幕调换顺序时,应改为副屏右滑到主屏。 解决方法:查看屏幕信息$ xrandr 后面有primary的即为当前主屏我的笔记本名字为LVDS-1,外接屏为VGA-1,因此输入$ xrandr --output VGA-1 --auto --primary$ xrandr --out...

2019-11-07 17:00:21 1711

原创 Grafana从无到有的一个相当粗略的资料总结

大概是一个划重点的作用,很简单的配置就都略过了。官网手册奉上:https://grafana.com/docs/installation/requirements/官网live mode:https://play.grafana.org/创建dashboard首先点击侧边栏+号新建dashboard 点击侧栏设置,进入datasources页面(设置数据传输的URL,连接方式:服...

2019-10-22 14:51:29 3292 1

原创 command 'emmet.expandAbbreviation' not found+扩展宿主意外终止

ubuntu vscode tab补全突然失效,html下无任何补全和提示,两个问题分开搜按解决方法做都没有用...最后...虽然最后也没搞明白是怎么一回事,但是把扩展应用全部禁用一波竟然就好了,差点卸载重装了。然后单个恢复扩展应用,发现是easy sass出了故障,虽然过程是玄学操作不过总之最后恢复了=-=...

2019-02-22 19:25:27 4865 1

原创 使用layer.js弹出一个iframe层(好用的弹出层插件)

layui框架官网http://www.layui.com/layer使用说明http://layer.layui.com/hello.html最近参与的一个客户管理项目里查看用户信息时发现这个效果很好用,需要的效果是点击名字在屏幕中心出现弹窗,且弹窗有最大化按钮,点击后出现全页面。这个效果用layer的iframe层来实现的话迷之方便,使用手册里的调用代码: //弹出...

2018-08-07 10:01:49 10966 1

原创 用LiftEffect.js快速实现楼层点亮的一个案例

LiftEffect.js下载地址:http://www.daimabiji.com/mainmenus/4075.html要求头部卷去时导航栏固定,点击不同导航到达不同楼层,楼层变化时导航栏变化。最终效果大致如下图:HTML使用演示:&lt;div class="ttt"&gt;&lt;div class="shop-left-tt" id="shopnav"&gt; ...

2018-08-03 15:01:04 1322

head_first_c.pdf.part2.rar

Ever wished you could learn C from a book? Head First C provides a complete learning experience for C and structured imperative programming. With a unique method that goes beyond syntax and how-to manuals, this guide not only teaches you the language, it helps you understand how to be a great programmer. You'll learn key areas such as language basics, pointers and pointer arithmetic, and dynamic memory management. Advanced topics include multi-threading and network programming - topics typically covered on a college-level course. This book also features labs: in-depth projects intended to stretch your abilities, test your new skills, and build confidence. Head First C mimics the style of college-level C courses, making it ideal as an accessible textbook for students. We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First C uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

2020-01-06

head_first_c.pdf.part1.rar

Ever wished you could learn C from a book? Head First C provides a complete learning experience for C and structured imperative programming. With a unique method that goes beyond syntax and how-to manuals, this guide not only teaches you the language, it helps you understand how to be a great programmer. You'll learn key areas such as language basics, pointers and pointer arithmetic, and dynamic memory management. Advanced topics include multi-threading and network programming - topics typically covered on a college-level course. This book also features labs: in-depth projects intended to stretch your abilities, test your new skills, and build confidence. Head First C mimics the style of college-level C courses, making it ideal as an accessible textbook for students. We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First C uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

2020-01-06

空空如也

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

TA关注的人

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