码迷,mamicode.com
首页 >  
搜索关键字:direct path write temp    ( 55479个结果
LeetCode:Same Tree
Same Tree      Given two binary trees, write a function to check if they are equal or not.     Two binary trees are considered equal if they are structurally identical and the n...
分类:其他好文   时间:2014-06-19 12:49:17    阅读次数:301
cocos2d-x教程2:在windows下如何批量转换pvr,ccz为png或jpg
这是一个很常见的功能,但是找了全网,居然找不到,于是借鉴别人的批处理文件,改了下,就可以把整个目录的全部一次批量转换。、 将这个bat文件暂定为,myConvert.bat,执行时就把这个bat文件放到要转换的目录,然后双击bat,就可以啦。下面把bat文件贴出来: rem path " "里面内容替换为TexturePacker的安装路径,将bat文件放在图片文件夹直接运行就可以了 @...
分类:Windows程序   时间:2014-06-16 11:47:43    阅读次数:544
LeetCode:Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 ...
分类:其他好文   时间:2014-06-15 19:55:39    阅读次数:191
资源管理器空白处右键菜单启动命令提示符
感觉需要用到命令提示符的地方越来越多了,比如学习python、执行vbs脚本、ping一个IP、运行系统命令等等。这些操作大部分需要cd到某一个目录,而常规的启动命令提示符的方法是win+R,输入cmd,cd [path]。。。太繁琐。于是就想参考git的做法,给右键菜单加个菜单项,直接启动命令提示符并设置为当前路径。。。...
分类:其他好文   时间:2014-06-15 19:20:29    阅读次数:322
linux命令su与su-的区别
su命令和su -命令最大的本质区别就是: su只是切换了root身份,但Shell环境仍然是普通用户的Shell; 而su -连用户和Shell环境一起切换成root身份了。 只有切换了Shell环境才不会出现PATH环境变量错误。su切换成root用户以后,pwd一下,发现工作目录仍然是普通用户的工作目录; 而用su -命令切换以后,工作目录变成root的工作目录了。用echo $PA...
分类:系统相关   时间:2014-06-15 18:52:12    阅读次数:268
实战:INNOBACKUPEX for mysql 5.6自动备份脚本
#backup.sh #!/bin/sh # # 第一次执行它的时候它会检查是否有完全备份,否则先创建一个全库备份 # 当你再次运行它的时候,它会根据脚本中的设定来基于之前的全库备份进行增量备份 #ocpyang@126.com INNOBACKUPEX_PATH=innobackupex  #INNOBACKUPEX的命令 INNOBACKUPEXFULL=/usr/bin/$IN...
分类:数据库   时间:2014-06-15 17:03:17    阅读次数:271
LeetCode:Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below bin...
分类:其他好文   时间:2014-06-15 09:34:35    阅读次数:226
【Leetcode】Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at...
分类:其他好文   时间:2014-06-13 20:36:56    阅读次数:280
Leetcode:Path Sum 二叉树路径和
Path Sum:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv...
分类:其他好文   时间:2014-06-13 16:09:02    阅读次数:237
Yosemite,On my computer
##RECORD,help me remember ###Make Lazy Version Installer 1、Write this LazyVersion Installer DMG to a RAW empty disk 2、Use Clover l...
分类:其他好文   时间:2014-06-13 15:27:01    阅读次数:349
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!