public static String XMLTOJSON(String XMLContent,String tag){XMLSerializer xmlSerializer = new XMLSerializer(); JSON json = xmlSerializer.read(XMLCont...
分类:
Web程序 时间:
2014-07-01 13:35:05
阅读次数:
256
1.获取某段日期范围内的所有日期/// /// 获取某段日期范围内的所有日期,以数组形式返回 /// /// 开始日期 /// 结束日期 /// private DateTime[] GetAllDays(DateTime dt1, DateTime dt2) { List list...
分类:
其他好文 时间:
2014-07-01 13:29:02
阅读次数:
151
创建元素document.createElement("li");添加节点oUl.appendChild(oLi);在某个元素之前插入一个节点oUl.insertBefore(oLi,oUl.firstChild);删除节点aA[i].onclick = function(){ Ul.remove....
分类:
其他好文 时间:
2014-07-01 13:24:53
阅读次数:
243
如果是KDM、GDM、LightDM,打开~/.xprofile。如果是startx、Slim,打开~/.xinitrc。(没有就新建一个)export GTK_IM_MODULE=fcitxexport QT_IM_MODULE=fcitxexport XMODIFIERS="@im=fcitx"...
分类:
其他好文 时间:
2014-07-01 12:59:02
阅读次数:
586
这种理论看的已经够多了,感觉应用价值不大(矫正畸变图像还凑合,用摄像机测距神马的。。。) 有始有终吧,简单把内容梳理一下 针孔 摄像机模型 —— 过于理想(不能为快速曝光收集足够的光线) 透镜可以聚焦足够多的光线到某个点上,使得图像的生成更加迅速 —— 代价,引入畸变 摄像机模型 焦距 针孔中的点 ...
分类:
其他好文 时间:
2014-07-01 12:40:55
阅读次数:
256
// _closeContainerBar.alpha = 0.7; [_closeContainerBar setBackgroundColor:[[UIColor blackColor] colorWithAlphaComponent:0.7]];
分类:
其他好文 时间:
2014-07-01 12:37:36
阅读次数:
181
Live broadcasting with arduinoget a pc , make it run linux. make arduino catch the weather sensor and then transport the information to the PC side. P...
分类:
其他好文 时间:
2014-07-01 12:15:21
阅读次数:
167
一、array[] 与 vector vector1 1 array[] vector1() vector2(array1,array1+sizeof(array)) <-第二种定义方式,可以将确定的地址放到vector中,前例中就是将一个数组放到vector中 3.1大小的判断 array[] <...
分类:
编程语言 时间:
2014-07-01 11:46:27
阅读次数:
161
#include
char RandString();
int main( void )
{
int i=0;
char cTemp;
char sKey[9];
memset(&cTemp, 0, sizeof(cTemp));
memset(sKey, 0, sizeof(sKey));
sran...
分类:
其他好文 时间:
2014-07-01 08:05:02
阅读次数:
173
#include
#include
int main( void )
{
char sFileName[128];
int iRet = 0;
memset(sFileName, 0, sizeof(sFileName));
sprintf(sFileName, "test.txt");
printf("R_OK[%d...
分类:
数据库 时间:
2014-07-01 07:41:30
阅读次数:
302