码迷,mamicode.com
首页 >  
搜索关键字:build path    ( 43254个结果
go语言实现遍历目录,及查找特定的文件类型
1 // filelist.go 2 package main 3 4 import ( 5 //"flag" 6 "fmt" 7 "os" 8 "path/filepath" 9 "strings"10 )11 12 var (13 ostype...
分类:其他好文   时间:2014-05-26 06:19:07    阅读次数:239
【leetcode】Simplify Path
题目:将给定的路径名简化,返回最简形式。 path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" 虽然咋看起来比较杂乱,但还是比较整齐的,每个部分由‘/‘进行分割,就像文本处理中,由空格或tab分割的单词一样,对得到的不同的分割此进行不同的处理。得到的可能的分割词包括: string simplifyP...
分类:其他好文   时间:2014-05-26 06:13:24    阅读次数:213
leetcode题目:Sum Root to Leaf Numbers和Longest Consecutive Sequence
题目一: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Fin...
分类:其他好文   时间:2014-05-26 04:06:41    阅读次数:248
ant中提取properties和xml提高代码复用性
本文接着上文对前面的示例进行优化,在前面的build.xml中,有些代码是重复的,我们可以将其抽象出来拿来共同使用,比如将一些路劲提取出来放入properties,可以达到共用的同时,还可以增强程序的可维护性,以后路劲变了只需改配置文件,不用改动build.xml。properties维护简单,以键值对形式存放;而xml不单可以提取属性,还可以提取target. 比如在上文中可以将src1,sr...
分类:其他好文   时间:2014-05-24 20:59:04    阅读次数:331
Cocos2d-x 3.0 编译 eclipse+Win7+Android 篇
文档 Eclipse --> Windows--> Preferences ... 3. Set up Variables:  1. Path Variable `COCOS2DX`:  * Eclipse->Preferences->General->Workspace->**Linked Resources** * Click **New** button to add a Path...
分类:移动开发   时间:2014-05-24 17:54:57    阅读次数:282
php扩展编译,又遇“PHP Startup: Invalid library (maybe not a PHP library)”
关于php与mysql之间的工作机制,今天蛋疼地考虑php编译安装时不添加--with-mysql参数,是否可以实现mysql_connect()函数。第一次编译只是简单的./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc make&&makeinstallmysql_connect()果然使..
分类:Web程序   时间:2014-05-24 15:40:47    阅读次数:1057
hadoop 基本命令
配置haoop全路径:gedit.profileexportPATH=/home/hadoop/hadoop/bin:$PATH自定义命令gedit.bashrcaliasfs=‘hadoopfs‘
分类:其他好文   时间:2014-05-24 15:25:19    阅读次数:254
【读书笔记-《Android游戏编程之从零开始》】7.Android 游戏开发常用的系统控件(Dialog)
在Android应用开发中,Dialog(对话框)创建简单且易于管理因而经常用到,对话框默认样式类似创建样式的Activity。首先介绍android.app.AlertDialog下的Builder这个类。Builder是AlertDialog类的子类,而且还是它的内部类。正如其名所示,Build...
分类:移动开发   时间:2014-05-24 12:34:38    阅读次数:294
launch genymotion simulator from command line
Command to launch genymotion headless -player --vm-name Nexus_4if player is not already added to path, add it to path using below command in your ~/.b...
分类:其他好文   时间:2014-05-24 10:13:35    阅读次数:320
C#删除图片问题
public Image GetImage(string path) { FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read); Image ...
分类:其他好文   时间:2014-05-24 09:48:26    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!