/**
?*?@brief?good?bye?2014?c
?*?@file?c.cpp
?*?@author?mianma
?*?@created?2014/01/06??16:42
?*?@edited??2014/01/06??16:42
?*?@type?game
?*?@note?
?*/
#include?<fstr...
分类:
数据库技术 时间:
2015-01-06 18:22:58
收藏:
0 评论:
0 赞:
0 阅读:
275
Arduino Yun的主要部件介绍 1.4.1??主要部件 Yun的主要部件如图1.4所示。 图1.4? Arduino Yun的主要部件 在Yun小小的板子上集成了两颗处理器。一个是ATmega32u4(标号6),它是Arduino端的控制器,与连接的是M...
分类:
其他 时间:
2015-01-06 18:22:47
收藏:
0 评论:
0 赞:
0 阅读:
308
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径 --> <property name="LOG_HOME" value="" /> <!-- 控制台输出 --> <appender name="ST...
分类:
其他 时间:
2015-01-06 18:22:36
收藏:
0 评论:
0 赞:
0 阅读:
182
SBT-Simple Build Tool入门 sbt的源文件目录结构 src/
??main/
????resources/
???????<files?to?include?in?main?jar?here>
????scala/
???????<main?Scala?sources>
????j...
分类:
其他 时间:
2015-01-06 18:22:26
收藏:
0 评论:
0 赞:
0 阅读:
255
rpm -qa | grep python检查是否安装python python -V 查看版本 [root@localhost thirds]# python Python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 Type "he...
分类:
编程语言 时间:
2015-01-06 18:22:16
收藏:
0 评论:
0 赞:
0 阅读:
185
有些特定需求, 比如说搜索引擎, 很多人都要求时间必须是时间戳. 所以, 我们把时间转成最原始的Long型. Gson默认的是不支持的, 需要手动处理一下. import java.lang.reflect.Type;
import java.util.Date;
import...
分类:
Web开发 时间:
2015-01-06 18:22:06
收藏:
0 评论:
0 赞:
0 阅读:
452
大家经常用到Spring IOC去管理对象之间的依赖关系,但一般情况下都有一个前提:这些Bean对象必须是通过Spring容器创建实例化的。 但实际上,项目中有可能会遇到这样的场景: 一个类不是通过Spring容器实例化的,而...
分类:
编程语言 时间:
2015-01-06 18:21:59
收藏:
0 评论:
0 赞:
0 阅读:
335
效果图如下所示: ? ? ? ? ? 说明:上面的半透明视图1(ViewController1:UIViewController),由下面的视图2(ViewController2:UIViewController)推出; ? ? ? ? ? ?这里通过UIView 也是可以实现的...
分类:
其他 时间:
2015-01-06 18:21:46
收藏:
0 评论:
0 赞:
0 阅读:
198
array_change_key_case( $arr ,CASE_LOWER || CASE_UPPER) 返回键名全为大写或者是小写的数组 array_rand($arr , num) 从数组中随机取出一个或多个单元 shuffle(&$arr) ? 将数组打乱 array_chunk($arr , $size ,...
分类:
编程语言 时间:
2015-01-06 18:21:36
收藏:
0 评论:
0 赞:
0 阅读:
281
isset函数是检测变量是否设置。? 格式:bool isset ( mixed var [, mixed var [, ...]] )? 返回值:? 若变量不存在则返回 FALSE? 若变量存在且其值为NULL,也返回 FALSE? 若变量存在且值不为NULL,则返回 TU...
分类:
Web开发 时间:
2015-01-06 18:21:27
收藏:
0 评论:
0 赞:
0 阅读:
260
一、HandlerInterceptor 用法 第一步:注册拦截器 <!-- 注册拦截器 -->
<mvc:interceptors>
<bean class="com.project.base.interceptor.ControlInterceptor" />
</mvc:interceptors> 第二步:继承HandlerIn...
分类:
编程语言 时间:
2015-01-06 18:21:17
收藏:
0 评论:
0 赞:
0 阅读:
276
这是我微信订阅号里面“道哥的黑板报”发表的一片文章,阅读后感觉受益匪浅,因此转载过来与大家分享。全文如下: ????最近一年接触到了很多成功的创业者、大公司高管,他们身体力行的教会了我怎么做公...
分类:
其他 时间:
2015-01-06 18:21:06
收藏:
0 评论:
0 赞:
0 阅读:
272
Ctrl+s 保存 document.onkeydown = function(event) {
if((event.metaKey || event.ctrlKey)&&event.keyCode==83){
formSubmit();
return false;??? //禁用浏览器的另存功能
}
}; 禁用Enter键表单自动...
分类:
Web开发 时间:
2015-01-06 18:20:56
收藏:
0 评论:
0 赞:
0 阅读:
141
1. 创建所有组: sudo dscl . -create /groups/deploy 2. 列出所有组: dscl . list /groups 3. 增加deploy用户到deploy组:sudo dscl . -append /Groups/deploy GroupMembership deploy 4. 删除deploy用户从dep...
分类:
系统服务 时间:
2015-01-06 18:20:46
收藏:
0 评论:
0 赞:
0 阅读:
333
出于公司自身业务需求, 要开发一个简单的广告投放排期系统,虽然没有很复杂的东西,但是也做了差不多一个星期。体会很深,学到的只是算是加固了不少,不过还需要继续努力! 知识点回顾:自定义函数的使用,利用s...
分类:
微信 时间:
2015-01-06 18:20:36
收藏:
0 评论:
0 赞:
0 阅读:
329
http://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/fedora-20/mosquito-myrepo-fedora-20.repo [mosquito-myrepo] name=Copr?repo?for?myrepo?owned?by?mosquito baseurl=https://copr-be.cloud....
分类:
系统服务 时间:
2015-01-06 18:20:26
收藏:
0 评论:
0 赞:
0 阅读:
665
调试进入类,类内容看不见?? 出现如下提示 Could not open the editor: The Class File Viewer cannot handle the given input (‘org.eclipse.ui.part.FileEditorInput‘). workspace\.metadata 删除该文件夹下的...
分类:
系统服务 时间:
2015-01-06 18:20:16
收藏:
0 评论:
0 赞:
0 阅读:
331
Running out of disk space in the pg_xlog directory is a fairly common Postgres problem. This important directory holds the WAL (Write Ahead Log) files. (WAL files contain a record of all changes ma...
分类:
数据库技术 时间:
2015-01-06 18:20:06
收藏:
0 评论:
0 赞:
0 阅读:
1623
下面为本人自己在工作中写业务代码的,并不是通用的,只供自己下次使用时能有个查找地,及正处在困扰中的程序员借鉴。 推荐好点博客给大家看看: http://blog.sina.com.cn/s/blog_75a8cfac01013aim.html http://...
分类:
编程语言 时间:
2015-01-06 18:19:56
收藏:
0 评论:
0 赞:
0 阅读:
699
Android 模拟器设置
分类:
移动平台 时间:
2015-01-06 18:19:46
收藏:
0 评论:
0 赞:
0 阅读:
294