摘要:
1. this is the permission other should acquire before using this app2. this is the permission an app should acquire before using another app or system...
阅读全文
posted @ 2014-11-07 12:36
phoenix13
阅读(149)
推荐(0)
摘要:
1. make a app as browser, register in AndroidManifest.xml http://blog.vogel...
阅读全文
posted @ 2014-11-07 02:51
phoenix13
阅读(194)
推荐(0)
摘要:
http://zetcode.com/db/mysqlcsharptutorial/ MySQL C# tutorial0. first: add reference MySql.Dataaddusing MySql.Data.MySqlClient; 1. connect & selec...
阅读全文
posted @ 2014-10-31 11:34
phoenix13
阅读(439)
推荐(0)
摘要:
http://www.youtube.com/watch?v=mKjvKPlb1rA SOAP Web Services 01 - Introduction To Web Serviceshttps://www.youtube.com/watch?v=GzN1vHWlJjA W...
阅读全文
posted @ 2014-10-30 10:06
phoenix13
阅读(172)
推荐(0)
摘要:
1.Bundle savedInstanceState it is not persist. it does not share between activities, it is nolyfor one activity. it is saved for soft kill like: 1.o...
阅读全文
posted @ 2014-10-28 04:39
phoenix13
阅读(141)
推荐(0)
摘要:
1. $sum: add 1 for each document in groupexample1:select manufacturer,count(*) from xxgroup bymanufacturer{ "_id" : ObjectId("50b1aa983b3d0043b51b2...
阅读全文
posted @ 2014-10-08 02:46
phoenix13
阅读(387)
推荐(0)
摘要:
0. statsshow db statsdb.grades.stats()1. create indexdb.students.ensureIndex({class:1,student_name:1})unique indexdb.students.ensureIndex({class:1,stu...
阅读全文
posted @ 2014-10-01 11:12
phoenix13
阅读(466)
推荐(0)
摘要:
1. handle exceptionimport systry: a=1/1except Exception, e: print "failed", sys.exc_info()[0]else: print "no exception"finally: print "e...
阅读全文
posted @ 2014-09-18 11:51
phoenix13
阅读(367)
推荐(0)
摘要:
1. hello world. URL handerimport bottle@bottle.route('/')def home_page(): return "hello world\n"@bottle.route('/testpage')def test_page(): retur...
阅读全文
posted @ 2014-09-18 09:35
phoenix13
阅读(311)
推荐(0)
摘要:
1. connectionoption 1import pymongofrom pymongo import MongoClientcon=MongoClient('localhost',27017)db=con.db# database name "db"names=db.users # coll...
阅读全文
posted @ 2014-09-17 08:45
phoenix13
阅读(226)
推荐(0)