1:进入cmd2:命令:mysql -u root mysql -p 回车输入密码:3:use mysql;4:命令:update user set password=password('新密码') where user='root'; //最后分号不要丢5:命令:flush privileges....
分类:
数据库 时间:
2014-07-16 23:20:34
阅读次数:
260
//进入页面执行 //读取保存的Cookie信息 HttpCookie cookies = Request.Cookies["USER_COOKIE"]; if (cookies != nul...
分类:
其他好文 时间:
2014-07-16 23:19:58
阅读次数:
245
git init # 初始化本地git仓库(创建新仓库)git config --global user.name "xxx" # 配置用户名git conf...
分类:
其他好文 时间:
2014-07-16 23:14:18
阅读次数:
223
原文:IE10、IE11 User-Agent 导致的 ASP.Net 网站无法写入Cookie 问题 你是否遇到过当使用一个涉及到Cookie操作的网站或者管理系统时,IE 6、7、8、9下都跑的好好的,唯独到了IE10、11这些高版本浏览器就不行了?好吧,这个问题码农连续2天内遇到了2次。那么,...
分类:
Web程序 时间:
2014-07-16 23:13:07
阅读次数:
334
>>> import psutil获取cpu信息>>> psutil.cpu_times()scputimes(user=128258.38, nice=12.29, system=88369.31, idle=6713420.33, iowait=3290.63, irq=1069.04, sof...
分类:
编程语言 时间:
2014-07-16 23:11:20
阅读次数:
365
1. add a new branch cd workspace git branch user1/newbranch1 git checkout user1/newbranch1 or git checkout -b user2/newbranch2 2. when user1/newbranch...
分类:
其他好文 时间:
2014-07-16 23:09:50
阅读次数:
164
@Inject private RestTemplate restTemplate;@SuppressWarnings("unchecked") public User updateUser(User user) { SoftReference softRestTemplate = new Sof....
分类:
其他好文 时间:
2014-07-10 14:23:55
阅读次数:
218
异常详细:An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user codeAddition...
分类:
其他好文 时间:
2014-07-10 13:56:49
阅读次数:
306
@SuppressWarnings("unchecked") public User getUser(String id,String name) { SoftReference softRestTemplate = new SoftReference(restTemplate); String.....
分类:
其他好文 时间:
2014-07-10 13:29:21
阅读次数:
339
首先说最根本的解决方法:手机访问时,会附带发送user-agent信息,这个信息里面会有手机号码信息,那么如果能取得手机号码,则可以肯定是通过手机wap访问的。但是目前中国移动已经屏蔽了user-agent信息,所以获取不到手机号码。有关系的朋友可以联系移动公司,把wap网站服务器的ip提交给中国移...
分类:
移动开发 时间:
2014-07-10 10:46:36
阅读次数:
197