封装了一下显示和隐藏的脚本,方便mac上的文件隐藏和显示if [ `defaults read com.apple.finder AppleShowAllFiles` = "1" ]; thendefaults write com.apple.finder AppleShowAllFiles -b....
分类:
系统相关 时间:
2015-03-13 12:33:45
阅读次数:
146
mysql 4种启动方式都是去调用mysqld文件1. mysqld 启动 进入mysqld文件所在目录(/../libexec/mysqld) ./mysqld --defaults-file=./my.cnf --user=mysql2. mysqld_safe 启动 进入mysqld_saf....
分类:
数据库 时间:
2015-03-13 12:14:06
阅读次数:
155
mysql4种启动方式都是去调用mysqld文件1.mysqld启动 进入mysqld文件所在目录(/../libexec/mysqld) ./mysqld--defaults-file=./my.cnf--user=mysql2.mysqld_safe启动 进入mysqld_safe所在目录(../bin/mysqld_safe) ./bin/mysqld_safe--defaults-file=./my.cnf--user=mysql 如果m..
分类:
数据库 时间:
2015-03-13 02:08:03
阅读次数:
167
终端(Terminal)下显示Mac隐藏文件的命令:1 defaults write com.apple.finder AppleShowAllFiles -bool true2 KillAll Finder隐藏Mac隐藏文件的命令:1 defaults write com.apple.finder...
分类:
系统相关 时间:
2015-03-12 16:38:59
阅读次数:
430
查看主机minion001支持的模块清单sys.list_modules[root@master~]#salt‘minion001‘sys.list_modules
minion001:
-acl
-aliases
-alternatives
-apache
-archive
-at
-blockdev
-bridge
-buildout
-cloud
-cmd
-composer
-config
-cp
-cron
-daemontools
-data
-defaults
-dig
-..
viewport布局常用属性 new Ext.Viewport({ layout: "border", renderTo: Ext.getBody(), defaults: { ...
分类:
Web程序 时间:
2015-03-10 13:38:26
阅读次数:
202
(function($){ $.fn.yourName = function(options){ //各种属性、参数 } var options = $.extend(defaults, options); this.each(function(){ //插件实现代码 }); }; })(jQuer...
分类:
Web程序 时间:
2015-03-06 16:20:17
阅读次数:
151
;(function ($) { //插件的默认值属性 var defaults = { Weight: '300px', height: '230px', nextId: 'nextBtn', ...
分类:
Web程序 时间:
2015-03-05 19:00:36
阅读次数:
136
1)显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true (2)隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false 重新启动Finder就可以了 ...
分类:
移动开发 时间:
2015-03-05 11:05:54
阅读次数:
140
FTP服务器192.168.62.2第一步:vsftpd配置文件的更改[root@sambavsftpd]#catvsftpd.conf#Exampleconfigfile/etc/vsftpd/vsftpd.conf##Thedefaultcompiledinsettingsarefairlyparanoid.Thissamplefile#loosensthingsupabit,tomaketheftpdaemonmoreusable.#Pleaseseevsftpd.conf...
分类:
Web程序 时间:
2015-03-04 19:19:47
阅读次数:
198