Today I installed Windows Xp in Virtuabox however happen an error.
VT-x is not available
Unknown error creating VM
So How to solve this problem?Do it:
In VirtualBox 3.0.2, this option no longer appears in the Advanced pane. Nevertheless I managed to find a workaround to deselect the option despite it no longer appearing in the UI:
Under the ~/Library/VirtualBox/Machines directory you will find a folder for each virtual machine you have created. Within this directly you will find an XML file with the machine settings.
It looks like:
13 </ExtraData>
14 <Hardware version="2">
15 <CPU count="1">
16 <HardwareVirtEx enabled="true" exclusive="false"/>
17 <HardwareVirtExNestedPaging enabled="true"/>
18 <HardwareVirtExVPID enabled="true"/>
19 <PAE enabled="true"/>
20 </CPU>
Just change the 'enabled="true"' part to 'enabled="false"'.
Enjoy.
Recently,I Try to use the Snow Leopard ,But it lacks a feature.
Debian-like bash_completion! I missed you! So I Seached with Google!
To install it just do:
sudo port install bash-completion
echo "source /opt/local/etc/bash_completion" >> ~/.bash_profile
chmod +x ~/.bash_profile
Tip: You must have MacPorts installed to run the first command. MacPorts Form http://www.macports.org .
If you don’t know yet what is bash_completion, it is a feature for shells to autocomplete commands. Example: You are on a git repository. You type git fe and press TAB, bash_completion will fill “fetch” for you. If you have branches, they are autocompleted too. GNU Tar only shows files compatible with the filters you selected. So if you tar xvzf my-softw TAB, it will complete only filenames that are on tar.gz or tgz format and that starts with the string you already typed.
It is heaven again.
下午遇到一个小问题:文件目录结构如下
/dir0-
-/dir1 <---该文件很大,欲排除
-/dir2 <---该文件很大,欲排除
-/dir3 <---目标目录之一
-index.php <---目标文件之一
.............以下省略N个子目录和子文件.............
目录下很多子目录,而我需要打包。目标是 /wwwroot 下所有子文件+/dir3 ,于是那些多余的子目录就让我头疼,
怎样在不影响文件结构的情况下打包呢,搜索网上,很多人用下面这个方法:
阅读全文...
很多优秀的开发者在进入Google之前都是非常活跃的开源贡献者,但是进入Google之后往往就销声匿迹了,包括嘲笑了此现象的 Memcached 作者Brad在进入Google之后也无法逃脱此规律。Brad在最近一篇文章Contributing to Open Source projects谈到相关原因。(建议阅读英文原文)
阅读全文...
使用PreparedStatement进行数据保存,主要我用这个对HTML代码保存进数据库 进行操作。
这个是对CLOB类型进行操作。
还有一种方法,是首先插入时使用EMPTY_CLOB() 之后再UPDATE 这个段 使用数据流更新数据。
阅读全文...
最新评论