摘要: ubuntu第四 防火墙安装sudo apt-get install ufw启用sudo ufw enable拒绝所有sudo default deny开启端口sudo ufw allow 22sudo ufw allow 80sudo ufw allow 3306删除sudo ufw delete allow 3306查看sudo ufw statushttp://www.php100.com/html/webkaifa/Linux/2012/0307/9999.html 阅读全文
posted @ 2014-03-12 16:07 meieiem 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 第一关 用u盘安装ubuntu, 大部份工作制作的安装U盘会失败,使用Win32DiskImager就行了,这个工具需要手动填写完整iso路径.第二个问题 装完后发现乱码,连英文都乱码,不知道原因, 运行locale 可以查看字符集设置 export可以设置环境变量 export LC_ALL=zh_CN.GBK还是有些文字乱码,干脆重装,以全英文安装了.第三个问题 这个要用熟 ifconfig 配置网络 ifconfig 查看网络 ifconfig eth0 down 关掉eth0这个网络 ifconfig eth0:0 192.168.1.1 netmask 255.255... 阅读全文
posted @ 2014-03-12 12:02 meieiem 阅读(254) 评论(0) 推荐(0) 编辑
摘要: array( 'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded' . '\r\n'.'Use... 阅读全文
posted @ 2012-10-23 10:12 meieiem 阅读(1748) 评论(0) 推荐(0) 编辑
摘要: 引用:http://zhidao.baidu.com/question/454935450.html&__bd_tkn__=67bd5d3a742a8b244e09a86fb8b824aa950c9efd8078338d51fed8133ea5c69d362ad36bb4bcda3b39bb3949... 阅读全文
posted @ 2012-10-23 09:30 meieiem 阅读(44072) 评论(4) 推荐(1) 编辑
摘要: http://www.speedphp.com/forum.php 阅读全文
posted @ 2012-09-28 11:40 meieiem 阅读(345) 评论(0) 推荐(0) 编辑
摘要: /* 上传文件至Server,uploadUrl:接收文件的处理页面 */ public String uploadFile(Bitmap src, String uploadUrl, String filename) { String end = "\r\n"; ... 阅读全文
posted @ 2012-08-16 10:33 meieiem 阅读(5089) 评论(0) 推荐(0) 编辑
摘要: File fImage = new File("/sdcard/dcim","beijing.jpeg");FileOutputStream iStream = new FileOutputStream(fImage); * 取出Bitmap oriBmporiBmp.compress(Comp... 阅读全文
posted @ 2012-08-15 09:57 meieiem 阅读(23597) 评论(0) 推荐(1) 编辑
摘要: HolderSurfaceView.java(看名字就知道这是个啥了) package com.yh;import android.graphics.PixelFormat;import android.view.SurfaceView;/** * 对surfaceView进行一些设置 这是一个... 阅读全文
posted @ 2012-06-19 10:27 meieiem 阅读(6277) 评论(6) 推荐(3) 编辑
摘要: http://blog.csdn.net/xiaominghimi/article/details/6107837 阅读全文
posted @ 2012-06-07 09:46 meieiem 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 在drawable中建立shape的xml文件 egame_fillbox.xml 2、在values中style中增加 ... 阅读全文
posted @ 2012-05-23 16:06 meieiem 阅读(581) 评论(0) 推荐(0) 编辑