默认情况下是不允许在远程登录mysql数据库的使用一下命令可以改变现状://更改登录规则,把所有的权限都给root这个账户,%是指在任何地方都可以登录,‘123456789’是登录密码grant all privileges on *.* to 'root'@'%' identified by '1...
分类:
数据库 时间:
2014-06-22 23:42:28
阅读次数:
248
# -*- coding: utf-8 -*- # ==================== #File: python #Author: python #Date: 2014 #==================== __author__ = 'Administrator' #dict{键:值}...
分类:
编程语言 时间:
2014-06-22 23:34:14
阅读次数:
292
http://guides.rubyonrails.org/routing.html#crud-verbs-and-actionscreates seven different routes in your application, all mapping to thePhotoscontrolle...
分类:
其他好文 时间:
2014-06-22 23:33:47
阅读次数:
330
最近想用python写个切换host的小工具,折腾了好几天,终于实现了第一步。采用Tkinter编程,text控件接受输入,然后点击save按钮,保存内容到当前文件夹下,文件名为hostb,如下两张图片:直接上代码:#支持中文#!coding:gbk#导入需要的包from Tkinter impor...
分类:
编程语言 时间:
2014-06-22 23:24:49
阅读次数:
421
Minimum Path Sum:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along...
分类:
其他好文 时间:
2014-06-22 23:06:39
阅读次数:
290
coco2d-x 2.2.3 创建工程不再有专门的批处理文件,而是改用了python脚本,这样修改的其中一个好处是:可以方便的一次性创建各个平台下的工程,不需要像以前一样分平台创建。
但是使用起来感觉没有以前方便了,至少我刚开始用的时候是这么感觉的,于是网上查了下,参考了点资料,然后自己写了个批处理文件,感觉这样就方便多了。放在这里跟大家分享下。...
分类:
其他好文 时间:
2014-06-22 21:41:41
阅读次数:
205
下了个cocos2d-x-3.1.1,按照官方文档一步步配置win7下cocos2d-x-3.1.1的android开发环境,结果没有找到create_project.py这个文件..
现将详细配置步骤称述如下;
1.下载cocos2d-x-3.1.1,解压
2.下载android ndk
3下载Apache ant
4下载python (最好不要下载3以上的,否则会出现编译错误prin...
分类:
移动开发 时间:
2014-06-22 21:20:42
阅读次数:
250
List of OpenFlow Software Projects (that I know of) http://yuba.stanford.edu/~casado/of-sw.html (I am trying to keep a running list of all OpenFlow-re...
分类:
其他好文 时间:
2014-06-21 15:44:58
阅读次数:
323
这一节我们来分析Mirror Mirror就是配置一个bridge,将某些包发给指定的mirrored ports 对于包的选择: select_all,所有的包 select_dst_port select_src_port select_vlan 对于指定的目的: output_port (SP...
分类:
其他好文 时间:
2014-06-21 15:32:53
阅读次数:
227