搜索到与相关的文章
Android

Android开发之又见Hello World!

量变产生质变,如果你从第一篇一直看到了这篇,可以说这就是你的质变点之一。回顾及展望经过数篇对Android应用程序的原理的讲述,现在我们大概回顾一下。首先我们利用HelloWorld程序介绍了一个Android应用程序的目录结构,包括src文件夹、gen文件夹、Androidx文件夹、assets文件夹、AndroidMainifest.xml、default.properties;接下来我们又站在架构的高度分析了一下Android系统的主要组成部分,包括

系统 2019-08-29 22:32:07 2502

编程技术

pygtk-entry

#!/usr/bin/envpython#exampleentry.pyimportpygtkpygtk.require('2.0')importgtkclassEntryExample:defenter_callback(self,widget,entry):entry_text=entry.get_text()print"Entrycontents:%s\n"%entry_textdefentry_toggle_editable(self,checkb

系统 2019-08-29 22:25:58 2502

编程技术

SQL中EXISTS的用法

问题:查询学过编号为"01"并且也学过编号为"02"的课程的同学的信息--方法1selectStudent.*fromStudent,SCwhereStudent.S#=SC.S#andSC.C#='01'andexists(Select1fromSCSC_2whereSC_2.S#=SC.S#andSC_2.C#='02')orderbyStudent.S#EXISTS用于检查子查询是否至少会返回一行数据,该子查询实际上并不返回任何数据,而是返回值Tru

系统 2019-08-29 22:11:00 2502

各行各业

How to access share directory on NAS server

1.Inwindows,wejustenter\\nas.xxx.com,thenwewillenterthesharedirectory2.InUbuntu,wecancreateanetwork:Places-Connecttoserver...-SelectWindowsShare-EnterServer(nas.xxx.com)-ClickConnectThenanetworkwillbecreated.InSidePane,wewillseeth

系统 2019-08-12 09:27:22 2502

各行各业

Map/Reduce中Join查询实现

http://www.cnblogs.com/MengYan-LongYou/p/3360613.html在做这个Join查询的时候,必然涉及数据,我这里设计了2张表,分别较data.txt和info.txt,字段之间以/t划分。data.txt内容如下:2010011003abc2010021005def2010031006ghi2010041003jkl2010051004mno2010061005pqrinfo.txt内容如下:1003kaka100

系统 2019-08-12 09:27:14 2502

数据库相关

Help Johnny-(类似杭电acm3568题)

HelpJohnny(类似杭电3568题)DescriptionPoorJohnnyissobusythisterm.Histutorthrewlotsofhardproblemstohimanddemandedhimtoaccomplishthoseproblemsinamonth.Whatawickedtutor!Aftercursinghistutorthousandsoftimes,Johnnyrealizedthathemuststarthisw

系统 2019-08-12 01:53:54 2502

数据库相关

Database | SQL

BasicofMySQL创建数据库:1mysql>createdatabasexxj;2QueryOK,1rowaffected(0.00sec)列举数据库:1mysql>showdatabases;2+--------------------+3|Database|4+--------------------+5|information_schema|6|mysql|7|xxj|8+--------------------+进入某个数据库:1mysql>

系统 2019-08-12 01:53:27 2502

数据库相关

Database Indices

数据库table的index是建立在一个或多个column上的一个数据结构,选定的一个或若干个column称作index的key,用来加快相应key所对应的record(tuple)的定位.从数据结构的角度来看,索引是一个map,将key映射到对应的record的指针.索引能提供更好的查找性能,关键之处在于,一个block可以存储的(key,pointer_to_record)是可以很多的,要远大于一个block存储的record的个数,这意味着查找过程中

系统 2019-08-12 01:52:02 2502

Linux

Linux中变量$#,$@,$0,$1,$2,$*,$$,$?的含义

转自:http://dadekey.blog.51cto.com/107327/119938/我们先写一个简单的脚本,执行以后再解释各个变量的意义#touchvariable#vivariable脚本内容如下:#!/bin/shecho"number:$#"echo"scname:$0"echo"first:$1"echo"second:$2"echo"argume:$@"echo"showparmlist:$*"echo"showprocessid:$$

系统 2019-08-12 01:33:42 2502