1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:
Web程序 时间:
2014-06-27 21:07:11
阅读次数:
353
11.1. 一般性描述预写式日志 (WAL) 是一种实现事务日志的标准方法.有关它的详细描述可以在 大多数(如果不是全部的话)有关事务处理的书中找到. 简而言之,WAL 的中心思想是对数据文件 的修改(它们是表和索引的载体)必须是只能发生在这些修改已经 记录了日志之后 -- 也就是说,在日志记录冲刷...
分类:
其他好文 时间:
2014-06-27 20:45:51
阅读次数:
247
http://www.cnblogs.com/Leo_wl/archive/2012/04/06/2435511.html以前一直比较好奇,jquery插件是怎么开发的,怎么写属于自己的插件?昨天在逛codeproject网站的时候,突然看到一篇文章:How to write plugin in J...
分类:
Web程序 时间:
2014-06-26 12:44:23
阅读次数:
331
读者优先
//读者写者问题-读者优先
#include
#include
#include
using namespace std;
HANDLE rmutex,wmutex;
int Readcount=0;
int read_num=10,write_num=5;
DWORD WINAPI read(LPVOID lpParam)
{
WaitForSingleObject(...
分类:
其他好文 时间:
2014-06-26 10:41:57
阅读次数:
185
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
分类:
其他好文 时间:
2014-06-26 07:09:01
阅读次数:
213
OS X 10.10 Yosemite Developer Preview 2,下面简称10.10DP2,安装之后,有可能出现10.10的恢复盘(Recovery HD)看不见的问题。
这是因为它的一个设置错误,下面我们用比较直观的方法来解决它。
首先,开启磁盘工具的Debug菜单.
无论是从哪个磁盘启动,都可以操作,运行下面命令:
defaults write com.apple.Dis...
分类:
其他好文 时间:
2014-06-25 10:50:19
阅读次数:
291
1.Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you
r Gemfile
2.ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 director.y
3.rails 3遇到 Could n...
分类:
其他好文 时间:
2014-06-24 22:18:45
阅读次数:
316
我们在升级4.4的过程中,发现了部分第三方应用不能使用。查看发现以下几点要求:
1》 API 19以上现在强制要求android.permission.READ_EXTERNAL_STORAGE 和android.permission.WRITE_EXTERNAL_STORAGE 权限了。
2》如果发现仍然可以在真机上面没有加权限也可以读到sdcard的内容。请查看手机是否是r...
分类:
移动开发 时间:
2014-06-24 15:50:28
阅读次数:
273
Anchor 对象更改一个链接的文本、URL 以及 target使用 focus() 和 blur()向超链接添加快捷键Document 对象使用 document.write() 向输出流写文本使用 document.write() 向输出流写 HTML返回当前文档的标题返回当前文档的 URL返回...
分类:
编程语言 时间:
2014-06-24 14:41:22
阅读次数:
388
今天来粗略的学习一下js JavaScript:写入 HTML 输出 document.write("This is a heading"); JavaScript:对事件作出反应 点击这里 JavaScript:改变 HTML 内容 function myFunction() ...
分类:
其他好文 时间:
2014-06-24 12:46:57
阅读次数:
193