2017年8月21日

solus 系统 - 安装 mariadb

摘要: # 安装 mariadb(这个系统没有 mysql 库) # 初始化数据文件地址 # 初始化后, 控制台输出以下结果: # 如上所示,使用 mysqld_safe 启动 mysql-server (实际上官网提供了3种启动服务器的方法,通常建议下面使用这种方式) # 注意,mysqld_safe 默 阅读全文

posted @ 2017-08-21 14:19 Lemo_wd 阅读(604) 评论(0) 推荐(0) 编辑

2017年8月20日

一些实用的字体

摘要: True-Type 字体: Consolas (ttf-vista-fontsAUR) - Windows 下的编程用字体 Courier New (ttf-ms-fontsAUR) DejaVu Sans Mono (ttf-dejavu) - Unicode Droid Sans Mono (t 阅读全文

posted @ 2017-08-20 22:17 Lemo_wd 阅读(656) 评论(0) 推荐(0) 编辑

solus 系统 - 怎么使用中文输入法?

摘要: 系统默认使用 ibus 输入法框架. 可以安装 ibus-libpinyin 安装好之后需要初始化 ibus-setup 为各种程序添加不同的启动参数 在里面添加以下内容 此时,可以使用 ibus 命令行 使用刚才添加的 engine 解决不显示中文托盘 右键>设置>区域和语言 点击 + 号,添加汉 阅读全文

posted @ 2017-08-20 12:40 Lemo_wd 阅读(3040) 评论(0) 推荐(0) 编辑

2017年8月19日

solus 系统 - 编译安裝 ibus-rime 中文输入法(附:小鹤双拼双形配置文件)

摘要: 編譯方法參見官網 - https://github.com/rime/home/wiki/RimeWithIBus 安装依赖:列出几个可能用到的命令 准备编译:下载 3个包 下载好后解压,开始编译(大概需要七八分钟) 如果报错,则检查是否相关依赖没有安装(考虑编译安装或者使用 eopkg安装) 安装 阅读全文

posted @ 2017-08-19 21:55 Lemo_wd 阅读(1318) 评论(0) 推荐(0) 编辑

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 阅读(334) 评论(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 阅读(183) 评论(0) 推荐(0) 编辑

2017年8月15日

callback 模式

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

posted @ 2017-08-15 20:57 Lemo_wd 阅读(214) 评论(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 阅读(423) 评论(0) 推荐(0) 编辑

2017年8月11日

react-snippets

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

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

webpack 配置

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

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

导航