2013年10月,MySQL开发团队正式宣布支持Yum仓库,这就意味着我们现在可以从这个Yum库中获得最新和最优版的MySQL安装包。本文将在一台全新安装的CentOS6上安装MySQL5.6,如果你不熟悉MySQL5.6的新特性,我建议从MySQL5.6 的新特性(http://dev.mysql.com/tech-resources/articles/whats-new-in-mysql-5....
分类:
数据库 时间:
2014-05-23 01:26:10
阅读次数:
419
package com.wsy.model;
/**
* 完成主线程循环10次,接着子线程循环5次,如此往复10次
*
* @author wsy
*
*/
public class TraditionalThreadCommunication {
static Bussiness bussiness = new Bussiness();
public static void...
分类:
编程语言 时间:
2014-05-23 00:32:49
阅读次数:
302
My97 DatePicker图标触发
1、设计源码
My97 DatePicker图标触发
$(function(){
//获取当前日期时间
var date = new Date();
//获取当前日期...
分类:
其他好文 时间:
2014-05-22 22:41:51
阅读次数:
326
建立ssh无验证连接
Check for SSH keys、
cd ~/.ssh
ls
Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub
检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。
Generate a new SSH ...
分类:
其他好文 时间:
2014-05-22 18:33:48
阅读次数:
261
Microsoft Open Technologies has recently
released a Portable Class Libraryfor SQLite. Thanks to it, we can use SQLite in
the same way in all the suppo...
分类:
数据库 时间:
2014-05-22 15:06:51
阅读次数:
428
name = $name; $this->pwd = $pwd; $this->age =
$age; } public function intro(){ echo "我的名字是:".$this->name."
我的密码是:".$this->pwd; }}$p1 = new Person("zha...
分类:
其他好文 时间:
2014-05-22 15:04:49
阅读次数:
182
昨晚把BaseScreen就敲好了, 也找到了屏幕放缩的最优和最简方式. 不多说, 看代码:
public BaseScreen(final SnakeGo game) { super(new ScalingViewport(Scaling.fit,
CommonConsts.Screen.WIDT...
分类:
其他好文 时间:
2014-05-22 14:52:32
阅读次数:
206
@Html.Label("Label", "Label")
@*渲染成Label*@@Html.Hidden("Hidden","Hidden") @*渲染成 *@@Html.TextBox("TextBox",
"TextBox", new { color="red",font="2",si...
分类:
Web程序 时间:
2014-05-22 14:49:43
阅读次数:
322
@{ ViewBag.Title = "ajax";}@using
(@Html.BeginForm()){ @Ajax.ActionLink("这是一个ajax请求", "ajax", new AjaxOptions{
UpdateTargetId = "ajaxId", //I...
分类:
Web程序 时间:
2014-05-22 14:37:30
阅读次数:
254
1. 不使用new,执行完函数,并且赋值给变量```function Foo(){}
//创建一个函数var b = Foo(x, y, z); //执行这个函数并且把值赋值给b```2. 使用new -
创建一个空对象,并且把this指向该对象 - 把这个空对象的__proto__属性指向函数.....
分类:
其他好文 时间:
2014-05-22 13:59:32
阅读次数:
161