var tab = artDialog.open.origin.$("#tabs").tabs("getTab", "公司评级"); var url = tab.panel('options').url; var ...
分类:
其他好文 时间:
2015-08-04 11:00:46
阅读次数:
156
1.括号配对高亮:“在前括号左侧,后括号左侧” 双击鼠标左键,可以选定匹配括号和其中内容(,(),L{R},[]之间)2.让{ 和 } 不缩进:Options -> Document Options -> Auto Indenting -> Auto Indent Type 选 Simple还有:让...
分类:
其他好文 时间:
2015-08-04 10:52:08
阅读次数:
119
方法1: NSArray *objects = [[NSBundle mainBundle] loadNibNamed:@"flowerCell" owner:self options:nil]; cell = objects[0];方法2: UINib *nib = [UINib ni...
分类:
其他好文 时间:
2015-08-04 10:51:11
阅读次数:
89
require("$UI/system/lib/cordova/cordova"); require("cordova!org.apache.cordova.geolocation");//引用cordova以及相关插件var options = { timeout : 10000 }; ...
分类:
移动开发 时间:
2015-08-03 19:04:01
阅读次数:
137
//默认没旋转 open=NO; if (open==YES) { [UIView animateWithDuration:0.03 delay:0 options:UIViewAnimationOptionCurveLinear animations:^{ btn1.transform = CG....
分类:
其他好文 时间:
2015-08-03 18:15:36
阅读次数:
143
NGINX配置文件中server{}中添加add_headerX-Frame-Options"SAMEORIGIN";防止该网站页面被其他网站嵌套,我们可以通过下面的工具进行测试:http://www.w3school.com.cn/tiy/t.asp?f=html_frame_cols编辑html代码,嵌套要测试的网站页面:<html>
<framesetcols="50%,50%..
分类:
其他好文 时间:
2015-08-03 14:55:44
阅读次数:
516
第一步,启用Ad Hoc Distributed Queries:exec sp_configure 'show advanced options',1; reconfigure; exec sp_configure 'Ad Hoc Distributed Queries',1; reconfigu...
分类:
数据库 时间:
2015-08-03 14:11:31
阅读次数:
129
本文在Ubuntu12.04上实现1.安装sambasudo apt-getinstall samba2.设置共享选中需要共享的文件夹,点击右键,选择“Sharing Options”,如下图:弹出下图对话框:注意选中所有多选框。至此Ubuntu共享文件夹设置完成。3.windows访问首先,在Ub...
分类:
系统相关 时间:
2015-08-02 21:22:36
阅读次数:
180
awk:报告生成器格式化后显示信息语法:awk[options]‘script‘file1file2,...awk[options]‘PARTTERN{action}‘file1file2,...最常见的action:print,printfawk的基本特征:a.每一次取一行b.根据指定的分隔符(不指定是位空白字符)将该行切割位列,使用$0(整行),$1,$2,$3...(第..
分类:
其他好文 时间:
2015-08-02 06:37:10
阅读次数:
147
启动系统,显示GRUB选择菜单(如果默认系统启动过程不显示GRUB菜单,则在 系统启动时需要长按[Shift]键,显示GRUB界面),选择Advanced options for Ubuntu,按下[Enter]进入,选择recovery mode,不要按下回车键。按下[e]键进入命令编辑状态,到l...
分类:
系统相关 时间:
2015-08-01 15:36:54
阅读次数:
170