实战一: 声明一个抽象类(SuperTeacher):(超级老师) 一个不可变属性,和两个可变属性(主键和年龄),一个未实现方法(教书) 声明一个子类(TeacherForMaths): 抽象类的测试类 实战二: 抽象事件类:event,对于一个事件来说,事件名称决定他的不同,所以名称是不可变的,可 ...
分类:
其他好文 时间:
2016-07-05 12:18:42
阅读次数:
132
ubuntu系统使用SSH免密码登陆 ubuntu系统使用SSH免密码登陆 我们通常使用Ubuntu系统远程登陆时,一般使用 PASSWORD【用户名+密码】 的方式进行验证登陆,但是这种方式在使用的过程中需要频繁的输入用户名和密码,显得很繁琐,我们可以更具安全性的RSA密钥认证来避免这种登陆方式。 ...
分类:
其他好文 时间:
2016-07-05 12:18:53
阅读次数:
149
<service verb="create" noun="TelecomNumber"> <in-parameters> <auto-parameters entity-name="mantle.party.contact.TelecomNumber" include="nonpk"/> <para ...
分类:
其他好文 时间:
2016-07-05 12:19:14
阅读次数:
123
<?php$username=$_GET['uid']; //获取一个值作为查询条件$result=$db->query("select * from trip where author='".$username."'");$num_cats=$result->num_rows; //是否有返回行i ...
分类:
数据库 时间:
2016-07-05 12:18:39
阅读次数:
174
分为管理用户体系,和成员用户体系,也就是 Users(用户)和Members(成员). 2.1. Users(用户) 用户是对功能操作权限定义的,首先看一下所有Action的Permissions: Browse Node/Edit in Canvas/Create/Send To Translat ...
分类:
其他好文 时间:
2016-07-05 12:17:00
阅读次数:
231
内建函数 # !/usr/bin/env python # -*- coding:utf-8 -*- """ 每个py文件都有自己的私有函数 print(vars()) 可以查看 如果在导入模块的时候,这个模块是一个目录的话下需要在里面创建一个__init__的文件 """ #print(vars( ...
分类:
其他好文 时间:
2016-07-05 12:17:29
阅读次数:
145
1) 作用 Message:消息,其中包含了消息ID,消息处理对象以及处理的数据等,由MessageQueue统一列队,终由Handler处理。 Handler:处理者,负责Message的发送及处理。使用Handler时,需要实现handleMessage(Message msg)方法来对特定的M ...
分类:
移动开发 时间:
2016-07-05 12:18:24
阅读次数:
187
idcdpi源文件下的tools下有一个文件 vssver2.scc vssver2.scc是什么文件 首先,先来个名词解释:Microsoft Visual Source Safe是美国微软公司出品的版本控制系统,简称VSS。 在使用VSS进行源码管理时,当软件部署时,在部署文件夹下会有许多的vs ...
分类:
其他好文 时间:
2016-07-05 12:17:17
阅读次数:
168
This is a user experience of running the entire suite of Mercedes-Benz sd connect c4 software XENTRY / DAS on a Macbook air. “I have an unused Airbook ...
分类:
系统相关 时间:
2016-07-05 12:18:25
阅读次数:
370
Errors In the event of an error or an exception, a custom error message is displayed: An error occurred, The error has been reported. This comes from ...
分类:
其他好文 时间:
2016-07-05 12:17:04
阅读次数:
126
出现error: Assertion failure in -[AFHTTPRequestSerializer requestWithMethod:URLString:parameters:error:] 需要处理urlString的编码 urlString = [urlString stringB ...
分类:
Web程序 时间:
2016-07-05 12:16:03
阅读次数:
157
我会用几篇博客总结一下在Linux中进程之间通信的几种方法,我会把这个开头的摘要部分在这个系列的每篇博客中都打出来 进程之间通信的方式 管道 消息队列 信号 信号量 共享存储区 套接字(socket) 这次主要写的是消息队列,之前讲过的管道和消息队列在本质上就有很大的区别,管道是一个文件,而消息队列 ...
分类:
系统相关 时间:
2016-07-05 12:16:14
阅读次数:
233
获取textview行数textview代码import android.content.Context;import android.graphics.Canvas;import android.text.Layout;import android.text.Layout.Alignment;im... ...
分类:
其他好文 时间:
2016-07-05 12:16:59
阅读次数:
147
Input Basic Input Old Input Files Please note that both Input and Request do NOT sanitize your data, it is up to you to do that. Basic Input You may a ...
分类:
其他好文 时间:
2016-07-05 12:16:31
阅读次数:
154
Helpers Overview Helpers are classes that are not part of the core system but can greatly improve it by adding new features and possibilities. This se ...
分类:
其他好文 时间:
2016-07-05 12:14:59
阅读次数:
115
首先,可以检测任何按键键值 分别是上下左右键的键值。 其次,控制台读取方向键指令 方法一 方法二 ...
分类:
编程语言 时间:
2016-07-05 12:17:00
阅读次数:
462
话不多说,直接上图 利用border覆盖属性: 类似这样的尖角都是这样做: 小图片可以去http://www.bootcss.com/p/font-awesome/ 下载第三方模块, 对应的是unicode编码图片 Font Awesome为您提供可缩放的矢量图标,您可以使用CSS所提供的所有特性对 ...
分类:
Web程序 时间:
2016-07-05 12:14:21
阅读次数:
240