码迷,mamicode.com
首页 >  
搜索关键字:target    ( 24275个结果
JS:event对象下的target属性和取消冒泡事件
1.target 通过获取DOM元素var box = document.getElementById("box");document.box.onclick = function(){ alert(123);//123}event对象下的target方法 :获取事件的目标,不用document.....
分类:Web程序   时间:2015-12-21 20:08:46    阅读次数:158
IOS ipa安装不上 e8000087
iPhone5是32位的,所以按照64位编译出来的32位不支持,下面3种方案的,选择第3中就可以了。e8000087: Your iOS device does not support the selected target platform architecture. This can happe...
分类:移动开发   时间:2015-12-21 15:52:48    阅读次数:807
Ubuntu:Target filesystem doesn't have /sbin/init (Slax 解决)
计算机(Ubuntu)因为异常断电或是其它原因,再次启动时。非常不幸的出现:Killedmount: mounting /dev on /root/dev failed: No such file or directorymount: mounting /sys on /root/sys faile...
分类:系统相关   时间:2015-12-21 14:16:04    阅读次数:252
leetcode Combination Sum II python
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:编程语言   时间:2015-12-20 22:24:34    阅读次数:227
LeetCode-81
题目描述上一题原题思路题目特性决定思路就那样二分查找考虑重复情况分情况不过最坏情况还是O(n) (全部重复)懒得优化就是了就这样快速写完去打个羊库库压压惊bool search(vector& nums, int target) { int start = 0, end = nums.size...
分类:其他好文   时间:2015-12-19 21:43:48    阅读次数:165
leetcode Search in Rotated Sorted Array python
#Suppose a sorted array is rotated at some pivot unknown to you beforehand.#(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).#You are given a target valu...
分类:编程语言   时间:2015-12-19 16:33:54    阅读次数:236
Ubuntu 15.10安装elementary desktop
elementaryOS的风格类似于macos,基于Ubuntu改造,个人比较喜欢其界面理念,简单清晰。因此下载了elementaryOSFreya使用,使用过程中,各个软件版本的升级比较落后,比如gcc等,因此尝试使用ubuntuOS安装elementdesktop。网上的指导步骤都比较旧,按其步骤执行完成,效果总是比..
分类:系统相关   时间:2015-12-19 15:10:20    阅读次数:343
【转】ATA Secure Erase
ATA Secure EraseThis procedure describes how to use thehdparmcommand to issue aSecure EraseATA instruction to a target storage device. When a Secure E...
分类:其他好文   时间:2015-12-19 15:00:03    阅读次数:210
(3) 计时器NSTimer
(3)计时器NSTimer+ (NSTimer*)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(B...
分类:其他好文   时间:2015-12-18 21:03:13    阅读次数:192
自定义注解
import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;/*** 方法注解* */@Retention(RetentionPolicy.RUNTIME)// @Target(ElementTy...
分类:其他好文   时间:2015-12-18 16:21:30    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!