Sublime Text 2 一些设置January 10th, 2013731viewsPosted
in软件Write comment个人的关于Sublime Text
2的一些设置和插件。关于安装:程序主页:https://sublimetext.com/Windows7/8下安装版的配置文件...
分类:
编程语言 时间:
2014-06-05 21:30:48
阅读次数:
452
1.找到app文件的位置 1.1.teminal(终端)相当于windows中的命令行,
Finder->应用程序->实用工具->终端 1.2.在Mac机上显示隐藏文件,
在终端中用如下命令显示和隐藏"隐藏文件"显示:defaults write com.apple.finder AppleShow...
分类:
其他好文 时间:
2014-06-05 19:00:18
阅读次数:
265
使用终端显示隐藏文件的最简单方法是使用终端。只要打开终端(位于应用程序——实用工具),将以下代码复制进去然后回车defaults write
com.apple.finder AppleShowAllFiles -bool YESFinder需要重启才能应用修改,在终端中接着输入killall
Fi...
分类:
其他好文 时间:
2014-06-05 18:16:21
阅读次数:
286
截图:1.Command+shift+3:全屏截图,保存截图到桌面
2.Command+shift+4:鼠标选定区域截图,保存截图到桌面显示隐藏文件: defaults write com.apple.finder
AppleShowAllFiles -bool true/false
分类:
其他好文 时间:
2014-06-04 14:36:53
阅读次数:
233
1.运行终端,执行命令行进入missing file目录,然后运行svn delete
nameOfMissingFile或git rm nameOfMissingFile2.删除隐藏的.svn文件。命令行运行defaults write
com.apple.finder AppleShowAllF...
分类:
其他好文 时间:
2014-06-03 16:20:06
阅读次数:
405
One of the most important use-case in any cloud
is provisioning a VM . In this article we shall do a walk through about an
instance(VM) being provisio...
分类:
其他好文 时间:
2014-06-03 15:04:09
阅读次数:
444
1. Install GNUstepsudo apt-get install gnustep
gnustep-devel2. Write hello world program, and save as hello.m#import int main
(int argc, const char * ...
分类:
其他好文 时间:
2014-06-02 12:49:08
阅读次数:
185
【题目】
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 nodes have the same value.
【题意】
判断了两个二叉树是否相等
【思路】
递归...
分类:
其他好文 时间:
2014-06-02 11:03:03
阅读次数:
205
#过滤oracle警告日志文件ORA-错误
$c=Get-ContentC:\script.txt|select-string-pattern"ora-"
#判断ORA-错误存在条件
#若$c返回值为null,则输出1返回值结束循环
if($c-eq$null)
{
write-host"STATE_OK"
$STATE_OK={return1;}
$b=&$STATE_OK
$b
}
#若$c返回值不为空,..
分类:
其他好文 时间:
2014-06-02 03:26:07
阅读次数:
197
写了一个powershell脚本测试脚本,结果执行的时候报错
$a=Get-ContentC:\script.txt|select-string-pattern"ora"
if($a-eq$null)
{
write-host"error"
}
else
{
write-host"OK"
}
PSD:\>.\pshell.ps1
无法加载文件D:\pshell.ps1,因为在此系统中禁止执行脚本。有关详..
分类:
其他好文 时间:
2014-06-02 03:17:04
阅读次数:
244