test 判断字符串是否符合规定的正则 exec 获取匹配的数据 例子: test例子 rep = /\d+/; //只要有数字就返回truerep.test("asdkfasdkf9999")truerep.test("asdkfasdkf")false rep = /^\d+$/; //全部是数 ...
分类:
Web程序 时间:
2018-07-10 20:08:24
阅读次数:
153
同样,使用的是VS FOR LINUX进行测试。 converting to execution character set: Invalid or incomplete multibyte or wide character 如果编译时候遇到该错误,则可以加上-finput-charset -fe ...
分类:
编程语言 时间:
2018-07-10 14:51:51
阅读次数:
373
http://www.wildml.com/2015/12/implementing-a-cnn-for-text-classification-in-tensorflow/ The academic Deep Learning research community has largely stay ...
分类:
其他好文 时间:
2018-07-09 21:35:29
阅读次数:
193
官方文档:https://laravel.com/docs/5.5/migrations 一,生成迁移 php artisan make:migration create_表名(复数)_table 例如新建一个admins表 php artisan make:migration create_adm ...
分类:
其他好文 时间:
2018-07-09 19:09:23
阅读次数:
162
SMB(*nix平台和Win NT4.0又称CIFS)协议是Windows平台标准文件共享协议。Linux平台通过samba来支持。SMB最新版本v3.0,在v2.0基础上针对WAN和分布式有改进。详细内容如下: 透明故障切换: SMB3.0提供故障切换功能,在一台服务器故障情况下,客户端请求可以平 ...
分类:
其他好文 时间:
2018-07-09 19:08:22
阅读次数:
223
mysql 只允许127.0.0.1 后,在增加hostname登陆本机mysql> grant all privileges on *.* to iau_job@test250 identified by '210ADC';mysql> flush privileges;mysql> select ...
分类:
数据库 时间:
2018-07-09 16:34:42
阅读次数:
225
报错: 添加 无济于事,此选项好像仅对 MySQL 5之前的版本有效。 原因 Mysql服务器默认的“wait_timeout”是8小时,也就是说一个connection空闲超过8个小时,Mysql将自动断开该connection。这就是问题的所在,在C3P0 pools中的connections如 ...
分类:
数据库 时间:
2018-07-09 11:07:14
阅读次数:
4722
计算机是如何启动的? 作者: 阮一峰 日期: 2013年2月16日 http://www.ruanyifeng.com/blog/2013/02/booting.html https://blog.csdn.net/langeldep/article/details/8788119 efi和lega ...
分类:
其他好文 时间:
2018-07-08 22:02:58
阅读次数:
155
There are K hours left before Agent Mahone leaves Amman! Hammouri doesn't like how things are going in the mission and he doesn't want to fail again. ...
分类:
其他好文 时间:
2018-07-08 15:42:46
阅读次数:
174
最近宿舍公用的网络一直不太稳定,正赶上毕业季,本来就打算自己买一台自用的路由器,于是我从一个毕业的师姐手里15RMB收了一台路由器,师姐还给了我一根5m的网线和两根全新15m的,感觉光网线就赚翻了。 下面是设置路由器上网的步骤 一、连接线路 将前端上网的宽带线连接到路由器的WAN口,上网电脑连接到路 ...
分类:
其他好文 时间:
2018-07-08 13:31:39
阅读次数:
234