write by
http://blog.csdn.net/bojie5744 bj_末雨
udp sender
[cpp]
view plaincopyprint?
#include "stdafx.h"
#include #include
using namespace std;
using namespace boost::asio;
...
分类:
其他好文 时间:
2014-09-18 00:53:13
阅读次数:
274
code.pyimport weburls = ( '/', 'index')class index: def GET(self): return "Hello, world,caixianfeng write for the first web.py!"if __name...
分类:
Web程序 时间:
2014-09-18 00:35:33
阅读次数:
355
不使用finally块释放资源 错误的写法: public?void?save(File?f)?throws?IOException?{??
??OutputStream?out?=?new?BufferedOutputStream(new?FileOutputStream(f));??
??out.write(...);??...
分类:
编程语言 时间:
2014-09-17 17:02:52
阅读次数:
320
Linux最优秀的地方之一,就在于它的多用户、多任务环境。为了让用户具有较安全的管理机制,文件的权限管理是很重要的。Linux通常将文件的访问方式分为分为三个类别,分别是owner/group/other,而且具有read/write/excute等权限。在Linux下面这么多的目录/文件,到底.....
分类:
系统相关 时间:
2014-09-17 11:53:22
阅读次数:
333
# Android 开发时如何正确获取使用扩展存储路径 ------ ## 先介绍一下Android的存储 在 2.x 版本中,Android设备都是单存储,第三方App写文件,必须申请 WRITE_EXTERNAL_STORAGE 权限; 在4.0之后,Android设备开...
分类:
移动开发 时间:
2014-09-17 10:29:52
阅读次数:
279
依靠数据默认的机制:Hibernate的加锁模式有:Ø LockMode.NONE : 无锁机制。Ø LockMode.WRITE :Hibernate在Insert和Update记录的时候会自动获取。Ø LockMode.READ : Hibernate在读取记录的时候会自动获取。以上这三种锁机制...
分类:
系统相关 时间:
2014-09-17 07:50:01
阅读次数:
206
网络通信命令 1、write /usr/bin/write 格式: write [用户名] #用于向用户发送信息,前提是这个用户已经登录到了这台服务器主机,不然的话,也没有办法给他留言,所以,write是一个实时的通信工具 #以ctrl+D作为通信结束 e.g. write guest 2、wall[write all] /usr/bin/wall 用于向所有用户广播信息 wall [mes...
分类:
系统相关 时间:
2014-09-16 22:12:51
阅读次数:
379
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 an...
分类:
其他好文 时间:
2014-09-16 22:03:01
阅读次数:
223
【解决】Vsftp匿名上传问题本文前提需要关闭selinux编辑Vsftp的配置文件vsftp.conf。有关匿名的相关选项全部开启,如下图:anonymous_enable=YESlocal_enable=YESwrite_enable=YESlocal_umask=022anon_upload_enable=YESanon_mkdir_write_enable=YES以上设置,基本上大家都知道..
分类:
其他好文 时间:
2014-09-16 19:11:22
阅读次数:
303
一,使用document.write() 二,使用window方法,prompt(),alert()和confirm() Search example Search the site:
分类:
编程语言 时间:
2014-09-16 18:44:30
阅读次数:
209