会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
==Hurd==donkey
生命太短,问题太莫名
博客园
首页
新随笔
联系
订阅
管理
2015年2月27日
test
摘要:
阅读全文
posted @ 2015-02-27 17:06 huangshi8421
阅读(109)
评论(0)
推荐(0)
2014年12月15日
浅析HTTP协议
摘要: ====================================请求消息例:http://www.baidu.com:80/index.html*******请求方法GET /index.html?Datetime=2014-12-15%2010:45:35 HTTP/1.1 #GET提交...
阅读全文
posted @ 2014-12-15 12:32 huangshi8421
阅读(205)
评论(0)
推荐(0)
2014年9月18日
raspberrypi VNC server
摘要: 安装apt-get install tightvncserver tightvnc-java启动vncserver -name vnc_raspi -depth 24 -geometry 800x600 -httpport 9001 :1-name vnc_raspi 桌面名字,这个参数非必要-de...
阅读全文
posted @ 2014-09-18 13:44 huangshi8421
阅读(580)
评论(0)
推荐(0)
2014年9月17日
debian install & configure(2)-drivers-ati
摘要: 依赖apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 execstack libelfg0下载解包wget www.xxxx/xxx/xxx/linux-...
阅读全文
posted @ 2014-09-17 14:49 huangshi8421
阅读(247)
评论(0)
推荐(0)
debian install & configure(2)-drivers-nvidia
摘要: ==========================================手动编译卸载受限驱动 :apt-get --purge remove nvidia-*apt-get --purge remove nvidia-glx nvidia-glx-new 系统安装了光盘自带的受限驱动。安...
阅读全文
posted @ 2014-09-17 14:39 huangshi8421
阅读(498)
评论(0)
推荐(0)
2014年8月15日
C函数指针简单用例
摘要: (1)函数指针:可以指向 一类 固定形参类型和返回值类型 的函数 的指针声明:int fun(int, int) || \/int (*pfun)(int, int)pfun就是函数指针(变量)调用: d = pfun(a, b); e = (*pfun)(a, b);#####指针函数int *f...
阅读全文
posted @ 2014-08-15 14:35 huangshi8421
阅读(335)
评论(0)
推荐(0)
2014年8月12日
lua学习笔记(2)-常用调用
摘要: assert(loadstring("math.max(7,8,9)"))dofile("scripts/xxx.lua")math.floor()math.random() math.random(10, 100)math.min(3,4,5) math.max(2,3,4)num = tonum...
阅读全文
posted @ 2014-08-12 17:40 huangshi8421
阅读(231)
评论(0)
推荐(0)
lua学习笔记(1)-基本语法
摘要: ==============变量类型nilnumber(实数) 1 2 3.14 7.65e8string "hello world" "\n"boolean(true false) true falsefunction*userdata and threadstable(1)默认key初始化t...
阅读全文
posted @ 2014-08-12 17:39 huangshi8421
阅读(177)
评论(0)
推荐(0)
vs2005 测试 lua环境
摘要: (1)添加文件核路径(2)库文件路径(3)main.cpp#include #include extern "C"{ #include #include #include }#pragma comment(lib, "lua51.lib")#pragma comment(lib, "lua5.1...
阅读全文
posted @ 2014-08-12 17:37 huangshi8421
阅读(140)
评论(0)
推荐(0)
2014年8月11日
lua 快速排序
摘要: function quick_sort(list, head, tail) if tail > head then i = head j = tail tmp = list[i] --取第一个元素用于比较 同时腾出第一个位置 while i i do if list[j] tmp then li...
阅读全文
posted @ 2014-08-11 18:16 huangshi8421
阅读(475)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享