码迷,mamicode.com
首页 > 全部
Welcome.java
1 public class Welcome{2 3 public static void main(String[]args){4 System.out.println("Welcome to java Programming!")5 }6 7 }
分类:编程语言   时间:2015-11-28 12:05:49    阅读次数:133
Upgrade Bioconductor
(1)Checking Version of Bioconductor> source("http://bioconductor.org/biocLite.R")Bioconductor version 2.14 (BiocInstaller 1.14.3), ?biocLite for helpA...
分类:其他好文   时间:2015-11-28 12:07:07    阅读次数:226
234. Palindrome Linked List
题目:Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?链接:http://leetcode.com/problems/p...
分类:其他好文   时间:2015-11-28 12:06:46    阅读次数:140
LeetCode 278 First Bad Version
LeetCode 278 First Bad Version// Forward declaration of isBadVersion API.bool isBadVersion(int version);int firstBadVersion(int n) { int start=1, e...
分类:其他好文   时间:2015-11-28 12:04:35    阅读次数:122
Android截图命令screencap
查看帮助命令bixiaopeng@bixiaopeng ~$ adb shell screencap -vscreencap: invalid option -- vusage: screencap [-hp] [-d display-id] [FILENAME] -h: this messag.....
分类:移动开发   时间:2015-11-28 12:04:07    阅读次数:200
Android 调试工具集【转】
1.TraceView1)功能:用于热点分析和性能优化,分析每个函数占用的CPU时间,调用次数,函数调用关系等 2)方法: a)在程序代码中加入追踪开关 import android.os.Debug; …… android.os.Debug.startMethodTracing(“/dat...
分类:移动开发   时间:2015-11-28 12:06:03    阅读次数:189
Python 第五天
开放封闭原则开发:对于未存在的开放封闭:对于已存在的代码封闭装饰器1、装饰器就是一个函数,至少2层2、执行auth函数,被装饰的函数作为参数auth(foo)auth函数的返回值,赋值给被装饰的函数的函数名@authdef foo():pass3、动态参数,可以装饰含有n个参数的函数4、函数返回值5...
分类:编程语言   时间:2015-11-28 12:03:52    阅读次数:175
How To:使用dmidecode获取机器序列号(Serial number)
使用dmidecode可以获取关于机器的诸多信息,比如机器的序列号[root@dc1db01 ~]# dmidecode -s system-serial-numberprocessor的主频[root@dc1db01 ~]# dmidecode -s processor-frequency2200...
分类:其他好文   时间:2015-11-28 12:05:03    阅读次数:207
常用ADB命令
随着android系统的火热,现在android的测试也开始跟着火热起来,但是目前很多测试工程师仅仅停留在ui的测试上,也就是ui上有什么功能就测试什么功能,至于android如何工作的,我们在测试的过程中系统到底发生了那些变法,这些都不关心。测试出bug截个图就扔给开发了,所以这也是导致开发对我们...
分类:数据库   时间:2015-11-28 12:03:14    阅读次数:161
poj3261 Milk Patterns(后缀数组)
Milk PatternsTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 12571Accepted: 5572Case Time Limit: 2000M...
分类:编程语言   时间:2015-11-28 12:03:31    阅读次数:220
判断用户ip是否在指定的一个ip段内
/** * 判断ip是否在一个ip段内 * * @param args */ public static boolean ipExistsInRange(String ip, String ipSection) { ipSection = ipSection.trim...
分类:其他好文   时间:2015-11-28 12:04:38    阅读次数:224
ECMAScript6的lambda(arrow function)的this绑定导致call/apply失效
错误场景:App = React.createClass({ render: () => { return ( ); }});按照上述写法,在用到App的地方会出现undefined的问题。而下面这种写法则没有问题:App = React.createClass({ ...
分类:移动开发   时间:2015-11-28 12:03:59    阅读次数:209
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2015-11-28 12:02:56    阅读次数:124
Happy Number
Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer...
分类:移动开发   时间:2015-11-28 12:01:16    阅读次数:216
delphi 生成网卡MAC地址
生成MAC地址的小工具:{*------------------------------------------------ 生成mac地址 @author @version 2015.7.2 2015.10.22修改 步长最大长度为256,必须为2的n次方 长度不超过5位数-----...
分类:Windows程序   时间:2015-11-28 12:03:45    阅读次数:375
CentOS跨网段访问
centos6.2_64删除虚拟网卡 virbr0 卸载以下组件,然后重启系统 yum remove libvirt yum remove libvirt-python 来源:http://www.itxinxi.net/blog/post/493/ linux下(Ubuntu、centos...
分类:其他好文   时间:2015-11-28 12:02:24    阅读次数:146
关于HDR
HDR是在摄影中常用到的一种技术,是英文High-DynamicRange的缩写,意为“高动态范围”。dynamic英[dai?næmik]美[dai?næmik]adj.动态的,动力的,动力学的,充满活力的,精力充沛的,不断变化的,充满变数的n.动态,动力,推动变化的力量,动力学,活力[例句]He...
分类:其他好文   时间:2015-11-28 12:02:52    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!