首页 > 2015年04月26日 > 全部分享
你所不知道的html5与html中的那些事(五)——web图像
文章简介: 现在的页面,一般都离不开图像,而怎么做才能让我们的页面中的图像加载的又快又好呢?在优化页面速度的时候还有什么事是你所不知道的呢? 下面看看今天我为大家带来了哪些关于web图像的你所平时不一定关心的事与一些有建设性的建议吧:1)关于web页面中的图像你需要关注的关键点有那些?2)web.....
分类:Web开发   时间:2015-04-26 15:07:49    收藏:0  评论:0  赞:0  阅读:245
Selenium2Library系列 keywords 之 _SelectElementKeywords 之 get_selected_list_label(self, locator)
1 def get_selected_list_label(self, locator):2 """Returns the visible label of the selected element from the select list identified by `lo...
分类:其他   时间:2015-04-26 15:07:37    收藏:0  评论:0  赞:0  阅读:219
关于response.write(alert(''))弹窗改变页面格式问题
不建议使用Response.Write("");而使用 Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "MyScript", "alert('增加年级失败')", true);
分类:其他   时间:2015-04-26 15:07:30    收藏:0  评论:0  赞:0  阅读:249
迭代法求平方根
求n的平方根,先假设一猜测值X0 = 1,然后根据以下公式求出X1,再将X1代入公式右边,继续求出X2…通过有效次迭代后即可求出n的平方根,Xk+1#include #include int main(){ double x,y,a; while(scanf("%lf",&a)!=EOF) { x....
分类:其他   时间:2015-04-26 15:07:10    收藏:0  评论:0  赞:0  阅读:296
C# .net 获取外网ip
public string GetIP() { string strUrl = "http://www.ip138.com/ip2city.asp"; //获得IP的网址了 Uri uri = new Uri(strUrl); WebRequest wr = WebRequest.Create(ur...
分类:Windows开发   时间:2015-04-26 15:06:57    收藏:0  评论:0  赞:0  阅读:284
JAVA 的 Date、Calendar的常用用法
一、Date与String的互转用法,这里需要用到SimpleDateFormat Date date = new Date(); //设置格式 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String s....
分类:编程语言   时间:2015-04-26 15:06:50    收藏:0  评论:0  赞:0  阅读:299
C#6.0
C#6.0特性(快来围观)1、自动属性的增强1.1、自动属性初始化 (Initializers for auto-properties)C#4.0下的果断实现不了的。C#6.0中自动属性的初始化方式只要接触过C#的肯定都会喜欢这种方式。真是简洁方便呀。1.2、只读属性初始化Getter-only a...
分类:Windows开发   时间:2015-04-26 15:06:38    收藏:0  评论:0  赞:0  阅读:318
并发 ping
参考[root@RS2 ~]# cat 5.sh#!/bin/bash# 2006-7-12, by wwy#-----------------------------------------------------------------------------------# 此例子说明了一种用w...
分类:其他   时间:2015-04-26 15:06:29    收藏:0  评论:0  赞:0  阅读:169
mysql5.1版本 my.cnf中复制的配置不起作用
原因是:在mysql存放数据的目录下面有一个文件master.info,mysql服务器认为 master.info比my.cnf优先级要高,第一次启动slave,master.info不存在,从my.cnf读取选项值,保存到master.info,以后再启动slave,会直接从master.inf...
分类:数据库技术   时间:2015-04-26 15:06:07    收藏:0  评论:0  赞:0  阅读:437
模拟 ZOJ 3878 Convert QWERTY to Dvorak
题目传送门 1 /* 2 模拟:手敲map一一映射,累! 3 除了忘记读入字符串不能用gets用getline外还是很顺利的AC了:) 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 #in...
分类:其他   时间:2015-04-26 15:05:58    收藏:0  评论:0  赞:0  阅读:314
otl插入数据不成功
原因是:void rlogon(...); 没有设置auto_commit为1,otl不会自动提交。注意:static int otl_initialize (const int threaded_mode=0); 0是单线程,1是多线程。但是otl不是线程安全的,需要自己管理。
分类:其他   时间:2015-04-26 15:05:46    收藏:0  评论:0  赞:0  阅读:222
Maven学习(三)- 使用Maven构建Web项目
从网上查了一些资料,才算明白(也就是怎么操作吧),怎么使用Maven构建一个Web项目,找到一篇文档,主要都是从这里学到的:下载地址:使用Eclipse构建Maven的Web项目.docx现自己在重新操作一下:(使用的是Eclipse JavaEE版 ps:eclipse-jee-indigo-SR...
分类:Web开发   时间:2015-04-26 15:05:37    收藏:0  评论:0  赞:0  阅读:239
Selenium2Library系列 keywords 之 _SelectElementKeywords 之 get_list_items(self, locator)
1 def get_list_items(self, locator):2 """Returns the values in the select list identified by `locator`.3 4 Select list keywords wo...
分类:其他   时间:2015-04-26 15:05:28    收藏:0  评论:0  赞:0  阅读:254
openvc中读取图像访问图像中像元的的方法
一、读取图像1、利用Mat数据结构读取和显示图片#include"cv.h"#include "highgui.h"#includeusing namespace std;using namespace cv;int _tmain(int argc, _TCHAR* argv[]){ Mat i.....
分类:其他   时间:2015-04-26 15:05:16    收藏:0  评论:0  赞:0  阅读:249
【原】yield的最基本用法
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Itcast.Mall.ConsoleApp{ class Program { stati...
分类:其他   时间:2015-04-26 15:04:56    收藏:0  评论:0  赞:0  阅读:239
UVA253Cube painting骰子涂色
We have a machine for painting cubes. It is supplied with three different colors: blue, red and green. Each face of the cube gets one of these colors....
分类:其他   时间:2015-04-26 15:04:36    收藏:0  评论:0  赞:0  阅读:266
快捷键应用
快捷键应用windows比较有用的一些快捷键1.Windows+L锁屏2.windows+E 资源管理器(我的电脑图标打开后的效果)3.windows+D 回到桌面4.windows+tab 3D效果切换桌面5.录像功能 windows+R,输入prs.exe,回车,开始记录。6.windoes+X...
分类:其他   时间:2015-04-26 15:04:26    收藏:0  评论:0  赞:0  阅读:197
Team Formation
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 const int MM=100...
分类:其他   时间:2015-04-26 15:04:16    收藏:0  评论:0  赞:0  阅读:136
springmvc 使用uploadify进行文件上传
1、首先在uploadify官网下载相关的文件,目前有两种类型的,一种是flash(免费),另一种是html5(要收费)然后部署到项目里这里需要uploadify.jsuploadify.min.jsuploadify.cssuploadify-cancel.pnguploadify.swf当然别忘...
分类:编程语言   时间:2015-04-26 15:04:06    收藏:0  评论:0  赞:0  阅读:450
HTML5-Canvas
HTML5-Canvas Your browser does not support the canvas element. ...
分类:Web开发   时间:2015-04-26 15:03:56    收藏:0  评论:0  赞:0  阅读:276
1375条   上一页 1 ... 34 35 36 37 38 ... 69 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!