原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate
the value of an arithmetic expression inReverse Polish Notation.Val...
分类:
编程语言 时间:
2014-06-03 11:18:22
阅读次数:
335
原题地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/题意:Given
an input string, reverse the string word by word.For example,Given s = "the s...
分类:
编程语言 时间:
2014-06-03 11:13:36
阅读次数:
258
測试环境:Oracle Enterprise Linux 64-bit (5.8版本号) +
Oracle 11g 64位相关说明: Oracle11g64位软件的安装位置为/u01/app/oracle/product/11.2.0/dbhome_1
,数据库名为默认的orcl,Linux虚拟机的...
分类:
数据库 时间:
2014-06-03 09:57:08
阅读次数:
500
普及 linux 基础知识,Linux 文件及文件夹权限,不要动不动就 777
权限。网上教程过于复杂啰嗦,简单总结如下...一、查看 Linux 文件权限ls -l (通用)ll (Ubuntu适用,等于ls
-al)二、权限标示符r(读)、w(写)、x(执行)4(读)、2(写)、1(执行)注:目...
分类:
系统相关 时间:
2014-06-03 09:17:01
阅读次数:
241
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given
a stringsand a dictionary of wordsdict, determine ifscan be segmented into a
space-separated...
分类:
编程语言 时间:
2014-06-03 09:14:24
阅读次数:
293
使用echo或者printf时,可以添加输出文本的颜色设置echo -e "Maximum
\e[1;31m" $max_threads "\e[0mthreads allowed!" >>
$term_dir/summary或者printf("\033[;34mfile\033[0m")31开始代...
分类:
系统相关 时间:
2014-06-03 09:11:52
阅读次数:
306
转自:Linux 命令集锦linux下查看监听端口对应的进程#lsof
-i:9000#lsof -Pnl +M -i4如果退格键变成了:"^h"。终端连接unix删除退格键,按住CTL键同时按deleteLinux搜索#find
/ -name "xxx.conf"查看linux是32位还是64位...
分类:
系统相关 时间:
2014-05-30 23:25:09
阅读次数:
563
一、以非特权用户运行MySQL服务器在讨论如何启动MySQL服务器之前,让我们考虑一下应该以什么用户身份运行MySQL服务器。服务器可以手动或自动启动。如果你手动启动它,
服务器以你登录Unix(Linux)的用户身份启动,即如果你用paul登录Unix并启动服务器,它用paul运行;如果你用su命...
分类:
数据库 时间:
2014-05-30 14:27:09
阅读次数:
310
1. 从http://www.mysql.com下载二进制版的Mysql安装包
//这个MYSQL是二进制版的,不用编译Linux (x86) 5.0.41 59.6M Download | Pick a
mirrormysql-5.0.41-linux-i686-glibc23.tar.gz...
分类:
数据库 时间:
2014-05-30 14:24:23
阅读次数:
324
解决办法:vi
/xx/database/install/oraparam.ini找到【Certified
Versions】Linux=redhat-3,SuSe-9,redhat-4,后面加上redhat-5保存并退出即可。如图:
分类:
数据库 时间:
2014-05-30 14:16:05
阅读次数:
320