EXEC sp_addlinkedserver 'TonyLink','','SQLOLEDB','111.111.1.111(服务器名)' EXEC sp_addlinkedsrvlogin 'TonyLink','false',NULL,'账号','密码'TonyLink 是固定的SELECT ...
分类:
数据库 时间:
2014-06-16 00:02:41
阅读次数:
262
window.ll = function f() { ll.history = ll.history || []; ll.history.push(arguments); if (this.console) { var a = arguments, c; ...
分类:
Web程序 时间:
2014-06-15 23:43:13
阅读次数:
410
一般而言我们创建用于接收error的类型大多声明如下:boost::system::error_code error 我们用这个类型去接受在函数中产生的错误如socket.connect( endpoint, error);如果连接失败,错误类型会保存到error中,比如连接主机失败可能会返回这样....
分类:
其他好文 时间:
2014-06-15 23:27:16
阅读次数:
239
While reading /XXX/XXX/XXX/img1.png pngcrush caught libpng error: Not a PNG filCould not find file: /Users/XXX/Library/Developer/Xcode/DerivedData/C.....
分类:
其他好文 时间:
2014-06-15 22:56:42
阅读次数:
351
使用了Amazon AWS EC2免费云空间,数据库实例采用Amazon RDS。原来在Windows Server上有一个存在大量数据的MySQL数据库。现在需要在Amazon RDS上还原这个MySQL数据库,勾掉Views(因为它会要求SUPER权限,而Master User无此权限,毕竟是托...
分类:
数据库 时间:
2014-06-15 22:54:13
阅读次数:
483
设置透明度(这是窗体本身的透明度,非背景)1 WindowManager.LayoutParams lp=getWindow().getAttributes();2 lp.alpha=0.3f;3 getWindow().setAttributes(lp);alpha在0.0f到1.0f之间。1.0...
分类:
移动开发 时间:
2014-06-15 22:26:12
阅读次数:
335
排个序,求前k个元素和即可 int minimum(int K, vector danceCost) { sort(danceCost.begin(),danceCost.end()); return accumulate(danceCost.begin()...
分类:
其他好文 时间:
2014-06-15 21:53:14
阅读次数:
201
ie10的input加了两个特性:对应的,可以用css方式去除:input::-ms-clear{display:none;}input::-ms-reveal{display:none;}
分类:
其他好文 时间:
2014-06-15 21:36:31
阅读次数:
305
error: SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify fail...
分类:
其他好文 时间:
2014-06-15 20:45:58
阅读次数:
460
百度定位demo文档上很清楚,网上资源不多,不齐全,给大家分享下
61 : GPS定位结果\n
62 : 扫描整合定位依据失败。此时定位结果无效。\n
63 : 网络异常,没有成功向服务器发起请求。此时定位结果无效。\n
65 : 定位缓存的结果。\n
66 : 离线定位结果。通过requestOfflin...
分类:
移动开发 时间:
2014-06-15 17:13:31
阅读次数:
451