码迷,mamicode.com
首页 > 2015年01月27日 > 全部分享
40: Binary Tree Preorder Traversal
/************************************************************************/ /* 40: Binary Tree Preorder Traversal */ /*****************************...
分类:其他好文   时间:2015-01-27 23:16:12    阅读次数:244
使用cydia substrate 来进行android native hook
cydia不仅可以hook java代码,同样可以hook native代码,下面举一个例子来进行android native hook 我是在网上找到的supermathhook这个项目,在他基础上修改的,本来是为了仓促应对阿里的ctf 这个项目位置: 这个项目是用来hook jni 代码的,而我...
分类:移动开发   时间:2015-01-27 23:15:51    阅读次数:645
31: Balanced Binary Tree
/* * Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which th.....
分类:其他好文   时间:2015-01-27 23:16:02    阅读次数:206
HDOJ 1076
An Easy TaskTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15396Accepted Submission(s): 9830Probl...
分类:其他好文   时间:2015-01-27 23:16:30    阅读次数:273
Lesson(DynamicMerry)动态内存分配
// main.m// 1-27随堂笔记//讲师: 小辉//笔者: 王学文// Created by lanouhn on 15/1/27.// Copyright (c) 2015年 lanouhn. All rights reserved.//动态内存分配(DynamicMerry)#impor...
分类:其他好文   时间:2015-01-27 23:14:58    阅读次数:227
tomcat作为windows服务启动失败解决方法
再使用如下方法注册windows服务时,出现问题:1 set CATALINA_BASE=E:\tomcat\tomcat-web-server2 set CATALINA_HOME=E:\tomcat\tomcat-web-server3 call E:\tomcat\tomcat-web-ser...
分类:Windows程序   时间:2015-01-27 23:16:09    阅读次数:396
Python字典问题
刚玩玩python,这尼玛,不理解,难道是按数字排序,慢慢发现!!源码如下:menu={'1.':'add to sum'}menu[’2.‘]='averg to numbers'menu[‘3.‘]='exit'结果:1 add to sum3 exit2 averg to numbers源码如...
分类:编程语言   时间:2015-01-27 23:13:58    阅读次数:219
thinkphp3.2引入php 实例化类
如果你的类库没有采用命名空间的话,需要使用import方法先加载类库文件,然后再进行实例化,例如:我们定义了一个Counter类(位于Com/Sina/Util/Counter.class.php):class Counter {}在使用的时候,需要按下面方式调用:import('Com.Sina....
分类:Web程序   时间:2015-01-27 23:13:36    阅读次数:309
什么是句柄?为什么会有句柄?HANDLE
什么是句柄?为什么会有句柄?HANDLE今天学习Android,看到一个unix函数不明白,但返回值是handle,查了查意思,是句柄的意思,那什么是句柄呢,从网上搜了一些答案,觉得这篇文章比较好,个人认为比wiki的都要讲的好。简而言之,句柄是一种抽象的思想:隐藏了内核实现的细节同时为调用提供了方...
分类:其他好文   时间:2015-01-27 23:15:54    阅读次数:218
File Input and Output
Assume ifle and ofile is the string object storing the names of input and output files' names.string ifile = "inputFile.txt";string ofile = "outputFil...
分类:其他好文   时间:2015-01-27 23:14:54    阅读次数:343
36: Same Tree
/************************************************************************/ /* 36: Same Tree */ /****************************************************.....
分类:其他好文   时间:2015-01-27 23:14:26    阅读次数:195
笨鸟不乖 是这么设计Android项目架构的
项目地址:https://github.com/benniaobuguai/android-project-wo2b部分效果图项目结构当前项目只是其中一个例子,wo2b-common-wrapper本身是一套通用的项目框架,能够让你基于此项目快速搭建属于你自己的项目框架。>wo2b-project-...
分类:移动开发   时间:2015-01-27 23:14:05    阅读次数:357
Count and Say
Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r...
分类:其他好文   时间:2015-01-27 23:13:12    阅读次数:244
Spring
刚开始工作时就接触Spring了,现在的项目中也使用Spring。Spring是一个很有名气的轻量级框架,它的几个比较特别的优点,只在面试准备时背几遍,当然平时记不住的……它是一个容器,这个我知道,它要配置和管理应用对象,所以我先从低层次接受它为容器,里面是一个强大无比的工厂;另外控制反转和面向切面...
分类:编程语言   时间:2015-01-27 23:12:44    阅读次数:209
bzoj3767 A+B Problem加强版
DescriptionInput输入A,BOutput输出A+B。Sample Input1 1Sample Output2HINT对于100%的数据,保证 |A| , |B| 不会超过10^(10^7)呃……高精a+b和a-b的模板题没啥技术含量的……我还以为会有什么--0之类的出现#includ...
分类:其他好文   时间:2015-01-27 23:15:02    阅读次数:367
Apatana的安装
第一种配置方式:1.解压Eclipse2.在任意目录下,推荐就在Eclipse安装目录下(注意安装目录不包含中文空格)新建一个myplugins(随便起名)文件夹,再新建一个文件夹aptana(随便起),在apatana文件夹中创建一个文件夹eclipse(固定名字),将aptana相关的两个文件夹...
分类:其他好文   时间:2015-01-27 23:14:02    阅读次数:280
awk的些许小技巧
一句话kill掉名为navimain的process(利用awk的列操作能力)kill -15 `ps|grep navimain | awk 'NR==1 {print $1}'`
分类:其他好文   时间:2015-01-27 23:13:01    阅读次数:176
2179条   上一页 1 ... 5 6 7 8 9 10 11 ... 129 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!