Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
其他好文 时间:
2017-01-07 09:08:10
阅读次数:
175
var colors = ( "aliceblue,antiquewhite,aqua,aquamarine,azure,beige,bisque,black,blanchedalmond,blue," + "blueviolet,brown,burlywood,cadetblue,chartreu ...
分类:
其他好文 时间:
2017-01-05 20:14:44
阅读次数:
196
rgba()是css3的新属性,所以IE8及以下浏览器不兼容,这怎么办呢?终于我找到了解决办法。 解决办法 我们先来解释以下rgba rgba: rgba的含义,r代表red,g代表green,b代表blue,a代表透明度。 rgba(0,0,0,.5) 这样就代表了黑色,透明度为0.5 要想解决在 ...
分类:
其他好文 时间:
2017-01-04 07:27:48
阅读次数:
189
RED = \\e[1m\\e[31mDARKRED = \\e[31m GREEN = \\e[1m\\e[32mDARKGREEN = \\e[32m BLUE = \\e[1m\\e[34mDARKBLUE = \\e[34m YELLOW = \\e[1m\\e[33mDARKYELLOW ...
分类:
其他好文 时间:
2016-12-28 20:33:16
阅读次数:
184
import flash.display.MovieClip; import flash.geom.ColorTransform; //方法一 var red:Number = Math.random() * 255 - 255; var blue:Number = Math.random() * ... ...
分类:
其他好文 时间:
2016-12-28 18:38:22
阅读次数:
149
浏览器支持Html5的情况下,SignalR使用WebSockets,当不支持时SignalR将使用其它技术来实现通讯。 界面如下:左侧包含三种聊天对象,不同的聊天对象会创建不同的对话框。 设计思路参考:http://www.blue-zero.com/Chat/ 后台代码: using Syste ...
分类:
其他好文 时间:
2016-12-26 14:07:41
阅读次数:
311
High Performance My SQL, Third Edition Consider the followingWHERE clause: WHERE eye_color IN('brown','blue','hazel') AND hair_color IN('black','red', ...
分类:
其他好文 时间:
2016-12-23 14:23:07
阅读次数:
206
1、blue green,red,yellow,black... 2、十进制表示 rgb(255,0,0)红色 rgb(0,255,0)绿色 rgb(0,0,255)蓝色 3、十六进制表示 #FF0000红色 #00FF00绿色 #0000FF蓝色 ...
分类:
移动开发 时间:
2016-12-20 07:27:57
阅读次数:
196
1. 单像素边框CSS表格 这是一个很常用的表格样式。 2. 带背景图的CSS样式表格 和上面差不多,不过每个格子里多了背景图。 cell-blue.jpg cell-grey.jpg 1. 下载上面两张图,命名为cell-blue.jpg和cell-grey.jpg 2. 拷贝下面的代码到你想要的 ...
分类:
Web程序 时间:
2016-12-18 12:01:19
阅读次数:
263
一个画图神器,以后快速画图又有了一个新武器 图一: 代码: digraph directed { edge [fontname=NSimSun]; { a -> b; a -> c -> d [color=red,penwidth=3.0]; c -> e; a -> d[color=blue,la... ...
分类:
其他好文 时间:
2016-12-18 01:32:55
阅读次数:
349