我想要在报表下载时打开一个遮罩,下载响应给客户端的时候关闭遮罩。这个看似简单的简单的功能需求,在google浏览器测试时遇到了阻碍。我预想的代码大致是这样的:varexport=
document.getElementById("export");export.width = 0;export......
分类:
其他好文 时间:
2014-05-23 05:31:26
阅读次数:
408
1. 按F12开打开发者工具,点击红框部分按钮2. 点击红框部分3. 输入网址试一下
分类:
移动开发 时间:
2014-05-23 04:31:01
阅读次数:
269
1、典型的Point结构体 1 struct point { 2 double x, y; 3
point(double _x = 0, double _y = 0): x(_x), y(_y) { 4 } 5 void input() { 6
sca...
分类:
其他好文 时间:
2014-05-23 03:40:15
阅读次数:
362
很多情况下,我们需要控件的背景是透明的,就是要求直接看到控件父窗口的背景颜色、背景位图,比如标签控件、单选Radio控件、复选Check控件,通常都要求在父窗口的背景上进行绘制。然而要求控件的画布透明,这个技术在GDI的文档中没有看到Microsoft作任何说明,当然还是有别的办法。其一:如果程序支...
分类:
其他好文 时间:
2014-05-23 02:55:14
阅读次数:
326
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
建立ssh无验证连接
Check for SSH keys、
cd ~/.ssh
ls
Check the directory listing to see if you have a file named either id_rsa.pub or id_dsa.pub
检查有无产生过的key,一台机器只能创建一个。如果重新创建则前一个会被覆盖。
Generate a new SSH ...
分类:
其他好文 时间:
2014-05-22 18:33:48
阅读次数:
261
本文验证了在安卓环境下使用Json的Key作为反序列化条件的解析速度。结论是解析速度最快的不是阿里的fastjson,也不是Google的Gson,而是json-smart。...
分类:
移动开发 时间:
2014-05-22 17:23:06
阅读次数:
357
Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identical an...
分类:
其他好文 时间:
2014-05-22 16:46:03
阅读次数:
173
Android BluetoothAndroid
4.4上蓝牙协议栈采用的是BRCM和Google共同开发的bluedroid,代替了之前的Bluez.一、 Bluetooth 源码分布 (基于Android
4.4 )1. packages/apps/Settings/src/com/andr.....
分类:
移动开发 时间:
2014-05-22 16:23:06
阅读次数:
1948
一.前期准备1)google account:用gmail邮箱就ok2)debug
key:也就是开发者金钥3)app ID:也就是package
名称【步骤】1.打开Eclipse->Eindows->Preferences->Android->Build 复制SHA1
fingerprint后面...
分类:
移动开发 时间:
2014-05-22 15:04:12
阅读次数:
288