2017年8月19日

solus 系统 - 安装编译工具

摘要: 将会安装 gcc,make等工具 sudo eopkg install -c system.devel VirtualBox工具 https://solus-project.com/articles/software/virtualbox/en/ 阅读全文

posted @ 2017-08-19 02:47 Lemo_wd 阅读(355) 评论(0) 推荐(0)

solus 系统 - 自定义终端快捷键

摘要: 终端: 命令方式:Alt+F2 输入“gnome-terminal“ 全屏显示 control+alt+F1 (退出 control+alt+F2) 可在`键盘`菜单中添加自定义快捷方式: 其它快捷方式 super + A 显示所有应用 super + V 显示通知 super + H 隐藏窗口 阅读全文

posted @ 2017-08-19 01:41 Lemo_wd 阅读(204) 评论(0) 推荐(0)

2017年8月15日

callback 模式

摘要: 回调,是一种机制,同时也是一种设计模式。 我们定义一个函数,让能够回调 这个函数的作用是需要传递一个 callback 函数作为参数。该 callback 函数具有一个参数 _products,可以对 procucts 进行处理。 那么回调函数本质是什么?简单来讲就是通过封装一个参数为回调函数的函数 阅读全文

posted @ 2017-08-15 20:57 Lemo_wd 阅读(228) 评论(1) 推荐(0)

Redux-example

摘要: Redux-example Examples from http://redux.js.org/docs/introduction/Examples.html Counter Vanilla Run the Counter Vanilla example: index.html <!DOCTYPE 阅读全文

posted @ 2017-08-15 17:01 Lemo_wd 阅读(436) 评论(0) 推荐(0)

2017年8月11日

react-snippets

摘要: rcjc con 方法 sst ssf props react 的生命周期: 阅读全文

posted @ 2017-08-11 19:29 Lemo_wd 阅读(281) 评论(0) 推荐(0)

webpack 配置

摘要: https://segmentfault.com/a/1190000009454172 阅读全文

posted @ 2017-08-11 18:30 Lemo_wd 阅读(128) 评论(0) 推荐(0)

2017年8月9日

windows 上的 neovim 配置

摘要: 可以使用简单的 linux 下 neovim 配置,增加了对 golang, python, ruby 脚本文件一键运行快捷方式。 end 阅读全文

posted @ 2017-08-09 14:26 Lemo_wd 阅读(6323) 评论(0) 推荐(0)

2017年8月6日

高性能滚动 scroll 及页面渲染优化

摘要: http://www.cnblogs.com/coco1s/p/5499469.html 阅读全文

posted @ 2017-08-06 21:49 Lemo_wd 阅读(173) 评论(0) 推荐(0)

2017年8月2日

Jwt 中 token应该存储到哪里?

摘要: 关于 token 的存储问题 JWT: csrf 攻击无法获取第三方的 cookie,而是直接发送请求时候会自动携带 cookie 的机制进行攻击。 xss攻击通过代码注入可以获取 cookie。需要设置转义。 方式一、客户端使用 cookie直接认证,需要设置 cookie为 httpOnly,可 阅读全文

posted @ 2017-08-02 23:27 Lemo_wd 阅读(46023) 评论(0) 推荐(4)

vue 实现聊天框滚动到底

摘要: 在需要出现滚动条的 DOM上添加 v-scroll 属性: 编写自定义指令 scroll 阅读全文

posted @ 2017-08-02 16:19 Lemo_wd 阅读(2036) 评论(1) 推荐(0)

导航