1.在laravel项目中,当使用Auth::attempt()用于用户验证时,Auth::attempt()会把密码通过Hash进行转换,变成一串不知啥的长字符,如果你在数据库里事先设置了明文的密码,那么它就会fail;所以你在用户注册时将密码进行Hash转换再存入数据库。 2.数据库密码字...
分类:
其他好文 时间:
2014-09-01 17:25:13
阅读次数:
172
2014-09-01 14:25:17.148 RRS[995:60b] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException‘, reason: ‘*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil o...
分类:
移动开发 时间:
2014-09-01 16:02:53
阅读次数:
244
oracle的会话数超出了限制,一般都是由于多次connect建立多个连接会话引起。解决办法:(oracle登录后台,1)sqlplus 2)conn / as sysdba)1.查看当前连接进程数SQL>select count(*) from v$process;2.查看连接数上限SQL>sel...
分类:
数据库 时间:
2014-09-01 15:32:03
阅读次数:
322
-webkit-animation:仍旧是一个复合属性,-webkit-animation: name duration timing-function delay iteration_count direction;包括以下几个属性(1) -webkit-animation-name 这个属性的....
分类:
Web程序 时间:
2014-09-01 15:23:33
阅读次数:
366
capitalize()把字符串的第一个字符改为大写casefold()把整个字符串的所有字符改为小写center(width)将字符串居中,并使用空格填充至长度width的新字符串count(sub[,start[,end]])返回sub在字符串里边出现的次数,start和end参数表示范围,可选...
分类:
编程语言 时间:
2014-09-01 09:15:22
阅读次数:
195
for(var?o?in?obj){
???var?target?=?"#num_"+o;
???$(target).text(obj[o].count);
} o是key
分类:
Web程序 时间:
2014-09-01 02:57:22
阅读次数:
155
#!/bin/sh
#author:reed
#blog:luweikai.blog.51cto.com
#说明:使用自带的dd命令
file=dd.file
BS_COUNT_8K=(8K12K)
BS_COUNT_64K=(64K6K)
BS_COUNT_1M=(1M1K)
list="8K64K1M"
wlog=/tmp/ddwrite.log
rlog=/tmp/ddread.log
#write
Write()
{
echo"[INFO]WRITE"
foriin$list;..
分类:
系统相关 时间:
2014-09-01 02:55:23
阅读次数:
353
1find查找
#include
#include
#include
#include
#include
#include
using
namespace
std;
void
main()
{
vectorint>
myv;
myv.push_bac...
分类:
其他好文 时间:
2014-08-31 22:57:32
阅读次数:
286
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains ...
分类:
其他好文 时间:
2014-08-31 22:46:42
阅读次数:
354
Many counting problems are solved by establishing a bijection between the set to be counted and some easy-to-count set. This kind of proofs are usuall...
分类:
其他好文 时间:
2014-08-31 17:02:51
阅读次数:
244