例如:我在BI软件中做一个商品类别TOP5排行。 文本框默认绑定第一列,但是没显示是那个品类。 这里我们需要做几个操作来进行优化。 1.把品类显示出来。 在序列中找到标题进行显示,如果位置有重叠可以进行修改,颜色也可以修改。 2.显示是第几名。 增加排名标题。 3.快速复制多个仪表盘文本框并绑定对应 ...
分类:
其他好文 时间:
2016-04-27 17:05:57
阅读次数:
122
342. Power of Four Total Accepted: 7302 Total Submissions: 21876 Difficulty: Easy Given an integer (signed 32 bits), write a function to check whether ...
分类:
编程语言 时间:
2016-04-26 15:57:22
阅读次数:
182
1. While there is life, there is hope.有生命便有希望。2. To an optimist every change is a change for the better.对于乐观者总是越变越好。3. Never underestimate your power ...
分类:
其他好文 时间:
2016-04-26 02:05:15
阅读次数:
151
https://wiki.archlinux.org/index.php/Power_management_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87) CentOS 7合盖后黑屏但不进入睡眠模式修改 systemd 能够处理某些电源相关的 ACPI事件,你可以通过从 ...
分类:
其他好文 时间:
2016-04-24 15:32:17
阅读次数:
266
问题描写叙述 Given an integer, write a function to determine if it is a power of two. 意:推断一个数是否是2的n次幂 算法思想 假设一个数小于或等于0。一定不是2的幂次数 假设一个大于0且数是2的n次幂,则其的二进制形式有且仅 ...
分类:
其他好文 时间:
2016-04-23 19:47:43
阅读次数:
130
题目: Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example:Given num = 16, return true. Given num = 5, retur ...
分类:
其他好文 时间:
2016-04-20 18:08:05
阅读次数:
115
1:下载内核源码包
内核源码树目录:
arch:包含和硬件体系结构相关的代码,每种平台占一个相应的目录。和32位PC相关的代码存放在i386目录下,其中比较重要的包括kernel(内核核心部分)、mm(内存管理)、math-emu(浮点单元仿真)、lib(硬件相关工具函数)、boot(引导程序)、pci(PCI总线)和power(CPU相关状态)。
block:部分块设备驱动程序。
cry...
分类:
其他好文 时间:
2016-04-19 14:23:25
阅读次数:
246
leetcode上面的很简单的题目 Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given ...
分类:
编程语言 时间:
2016-04-18 22:17:31
阅读次数:
139
判断一个数是不是4的次方。 我们知道num & (num - 1)可以用来判断一个数是否为2的次方数,更进一步说,就是二进制表示下,只有最高位是1,那么由于是2的次方数,不一定是4的次方数,比如8,所以我们还要其他的限定条件,我们仔细观察可以发现,4的次方数的最高位的1都是计数位,那么我们只需与上一 ...
分类:
其他好文 时间:
2016-04-18 17:18:23
阅读次数:
149
Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given num = 5, return f ...
分类:
其他好文 时间:
2016-04-18 13:29:50
阅读次数:
201