①file/new/other/androd Application
Poject,选择SDKDemo,复制到workspace②申请amap的key,名字在res/values/strings/的demo_title:为AMapsD
Demo③run-as可以在模拟器里也可以在手机上。
分类:
其他好文 时间:
2014-05-05 21:48:01
阅读次数:
257
我下载了MAPR 官方提供的virtualbox 和
vmware版本的sandbox进行试用.开始试用了一会vmware版的,因为不太熟悉vmware的操作,而且vmplayer经常没有反应,后来改用了virtualbox版.因为sandbox是单机版的,所以必须把网络设置设为host
only,...
分类:
其他好文 时间:
2014-05-04 12:31:44
阅读次数:
319
echo mysql_get_client_info()."";//获取mysql客户端信息 echo
mysql_get_host_info()."";//获取mysql主机信息 echo mysql_get_server_info()."";//获取m...
分类:
Web程序 时间:
2014-05-03 23:11:37
阅读次数:
557
DDL :Data Definition Language (DDL) statements
are used to define the database structure or schema. Some examples:CREATE - to
create objects in the da...
分类:
数据库 时间:
2014-05-03 22:21:22
阅读次数:
410
题目:
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (c...
分类:
其他好文 时间:
2014-05-03 21:48:19
阅读次数:
252
2dx3.0下JSON解析库官方已经集成好了,我们引用就OK。
JSON文件hello.json内容
{"pets":["dog","cat"],"stuInfo":{"stuAge":"23","stuName":"zhangsan","birthday":"1990-01-12"},"username":"tomsfff","other":[true,30]}
.h头文件...
分类:
Web程序 时间:
2014-05-03 21:34:48
阅读次数:
319
Tickets
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 4 Accepted Submission(s) : 2
Font: Times New Roman | Verdana | Georgia
Font Size: ←...
分类:
其他好文 时间:
2014-05-03 21:16:19
阅读次数:
360
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5176
Simple Equation
Time Limit: 2 Seconds Memory Limit: 65536 KB
There are many Equations. Some are difficu...
分类:
其他好文 时间:
2014-05-03 17:47:01
阅读次数:
343
Valera wanted to prepare a Codesecrof round. He's already got one problem and he wants to set a time limit (TL) on it.
Valera has written n correct solutions. For each correct solution, he knows it...
分类:
其他好文 时间:
2014-05-03 16:53:51
阅读次数:
364
只是看看能不能成功使用python操作redis,redis具体的数据结构和使用会在以后学习。安装连接redis的包pipinstallredis本地已经在6379端口启动了redis服务。In[1]:importredis
In[2]:r=redis.StrictRedis(host=‘localhost‘,port=6379,db=0)
In[3]:r.set(‘foo‘,‘bar‘)
Out[3]:Tru..
分类:
编程语言 时间:
2014-05-03 14:38:32
阅读次数:
405