上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页
摘要: ---恢复内容开始---如果我们想要给图形上色,有两个重要的属性可以做到:fillStyle 和 strokeStyle。fillStyle = colorstrokeStyle = colorstrokeStyle 是用于设置图形轮廓的颜色,而 fillStyle 用于设置填充颜色。color 可... 阅读全文
posted @ 2014-10-19 18:10 wuhn 阅读(8008) 评论(0) 推荐(0) 编辑
摘要: 如果明白数组其实就是map的话,我想你就会明白array_merge为什么要这么实现了PHP中合并数组分成两种情况1、如果这两个数组中有相同的字符串键名:'linux服务器配置与管理','php'=>'PHP程序设计'); $book2 = array('linux'=>'服务器配置与管理','js... 阅读全文
posted @ 2014-10-19 13:53 wuhn 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 可以画个1/4之一的圆也可以画整个圆 效果:也可以画个半圆 阅读全文
posted @ 2014-10-19 13:52 wuhn 阅读(263) 评论(0) 推荐(0) 编辑
摘要: $array[]从11开始 阅读全文
posted @ 2014-10-19 13:13 wuhn 阅读(896) 评论(0) 推荐(0) 编辑
摘要: C:\wamp\bin\apache\Apache2.2.21\bin>ab.exe -n5 -c5 http://www.baidu.comab.exe: invalid URLUsage: ab.exe [options] [http://]hostname[:port]/pathOptions... 阅读全文
posted @ 2014-10-19 12:55 wuhn 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 不要指定border-width属性: 效果:去掉border-width属性 效果:怎么是106和106?去掉border-style: solid; 所以如果你想要在:before中画一个圆,则必须让:before是一个block 阅读全文
posted @ 2014-10-19 00:08 wuhn 阅读(596) 评论(0) 推荐(0) 编辑
摘要: I would like to retrieve the content of a url. Similar to pythons:html_content = urllib.urlopen("http://www.test.com/test.html").read()In examples(jav... 阅读全文
posted @ 2014-10-18 14:09 wuhn 阅读(326) 评论(0) 推荐(0) 编辑
摘要: In Java it is possible to restrict access to specific functions like reading/writing files and system properties, thread control, networking, object s... 阅读全文
posted @ 2014-10-18 01:10 wuhn 阅读(380) 评论(0) 推荐(0) 编辑
摘要: If the current directory of the application. If e.g. you create a File by usingnew FileOutputStream("myfile")then it is created in the "current" direc... 阅读全文
posted @ 2014-10-17 00:50 wuhn 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 看到像上图这样的 tip 的小三角,你会怎么办?切个图上去?恩,不错,简单,兼容性也一级棒,不但好控制,那点小东西也增加不了多少图片的大小。但有没有更好更讲究技巧的办法呢?哈哈,那必须有啊,而且还不止一种呢:)纯 CSS 做三角形的方法,目前我知道三种,分别是利用 border 属性,“◆”字符,和... 阅读全文
posted @ 2014-10-17 00:41 wuhn 阅读(2047) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 40 下一页