码迷,mamicode.com
首页 >  
搜索关键字:http dns    ( 453202个结果
window.close关闭当前页面
浏览器处于安全策略考虑,只允许Javascript关闭由javascript打开的页面,为了用js关闭当前窗口,我们可以这么考虑,这也是最常用的做法。fdsafasfunction xx(){ // 重置window.opener用来获取打开当前窗口的窗口引用 // 这里置为null,避免I...
分类:Windows程序   时间:2014-07-22 23:09:52    阅读次数:575
我的第二个编程实验
源代码参见:http://www.tldp.org/LDP/lkmpg/2.6/html/x323.html原作者的源代码没有问题,但是在命令行装载模块的时候出错了,注意那个 "mybyte=255"是错的,必须严格按照模块定义的变量来书写名字,按照原作者的意图,应该改作"myshort=255",...
分类:其他好文   时间:2014-07-22 23:09:35    阅读次数:320
perl special charecter
$_$PROCESS_ID$$read a file line by line#!/usr/bin/perluse strict;use warnings;my $dir ="./tmp";open (FH, ") {print "$_";}
分类:其他好文   时间:2014-07-22 23:09:35    阅读次数:293
解决Oracle ORA-12505, TNS:listener does not currently know of SID given in connect(转)
http://anthon-lx.iteye.com/blog/811460完整的错误信息如下:java.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listene...
分类:数据库   时间:2014-07-22 23:09:35    阅读次数:430
javascript学习6-练习之3二分查找算法
二分查找算法,对数据进行查找并且显示位置。核心思想:将所查找数据与查询数组中间的数进行比较,findValrightIndex) 8 { 9 // 提示找不到,防止无穷递归10 document.write("找不到");11 retur...
分类:编程语言   时间:2014-07-22 23:09:35    阅读次数:304
IOS文件分段下载
HTTP HEAD 生成方法NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:0 timeoutInterval:kTimeout];request.HTTPMethod = @"HE...
分类:移动开发   时间:2014-07-22 23:09:35    阅读次数:435
Java中的几种默认
1.每个类都默认导入 import java.lang.*;2.如果一个类没有定义构造方法,则默认提供公开无参构造方法3.在类中,访问成员变量或成员方法,如果不加引用,默认加上"this."4.在构造方法中,如果第一行不是"this(...)"或"super(...)" ,默认为"super();"...
分类:编程语言   时间:2014-07-22 23:09:35    阅读次数:280
(转)linux常用命令
原地址:http://www.cnblogs.com/svage/p/3700122.html1、删除目录及子目录下的 .svn目录 find . -type d -name ".svn" | xargs rm -rf2、/tmp 目录的权限drwxrwxrwt rwt的意思是:对目录有执行权...
分类:系统相关   时间:2014-07-22 23:09:34    阅读次数:552
The Super Powers
The Super PowersTime Limit:1000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionAThe Super PowersWe all know the...
分类:其他好文   时间:2014-07-22 23:09:34    阅读次数:554
Leetcode:Container With Most Water
戳我去解题Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoint...
分类:其他好文   时间:2014-07-22 23:09:34    阅读次数:337
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!