Open the Dragon Scroll
Did you ever hear about 'Dragon Food' ? Its used to refer to the chocolates bought for your loved ones :). Po offers dragon food to master Shifu, who is a famous cook in th...
分类:
其他好文 时间:
2014-05-10 10:06:11
阅读次数:
382
scp用于通过网络实现主机之间的文件复制。它使用ssh来进行文件传输,并且和ssh一样使用同样的认证和提供同样的安全性。...
分类:
系统相关 时间:
2014-05-10 08:52:27
阅读次数:
423
通常情况下,每次使用ssh登录或使用scp复制远程系统的文件时,都需要提供密码,然后才能做进一步的处理。为了省略输入密码这一步骤,有时可以采用Shell脚本的方法解决,但这需要把手工输入的密码以明码形式放在脚本文件中。
利用密钥配置文件,OpenSSH可以是ssh远程登录与scp文件复制的操作过程中省略密码验证的中间环节。...
分类:
其他好文 时间:
2014-05-07 08:57:54
阅读次数:
388
Android 新浪微博分享及授权
在开发中遇到了各种坑....所以分享一下 希望能给大家贡献点经验
本文使用的开发的环境是 eclipse
本文叙述的新浪微博分享及其授权的内容分为两块 :
一 新浪提供的 WeiboSDKDemo
二 嵌入到自己的应用当中去
第一部分 运行成功 WeiboSDKDemo
下载新浪的微博的SDK
先去新浪开放平台 : http://open.weibo.com/ 注册,登陆
选择 移动应用 在页...
分类:
移动开发 时间:
2014-05-07 08:01:21
阅读次数:
447
Android Camera HAL通过V4L2接口与内核Camera Driver交互。本文从Linux应用开发者的角度审视Android
Camera子系统。
V4L2应用开发一般流程:
1. 打开设备文件。 int fd=open("/dev/videoX″,O_RDWR);
2.取得设备的capability,看看设备具有什么功能,比如是否具有视频输入,或...
分类:
移动开发 时间:
2014-05-07 07:26:03
阅读次数:
488
当直接从Live CD镜像(例如从U盘)启动Ubuntu系统时,如果想要安装sshd服务,那么需要安装openssh-server软件包,如果用apt-get install的方式安装不了就换用aptitude安装,安装成功后却发现启动不了ssh服务,如下所示:...
分类:
其他好文 时间:
2014-05-07 07:02:43
阅读次数:
306
今天说点基础的东西,说说如何通过SchemaExport跟Hibernate的配置文件生成表结构。其实方法非常简单,只需要两个配置文件,两个Java类就可以完成。
首先要生成表,得先有实体类,以Person.java为例:
/**
*
* @author Administrator
* @hibernate.class table="T_Person"
*/
public...
分类:
系统相关 时间:
2014-05-07 05:30:24
阅读次数:
358
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
I make a connection through SSH and then I type:
# x0vncserver --PasswordFile=/home/hello/.vnc/passwd
x0vncserver: unable to open display ""
~ImageCleanup called
the reason is :
...
分类:
其他好文 时间:
2014-05-07 04:23:43
阅读次数:
581
Linux下Tomcat安装配置以及Windows不能连接服务器Tomcat解决方案
一、从官方网站上下载tomcat软件包。
官网地址: http://tomcat.apache.org/
点击左侧的 download的一个版本,我选择的是 tomcat7.0,选择一个后缀名为.tar.gz文件直接下载到本地。
二、通过工具SSH Secure 上传至linux服务器中,进行解压...
分类:
系统相关 时间:
2014-05-07 03:21:00
阅读次数:
625