function randomColor(){ var arr = []; var colori = 0; for(var i = 0; i< 10; i++){ colori += 25; var colors = 'rgb(0,0,' + colori + ')'; arr.push(color ...
分类:
其他好文 时间:
2017-12-13 11:35:35
阅读次数:
335
一.layout 1.activity_main.xml 2.first_gragment.xml 3.second_fragment.xml 4.third_fragment.xml 5.item_bar.xml 二.values 1.styles.xml添加 2.colors.xml添加 三.d ...
分类:
微信 时间:
2017-12-13 00:15:40
阅读次数:
324
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-12-11 23:05:54
阅读次数:
209
There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent ...
分类:
其他好文 时间:
2017-12-04 14:12:22
阅读次数:
125
Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. At first John has to eat s ...
分类:
其他好文 时间:
2017-12-03 19:55:47
阅读次数:
222
1. 修改minttyrc文件C:\Users\Eason\.minttyrc在文件中添加配色方案,如下:配色方案来源:https://github.com/mavnn/mintty-colors-solarized更新文件后保存,重启Git bash即可看到新的配色。 ...
分类:
其他好文 时间:
2017-11-27 00:12:42
阅读次数:
217
1.下载安装Gvim 我的安装目录在:C:\gVimPortable 配色方案目录:C:\gVimPortable\App\vim\vim72\colors 配置文件目录:C:\gVimPortable\Data\settings\_vimrc 2.配置powershell powershell目录 ...
分类:
系统相关 时间:
2017-11-24 14:55:57
阅读次数:
167
ls的输出颜色不止3种,有以下几种,白色:表示普通文件蓝色:表示目录绿色:表示可执行文件红色:表示压缩文件浅蓝色:链接文件红色闪烁:表示链接的文件有问题黄色:表示设备文件 灰色:表示其他文件这是linux系统约定的默认颜色,你也可以根据自己喜好自己修改在环境变量$LS_COLORS上修改就行,想永久 ...
分类:
其他好文 时间:
2017-11-20 13:25:27
阅读次数:
166
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo ...
分类:
其他好文 时间:
2017-11-16 11:54:06
阅读次数:
170