汉化方法:1,打开屏幕上方的“system”(系统),里面有个“Administration”(系统管理),选择“Snaptic Package Manager”(软件包管理器),打开,输入密码后进入软件包管理器,在里面找到Language-pack-gnome-zh和Language- pack-...
分类:
系统相关 时间:
2015-08-10 10:34:09
阅读次数:
129
官网:http://www.bozemanscience.com/chemistry/ChemistryUnit 1: IntroductionFactor-Label MethodScientific MethodSignificant DigitsUnit 2: Matter & Atomic ...
分类:
其他好文 时间:
2015-08-10 10:34:59
阅读次数:
120
原文: http://my.oschina.net/plumsoft/blog/42763iOS程序中的Action Sheet就像Windows中的 “确定-取消”对话框一样,用于强制用户进行选择。当用户将要进行的操作具有一定危险时,常常使用Action Sheet对用户进行危险提示,这样,用户有...
分类:
移动开发 时间:
2015-08-10 10:32:48
阅读次数:
212
1 var data = [{ 2 "id": 1, 3 "checked":true, 4 "text": "系统菜单", 5 "children": [{ 6 "id...
分类:
其他好文 时间:
2015-08-10 10:35:16
阅读次数:
134
项目用的是jdbc+mysql,局网取数据的时候,数据一切正常,但是传到服务器上以后,曾经是好的不知道为什么,近期一传就取不到数据,发现android写的也没有问题,至少大体上没有语法问题。跟踪后发现sql没问题,直接放到mysql中执行有数据。但是奇了怪了,后来发现了一个就是where 后面没有条...
分类:
数据库 时间:
2015-08-10 10:32:59
阅读次数:
183
1.attrs.xml中写:在values文件夹下。 2.布局文件中写: 1 2 s 7 8 17 18 View Code
分类:
其他好文 时间:
2015-08-10 10:32:05
阅读次数:
170
求循环节。#include#include#define maxn 1000010int next[maxn];char s[maxn];void getnext(){ int j,k,len=strlen(s); j=0; k=-1; next[0]=-1; whil...
分类:
其他好文 时间:
2015-08-10 10:34:55
阅读次数:
94
1、先直接上函数function array_sort($arr,$keys,$type='asc'){ $keysvalue = $new_array = array(); foreach ($arr as $k=>$v){ $keysvalue[$k] = $v[$keys]; } ...
分类:
编程语言 时间:
2015-08-10 10:32:16
阅读次数:
152
鼠标事件 canvas.onmousedown = function(e ) {//React to the mouse down event }; canvas.addEventListener('mousedown', function(e ) { //React to the mouse do...
分类:
其他好文 时间:
2015-08-10 10:33:34
阅读次数:
12769
1、列出MySQL服务器运行各种状态值? mysql> show global status;? 2、查询MySQL服务器配置信息语句? mysql> show variables;? 3、慢查询? mysql> show variables like ‘%slow%‘;? +------------------+--...
分类:
数据库 时间:
2015-08-10 09:31:58
阅读次数:
197
3.0 <?xml?version="1.0"?encoding="UTF-8"?>
<web-app?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?xmlns="http://java.sun.com/xml/ns/javaee"?xsi:schemaLocation="http://java.sun.com/xml...
分类:
Web程序 时间:
2015-08-10 09:33:05
阅读次数:
149
square函数主要计算一个数的平方 code: .section?.data
.section?.text
.global?_start
fmt:
????.ascii?"%d\n\0"
_start:
????pushq?$2
????call?square
????addq?$8,?%rsp?????...
分类:
其他好文 时间:
2015-08-10 09:31:47
阅读次数:
167
需求:在黑马做安全卫士的时候,功能9设置中心界面如下:在点击item的时候,复选框会反转状态,同时"自动更新已经关闭"会变换内容和颜色。可以发现这个界面类似ListView,但又不是ListView,因为它的item数量是固定的,且最后一item和之前的都不一样。虽然这个看着像是标准的Li..
分类:
移动开发 时间:
2015-08-10 09:30:15
阅读次数:
244
Life is filled with regrets. Ask anyone around you what their regrets are and they usually have no difficulty coming up with many items on their “regret list.” And for some reason our twenties are ripe...
分类:
移动开发 时间:
2015-08-10 09:29:50
阅读次数:
288
这节来讨论一下当程序出现错误的时候是怎样的?
1.还是以上一章节的代码作为例子
print("hello world")
print("i am ray")
print("i love China \n" * 8)
print("welcome to my class")
print(over")
最后一句那里,明显少了一个双引号,点击F5或者Run Module之后,会出现下面情...
分类:
编程语言 时间:
2015-08-10 09:30:01
阅读次数:
125
前言前言前言前言...
分类:
编程语言 时间:
2015-08-10 09:28:33
阅读次数:
186
如果不能设计一个合理的数据库模型,不仅会增加客户端和服务器段程序的编程和维护的难度,而且将会影响系统实际运行的性能。所以,在一个系统开始实施之前,完备的数据库模型的设计是必须的。
在一个系统分析、设计阶段,因为数据量较小,负荷较低。我们往往只注意到功能的实现,而很难注意到性能的薄弱之处,等到系统投入实际运行一段时间后,才发现系统的性能在降低,这时再来考虑提高系统性能则要花费更多的人力...
分类:
数据库 时间:
2015-08-10 09:29:56
阅读次数:
144