We sometimes just want to return a couple of elements next to one another from a React functional component, without adding a wrapper component which ...
分类:
其他好文 时间:
2019-01-13 19:13:18
阅读次数:
173
The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote fr ...
分类:
其他好文 时间:
2019-01-13 19:10:58
阅读次数:
189
前言:无。 一、添加ui文件 helloworld->右键->添加新文件->Qt->Qt Designer Form->Dialog without Buttons->名字helloworld_ui 添加label标签并更改属性: 二、修改main文件 点击左下角锤子按钮构建工程。 -END- ...
分类:
其他好文 时间:
2019-01-12 20:54:57
阅读次数:
252
孤荷凌寒自学python第六十五天学习mongoDB的基本操作并进行简单封装4 (完整学习过程屏幕记录视频地址在文末) 今天是学习mongoDB数据库的第十一天。 今天继续学习mongoDB的简单操作,并继续对一些可能反复经常使用的操作进行简单的封装。 今天成功了解并实测完成了向mongoDB数据库 ...
分类:
数据库 时间:
2019-01-11 22:19:07
阅读次数:
229
一安装相关软件包[root@DB01~]#yum-yinstallncureses-devellibaio-devel[root@DB01tools]#yuminstallcmake–y创建mysql运行用户[root@DB01tools]#useradd-s/sbin/nologin-Mmysql下载软件包[root@DB01tools]#wgethttps://downloads.mysql.
分类:
数据库 时间:
2019-01-10 16:32:23
阅读次数:
191
1. 以root用户登录shell终端,执行vim /etc/sudoers命令,找到如下图所示位置: ## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL 2. 在下方添加一行类似的数据,例如用户名称为centos,则添 ...
分类:
系统相关 时间:
2019-01-10 15:44:40
阅读次数:
304
class Solution { public int lengthOfLongestSubstring(String s) { int res = 0; int left = 0, right = 0; int counter = 0; Map map = new HashMap(); while ...
分类:
其他好文 时间:
2019-01-10 13:20:19
阅读次数:
115
1.安装ssh 更新源列表 打开"终端窗口",输入" sudo apt-get update "-->回车-->"输入当前登录用户的管理员密码"-->回车。 安装ssh 打开"终端窗口",输入" sudo apt-get install openssh-server "-->回车-->输入"y"-- ...
分类:
系统相关 时间:
2019-01-08 15:39:57
阅读次数:
150
最近看到一个使用js来操作sqlite数据库的,测试了一下,具体使用的是 js操作类: https://github.com/kripken/sql.js/(sqlite js 驱动) 异步请求:http://npm.taobao.org/package/axios(异步请求插件,只有12.6k) ...
分类:
数据库 时间:
2019-01-08 00:59:07
阅读次数:
224
E.Easy Problem Description: Zghh likes number, but he doesn't like writing problem description. So he will just give you a problem instead of telling ...
分类:
其他好文 时间:
2019-01-06 20:07:23
阅读次数:
219