码迷,mamicode.com
首页 >  
搜索关键字:defaults    ( 1730个结果
finder的隐藏文件&IOS虚拟机地址
在终端里输入下面命令即可让它们显示出来。 defaults write com.apple.finder AppleShowAllFiles -bool true 如果想恢复隐藏,可以用这个命令: defaults write com.apple.finder AppleShowAllFil...
分类:移动开发   时间:2014-07-31 20:35:27    阅读次数:211
python空函数
什么事都不做的函数就是一个空函数:def kong(): passprint dir(kong())即便是一个空函数,他也会有如下属性:['__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__....
分类:编程语言   时间:2014-07-31 19:34:17    阅读次数:307
NSUserDefaults API中英文文档简介及使用
NSUserDefaults API中英文文档简介及使用 Overview The NSUserDefaults class provides a programmatic interface for interacting with the defaults system. The defaults system allows an application to customize its behavior to match a user’s preferences. For example, y...
分类:Windows程序   时间:2014-07-30 01:06:52    阅读次数:484
easyui-validatebox验证 radio
添加规则$.extend($.fn.validatebox.defaults.rules, { requireRadio: { validator: function(value, param){ var input = $(...
分类:其他好文   时间:2014-07-29 21:09:02    阅读次数:943
windows下忘记mysql的root密码
1.停止mysql2.命令行启动mysqlmysqld --defaults-file="c:\mysql\mysql server 5.1\my.ini" --console --skip-grant-tables3.无密码登录后执行以下sqlupdate mysql.user set passw...
分类:数据库   时间:2014-07-29 14:12:18    阅读次数:325
javascript实现拖曳与拖放图片
/*** javascript拖放元素*/ function Sortable(cfg){ this.cfg = $.extend({},defaults,cfg || {}); this._init();};$.extend(Sortable.prototype,{ // 函数初始化 _init....
分类:编程语言   时间:2014-07-27 10:08:22    阅读次数:187
Mac 显示和隐藏 隐藏文件
控制台运行://显示defaults write com.apple.finder AppleShowAllFiles -bool true//隐藏defaults write com.apple.finder AppleShowAllFiles -bool false
分类:其他好文   时间:2014-07-26 13:42:34    阅读次数:202
常用JS方法
// 悬浮置顶; (function ($) { $.fn.crumbsFixedPosition = function (options) { var defaults = { cName: 'fixed_pos' } var ...
分类:Web程序   时间:2014-07-26 00:20:36    阅读次数:303
EasyUI-validatebox 自定义validType验证
根据项目要求,对于一些信息的验证也越来越特殊,当你发现EasyUI-validatebox提供的常用的validType验证类型已经满足不了你时,你可以选择自己自定义新的validType来完成信息验证一:自定义新的validType需要重新$.fn.validatebox.defaults.rul...
分类:其他好文   时间:2014-07-23 16:25:41    阅读次数:457
instance method '*****' not found (return type defaults to 'id')
instance method '*****' not found (return type defaults to 'id')...
分类:其他好文   时间:2014-07-21 23:27:44    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!