By admin, on December 10th, 2011
By admin, on October 25th, 2011
ADT已经更新到r14,在eclipse3.7上怎么也安装不上,
始终提示No repository found containing:xxx这样的错误,
经过google后,找到了一条信息,即以命令eclipse.exe -clean来启动eclipse,
经过试验,成功的安装上了adt r14
如遇到类似问题的朋友 ,可以一试
By admin, on September 26th, 2011
普通相机拍不出大场景的照片,怎么办呢,
有了电脑,就可以轻松解决此问题。
比如,拍摄照片时,你可以对一个场景上部横向5张,中间横向5张,下部横向5张,
最后导入电脑,用软件把这15张拼成一张,效果超赞
拼接软件推荐:PanoramaStudio Pro
下面奉上最近拍的两张(分别为12张和15张照片拼接而成):


By admin, on September 14th, 2011
By admin, on August 18th, 2011
By admin, on August 1st, 2011
1.run -> external tools –> external tools configurations
2.new Program
3.name: [some name]
4.main tab:
location: [mvn.bat full path]
working directory: [${workspace_loc:/[your project name]} ]
Arguments: jetty:run
5.environment tab:
new variable:
MAVEN_OPTS: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=9000,server=y,suspend=y -noverify -javaagent:”[jrebel path]/jrebel.jar”
6.run
7.debug configurations: new Remote Java Application; name: [your_debug_config_name];
connect tab: project: [your_project]; host:localhost; port:9000; check Allow termination of remote VM; Debug
By admin, on July 29th, 2011
powercfg /hibernate on
rundll32.exe powrprof.dll,SetSuspendState 1,1,1
By admin, on July 11th, 2011
ubuntu 11.10已经是alpha2了,于是手痒用update-manager -d从11.04升级到了11.10,结果发现启动到x后,鼠标键盘都没反应,但是在console中是正常的, 多方查找后,确定原因为xorg新版用了不同的键盘鼠标驱动方法, 而这个新的方法在我的机器上为什么不能用,还没找到原因,但是找到了禁用的方法,首先在/etc/X11/xorg.conf中加入如下配置项:
Section "ServerFlags" Option "AutoAddDevices" "False" Option "AllowEmptyInput" "False" EndSection
然后以apt-get install命令来确保安装以下两个package:
xserver-xorg-input-kbd xserver-xorg-input-mouse
经过以上两步,键盘和鼠标能用了。 不过进入kde后,很不稳定,看来alpha确实可用性不高, 想尝鲜的朋友谨慎升级。
By admin, on July 1st, 2011
By admin, on June 18th, 2011
maven 3的命令:
mvn dependency:get -DrepoUrl=something -Dartifact=group:artifact:version
会在local repository的对应目录中生成4个文件
- _maven.repositories
- artifact-version.pom
- artifact-version.pom.lastUpdated
- artifact-version.pom.sha1
这样在mvn package(install,compile etc.)时会造成引用这个pom的项目一直去maven的中央仓库找这个pom文件, 解决方法是删除第1和第3个文件。
而用maven 2的命令:
mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get
则只会下载第2和第4个文件,所以不会造成此问题
|
|