14.04 LTSenabling vnc:0. apt-get install dconf-tools1.click icon "search your computer and online sources"desktop sharing, enable2. create file and na...
分类:
其他好文 时间:
2014-06-27 17:08:58
阅读次数:
195
//利用CATransition来作模拟//模拟Push- (void)pushView:(UIView *)pushView inView:(UIView *)inView{ CATransition *animation = [CATransition animation]; ani...
分类:
其他好文 时间:
2014-06-27 14:41:15
阅读次数:
178
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
分类:
其他好文 时间:
2014-06-27 12:11:09
阅读次数:
181
JavaScript中构造函数与普通函数其实没有什么差别,构造函数可以当做普通函数来使用,普通函数也可以用new来模拟构造函数的调用,然而使普通函数与构造函数发生区别的其实就在于new操作符的内部原理,下面是我通过测试猜测的new操作符的执行过程,当你在用new操作符来生成一个对象时内部可能执行了以下几个步骤的操作:
以构造函数
function Person(name){
this.na...
分类:
编程语言 时间:
2014-06-27 08:28:27
阅读次数:
209
# -*- coding: utf-8 -*- # ==================== #File: python #Author: python #Date: 2014 #==================== __author__ = 'Administrator' #异常 """ Na...
分类:
编程语言 时间:
2014-06-26 22:32:05
阅读次数:
353
有两种类型的动画资源:属性动画在设定的时间内,通过修改与Animator类相关的对象的属性值来创建一个动画。视图动画有两种类型的视图动画框架补间动画(Tween animation):通过执行通过执行一系列的与Animation类相关的单一图片的转换来创建动画。帧动画(Frame animation...
分类:
移动开发 时间:
2014-06-26 19:32:41
阅读次数:
283
在 Android中,Animation动画效果的实现可以通过两种方式进行实现:一种是tweened animation渐变动画,另一种是frame by frame animation补间(画面转换)动画。tweened animation渐变动画有以下两种类型:1.alpha渐变透明度动画效果2...
分类:
移动开发 时间:
2014-06-26 19:24:48
阅读次数:
184
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
You are given a target value to search. If found in the array retur...
分类:
其他好文 时间:
2014-06-26 13:58:53
阅读次数:
203
题目链接:点击打开链接
给定n个操作,m长的序列a
下面n个数
if(co>=0)则向字符串添加一个co (开始是空字符串)
else 删除字符串中有a的下标的字符
直接在序列上搞,简单模拟
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using na...
分类:
其他好文 时间:
2014-06-26 07:52:58
阅读次数:
226
iOS Core Animation 动画 入门学习(一)基础 reference:https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Int....
分类:
移动开发 时间:
2014-06-25 12:35:48
阅读次数:
276