-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT/etc/rc.d/init.d/iptables restart でiptables再起動すれば完了。
$('.li').live('mouseover',function(){
$(this).draggable();
});
もしくは
(function ($) {
$.fn.liveDraggable = function (opts) {
this.live("mouseover", function() {
if (!$(this).data("init")) {
$(this).data("init", true).draggable(opts);
}
});
return $();
};
}(jQuery));
/**
* minとmaxの間ランダム数値を取得
*/
function getRandomArbitary (min, max) {
return Math.random() * (max - min) + min;
}
/**
* minとmaxの間ランダム整数を取得
* Math.floor四捨五入で整数を取得する
*/
function getRandomInt (min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
]]>const MENU = "野菜サラダ";
const TOOL = "お箸";
[MENU]と[TOOL]の動的取得方法は
$key = "MENU";
echo constant("self::".$key);