首先说下我的原因是因为配置中set nocompatible " be iMproved, requiredfiletype off " required" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bu...
分类:
其他 时间:
2015-01-24 23:55:46
收藏:
0 评论:
0 赞:
0 阅读:
370
代码:$filename="des_big.jpg";list($src_w,$src_h,$imagetype)=getimagesize($filename);$mime=image_type_to_mime_type($imagetype);//echo $mime;//输出为imae/jpe...
分类:
其他 时间:
2015-01-24 23:55:37
收藏:
0 评论:
0 赞:
0 阅读:
381
/***时间对象的格式化*/Date.prototype.format=function(format){/**format="yyyy-MM-ddhh:mm:ss";*/varo={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHo...
分类:
Web开发 时间:
2015-01-24 23:55:26
收藏:
0 评论:
0 赞:
0 阅读:
401
继续畅通工程Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14910Accepted Submission(s): 6458Problem Des...
分类:
其他 时间:
2015-01-24 23:55:16
收藏:
0 评论:
0 赞:
0 阅读:
338
因Python语言在大数据处理,以及科学计算方向的雄起,另Django等Web框架已经在业界获得共识多年,所以本文拟搭建Python的学习开发环境。由于本人的笔记本及实验室主机系统环境以Windows为主,所以本文意在搭建Windows环境下的Python开发环境。本文的内容主要分为以下几个部分:1...
分类:
编程语言 时间:
2015-01-24 23:55:06
收藏:
0 评论:
0 赞:
0 阅读:
702
default.aspx 代码如下: default.aspx.cs 代码如下:using System;using System.Collectio...
分类:
Web开发 时间:
2015-01-24 23:54:56
收藏:
0 评论:
0 赞:
0 阅读:
413
1.创建或初始化可用以下方法 + (id)date; + (id)dateWithTimeIntervalSinceNow:(NSTimeInterval)secs; + (id)dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval)secs;...
分类:
其他 时间:
2015-01-24 23:54:47
收藏:
0 评论:
0 赞:
0 阅读:
594
来自:http://www.cnblogs.com/k5054/archive/2012/12/26/2834205.html对于面向对象开发,抽象类与接口这两个东西是比较难理解的!今天看了一整天!自己总结一下吧!抽象类:是基于类来说,其本身就是类,只是一种特殊的类,不能直接实例,可以在类里定义方法...
分类:
Web开发 时间:
2015-01-24 23:54:26
收藏:
0 评论:
0 赞:
0 阅读:
336
/* Skogkatt 开始翻译于2015-01-24,仅作为学习研究之用,谢绝转载。 译注:我翻译这本书的这三章虽然蓄谋已久,但并不是一个计划好的工作。因为之前和vczh、mili、darkfall曾讨论过everything这个软件,也曾想过要写一个开源的everything,于是就出来一个坑。...
分类:
Web开发 时间:
2015-01-24 23:54:16
收藏:
0 评论:
0 赞:
0 阅读:
765
package com.example.sqlconnecttest;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database...
分类:
移动平台 时间:
2015-01-24 22:51:11
收藏:
0 评论:
0 赞:
0 阅读:
475
以前看到过有进度条是填充文字的,好奇心作祟,便想自己写一个试试,但是还是比较粗糙,进度条末端没有水流等涌动的效果。
两个控件都是继承TextView,便于设置字体大小等相关属性。
1,GradientTextView 渐变颜色的文字控件
主要用到LinearGradient类,用于渐变颜色,
new LinearGradient(0, 0, width, height...
分类:
其他 时间:
2015-01-24 22:51:08
收藏:
0 评论:
0 赞:
0 阅读:
399
黑洞路由:主要是指指向null接口的路由,null接口是一个虚拟的接口
无法被配置ip地址,转发到该接口上的数据包都会被丢掉,所以对于所
有可能因为中断故障产生路由回路的路由都加上一条黑洞路由。
例如在配置有默认路由的环境中如果该路由器中的某一个路由项因为故障
中断,那么很可能在两个路由器中造成路由环路
实验环境:H3C ENSP
配置要点:
(系统模式)ip route-s...
分类:
其他 时间:
2015-01-24 22:51:04
收藏:
0 评论:
0 赞:
0 阅读:
449
从第15场到第27场,总共断断续续的参加了9场比赛了,被虐了这么久,也或多或少有了点感慨吧233
写篇文章记录一下我的被虐历程0-0
做了这么多比赛也真的感觉自己收获了不少(虽然照样很傻逼照样被虐)
27场之前还是光荣的蓝名狗一下又跌落回绿名的底层了QAQ
顺便仰慕一下学长和神队友TA OTZ
下次再滚回蓝名!!!...
分类:
其他 时间:
2015-01-24 22:50:06
收藏:
0 评论:
0 赞:
0 阅读:
376
并没有发现MongoDB有专用的求最大值的方法,不过可以通过排序和取第一条来代替。下面的集合数据如下:{ "_id" : ObjectId("54c39358acace71b1bd20a70"), "epoch_min" : NumberLong(1422030840), "usage_ratio" : 0.035140007734298706 }
{ "_id" : ObjectId("54c3...
分类:
数据库技术 时间:
2015-01-24 22:49:56
收藏:
0 评论:
0 赞:
0 阅读:
389
如果更注重成本,从长期来看,成本将增加、质量将下降;如果更注重质量,从长期来看,成本将下降、质量将提升...
分类:
其他 时间:
2015-01-24 22:49:46
收藏:
0 评论:
0 赞:
0 阅读:
335
//
// main.m
// OC04-task-05
//
// Created by keyzhang on 15-1-24.
// Copyright (c) 2015年 keyzhang. All rights reserved.
//
#import
int main(int argc, const char * argv[]) {
@autoreleasepoo...
分类:
其他 时间:
2015-01-24 22:49:36
收藏:
0 评论:
0 赞:
0 阅读:
321
//
// main.m
// OC04-task-08
//
// Created by keyzhang on 15-1-24.
// Copyright (c) 2015年 keyzhang. All rights reserved.
//
#import
#import "Person.h"
int main(int argc, const char * argv[]) {
...
分类:
编程语言 时间:
2015-01-24 22:49:27
收藏:
0 评论:
0 赞:
0 阅读:
385
1.创建
var richText = new ccui.RichText();
richText.ignoreContentAdaptWithSize(false);
richText.width = 120;
richText.height = 100; 通过赋值width和height来设置c...
分类:
其他 时间:
2015-01-24 22:49:06
收藏:
0 评论:
0 赞:
0 阅读:
375
(now)函数可以很方便的返回当前时间信息,比如年,月等,返回结果存放在list中,使用十分方便。举例如下:> (now)
(2015 1 24 14 7 42 393413 24 6 480 0)
注意,这里获得是GMT+0时区,如果想要获得中国时区,需要在第一个参数中指定以分钟为单位的整数。中国是GMT+8,所以应该如下调用:> (now (* 8 60))
(2015 1 24 22 9 9...
分类:
其他 时间:
2015-01-24 22:48:58
收藏:
0 评论:
0 赞:
0 阅读:
203
msdn:
The _ReturnAddress intrinsic
provides the address of the instruction in the calling function that will be executed after control returns to the caller.
_ReturnAddress 返回当前调用函数返回的地址,即函数吓一跳指...
分类:
其他 时间:
2015-01-24 22:48:46
收藏:
0 评论:
0 赞:
0 阅读:
621