1 在QT在第三方插件里加入VNC
进入\src\plugins\gfxdrivers\vnc,qmake -------make--------- make install
把目标文件夹gfxdrivers拷贝到嵌入式QT的plugins目录下2 启动的时候 ./app -qws -display...
分类:
其他好文 时间:
2014-05-12 14:40:24
阅读次数:
248
Given a binary tree, flatten it to a linked
list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:
其他好文 时间:
2014-05-12 10:11:40
阅读次数:
276
原题地址:http://oj.leetcode.com/problems/flatten-binary-tree-to-linked-list/题意:Given
a binary tree, flatten it to a linked list in-place.For example,Given...
分类:
编程语言 时间:
2014-05-12 05:30:32
阅读次数:
367
第一步:首先是Widget的定义声明:
在资源文件下的xml文件夹中建立文件example_appwidget_info.xml:
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/process_widget"
...
分类:
移动开发 时间:
2014-05-11 04:22:25
阅读次数:
503
最近公司项目使用WebService ,这里简单做个总结。
公共接口很多:http://www.webxml.com.cn/zh_cn/index.aspx
这里使用获取天气接口:
直接上代码吧。比较简单,由于时间关系,没有详细做。但是大体上如何使用应该还是可以看的出来。但,还是研究比较深要好点。
项目结构图:
package com.example.ut...
分类:
Web程序 时间:
2014-05-11 03:29:20
阅读次数:
534
题目
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,...
分类:
其他好文 时间:
2014-05-11 03:25:24
阅读次数:
298
//============================================//绝对不中,彩票开奖模拟器#include
"mainwindow.h"#include "ui_mainwindow.h"#include #include
MainWindow::MainWindow(...
分类:
其他好文 时间:
2014-05-10 21:01:57
阅读次数:
302
最近这阵子,接了个私活,封装一个开发包俗称的SDK给客户调用,查阅了很多人家的SDK,绝大部分用VC编写,而且VC6.0居多,估计也是为了兼容大量的XP用户及IE浏览器,XP自带了VC6.0运行库,所以无需兼带其他DLL即可运行。也发现有些用汇编和C封装的,那估计是高手才能编写啊!那怎么办呢?眼看一...
分类:
其他好文 时间:
2014-05-10 20:53:53
阅读次数:
624
运行脚本,提交job往YARN提交Samza
job要使用run-job.sh这个脚本。samza-example/target/bin/run-job.sh
--config-factory=samza.config.factories.PropertiesConfigFactory --conf...
分类:
其他好文 时间:
2014-05-10 17:52:13
阅读次数:
609