load some plain JavaScript files that do not define modules
require(["some/script.js"], function() {
//This function is called after some/script.js has loaded.
});
require(["some/script.js"], function() {
//This function is called after some/script.js has loaded.
});
require.config({
paths: {
"jqueryui": '../../../lib/jquery-ui',
"jquery": "../../../lib/jquery/jquery-1.9.1"
},
"shim": {
"jqueryui/jquery-ui-1.10.3.custom.min": ["jquery"],
"jqueryui/i18n/jquery.ui.datepicker-zh-CN": ["jqueryui/jquery-ui-1.10.3.custom……
最近各大新闻网站、科技网站都在报道比特币,比特币的价格也是大起大落。肿么傻瓜式挖比特币呢?对于一般网友来说,有个简单的挖矿教程就好了。笔者搜索实验了cgminer,guiminer,Ufasoft Coin,个人觉得guiminer不错。让笔者来亲们进入这个“搞笑的”比特币世界。
第一步 下载GuiMiner
<img style="display: inline; border-width: 0px;" title="image" alt="image" src="/me……
官方示例:http://www.requirejs.org/jqueryui-amd/example/webapp/app.html
/**
* Ask for 'require', 'jquery' and 'jqueryui/tabs' as dependencies.
*
* 'require' is asked for as best practice, since it used inside the
* require call……
jQueryUI的datepicker日期选择控件有中文换行问题,看起来很不爽的。网上找到两个修正方案试了试。修正了一下这个bug。 先睹为快,先看看修正后的效果
解决办法,在jquery-ui-1.8.16.custom.css中找到 .ui-datepicker select.ui-datepicker-year { width: 49%;} 改成 .ui-datepicker select.ui-datepicker-year { widt……
Discuz报common_member_count' is marked as crashed and should be repaired
解决手段:使用phpmyadmin的表修改功能。网上有说去命令行执行mysql命令的,但还是感觉采用phpmyadmin进行操作比较直观。
protected void Button1_Click(object sender, EventArgs e)
{
// 调用代码
string[] cmd = new string[] { "appcmd recycle apppool /apppool.name: DQSite(8000)" };
//MessageBox.Show(Cmd(cmd));
TextBox1.Text = Cmd(cmd);
CloseProcess("cmd.ex……
http://learn.knockoutjs.com/#/?tutorial=intro 直接在线学习
<!-- This is a view - HTML markup that defines the appearance of your UI --> <p>First name: <strong data-bind="t……
客户端技术: http://jquery.com/ html对象操作 http://knockoutjs.com/ 数据绑定 https://github.com/ericmbarnard/Knockout-Validation 数……