字符串操作 Because we need to go through the String element by element and check whether a value is a space, we’ll convert our String to an array of bytes ...
分类:
其他好文 时间:
2019-04-12 13:21:25
阅读次数:
173
https://www.ted.com/talks/lera_boroditsky_how_language_shapes_the_way_we_think/transcript 00:12So, I'll be speaking to you using language ... because ...
分类:
其他好文 时间:
2019-04-11 01:38:56
阅读次数:
238
在用 electron builder 打包时,时常会出现 “The process cannot access the file because it is being used by another process.” 这个报错,字面意思是因另外一个进程在使用文件,所以现在不能操作此文件。报错如 ...
分类:
数据库 时间:
2019-04-09 18:37:37
阅读次数:
223
1.cout 是在iostream 中定义的,是ostream的对象 2.类似Java中重写String方法一样,C++中一般重载“<<”运算符,一般为重载为全局函数 Because: 对输出运算符的重载 会出现一个问题,只能写成 因为函数的第一个参数是this指针,第二个参数才是我们传进去的 ou ...
分类:
其他好文 时间:
2019-04-09 00:11:36
阅读次数:
199
前因 因为 Guido 先生讨厌 reduce。(Because Guido hates it. ) 详细过程请翻阅原文:http://www.artima.com/forums/flat.jsp?forum=106&thread=98196 Guido大大原计划把 lambda, reduce 都 ...
分类:
其他好文 时间:
2019-04-01 13:03:32
阅读次数:
180
Because @types/react has to expose all its internal types, there can be a lot of confusion over how to type specific patterns, particularly around hig ...
分类:
其他好文 时间:
2019-03-27 21:02:01
阅读次数:
203
我是采用代理模式的aspectj 代码运行报错如下: 解决方案: 1、需要在 resources 中配置 aop.xml 文件,放置在 META-INF 目录中( resource/META-INF/aop.xml),如没有自行创建 2、aop.xml 文件中的配置非常容易理解,只需要配置 Aspe ...
分类:
编程语言 时间:
2019-03-27 10:46:48
阅读次数:
385
MariaDB简介 MariaDB是mysql数据库的一个分支,操作几乎和mysql一样 MariaDB安装、启动、停止 MariaDB卸载 修改root用户密码 这里总结的很好:点我 碰到的问题 问题一:Job for mariadb.service failed because the cont ...
分类:
数据库 时间:
2019-03-24 09:54:02
阅读次数:
226
使用oracl数据库用 ADD CONSTRAINT PRINF_NAME_UNIQUE UNIQUE (sname) 添加唯一性约束,出现问题,报错为:an alter table validating constraint failed because the table has duplica ...
分类:
其他好文 时间:
2019-03-19 21:35:37
阅读次数:
160
Description ’Why are you always repeating what I say?’ says Applese, a friend of Little Sub. ’Because it is the most important quality of mankind.’ sa ...
分类:
移动开发 时间:
2019-03-18 01:41:36
阅读次数:
164