代码如下:
Insert title here
var el = document.createElement("div");
el.innerHTML = ' titleValue hello ';
var descElements = el.getElementsByTagName("head");
document.getElementById("content...
分类:
Web程序 时间:
2014-08-05 14:12:10
阅读次数:
221
今天不小心把一个目标文件当成了可执行文件放到开发板上进行执行,结果出现了这样一个问题:./hello_qt: line 1: syntax error: word unexpected (expecting ")"),因为以前没有碰到过这事,一时间有点蒙,就是一个简单的hello world按道理不...
分类:
其他好文 时间:
2014-08-05 13:52:19
阅读次数:
280
1.设计接口类: public interface IBase{ void Somefun();}2.设计扩展插件类: class PluginCls:IBase{ public void Somefun() { Console.WriteLine("hello ,i am derived clas...
分类:
其他好文 时间:
2014-08-05 13:45:39
阅读次数:
159
针对前后含有空格、有空格的、空字符串、以及null字符的判断 public static void main(String[] args) { String s1 = ""; String s2 = null; String s3 = " "; String s4 = "hello...
分类:
其他好文 时间:
2014-08-05 13:20:09
阅读次数:
207
// 加密传入的数据是byte类型的,并非使用decode方法将原始数据转二进制,String类型的数据 使用 str.getBytes()即可
String str = "Hello!";
// 在这里使用的是encode方式,返回的是byte类型加密数据,可使用new String转为String类型
String strBase64 = new String(Base64.enc...
分类:
移动开发 时间:
2014-08-05 11:16:59
阅读次数:
228
Hello, World 原文:http://blog.csdn.net/lybwwp/article/details/8127475
分类:
其他好文 时间:
2014-08-05 02:56:08
阅读次数:
217
之前也接触过百度地图的开发,但那是在网上找的案例或代码,而且是比较老的版本。打算重新学习一下百度地图的开发。本次使用的百度地图的版本是Android SDK v3.0.0本篇文章主要讲述百度地图开发的准备和地图的成功显示即可。首先建议大家先申请注册一个百度账号。申请密钥(要想实现百度地图的相关服务必...
分类:
移动开发 时间:
2014-08-05 00:36:58
阅读次数:
336
这几天看一个ros软路由的的API借口的C++实现看到一个关于DEBUG的测试,第一次见,感觉挺实用的,记录一下:#include#include #define DEBUG 1using namespace std;int main(){ DEBUG ? printf("hello\n") ...
分类:
其他好文 时间:
2014-08-05 00:34:08
阅读次数:
214
初次接触Cocos2d-x,准备搭建一个hello world的Android环境,问题遇到很多。在此记录,为自己,也为大家,避免重走弯路!具体的环境搭建,可以参考官方的文档。在Windows7平台搭建Cocos2d-x Android开发环境。1.Android-ndk-r10不能放在具有空格.....
分类:
移动开发 时间:
2014-08-05 00:19:58
阅读次数:
2409
一、web服务器示例var http = require('http');http.createServer(function(req, res){ res.writeHeader(200, {Content-Type : 'text/plain'}); res.end('hello w...
分类:
Web程序 时间:
2014-08-05 00:01:58
阅读次数:
417