会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Just run
上一页
1
···
101
102
103
104
105
106
107
108
109
···
127
下一页
QT中封装的IP地址的widget
摘要: QT没有提供一个完整的IP地址控件, 1. 可以使用QLineEdit简单的实现 QRegExp regExp("((2[0-4]\\d|25[0-5]|[01]?\\d\\d?)\\.){3}(2[0-4]\\d|25[0-5]|[01]?\\d\\d?)"); QRegExpValidator *pValidator =new QRegExpValidator(regExp, this);...
阅读全文
posted @ 2011-06-27 10:58 katago
阅读(7149)
评论(0)
推荐(0)
编辑
Qt 利用palatte和setStyleSheet设置颜色
摘要: #if 0 QPalette palette = app.palette(); palette.setColor(QPalette::WindowText, Qt::white); palette.setColor(QPalette::Window, Qt::black); palette.setColor(QPalette::Base, Qt::black); palette.setC...
阅读全文
posted @ 2011-06-27 10:37 katago
阅读(5848)
评论(0)
推荐(0)
编辑
實作 Linux Kernel-space 的 UDP Server
摘要: http://fred-zone.blogspot.com/2008/02/linux-kernel-space-udp-server.html 今天在『Linux Kernel Newbies』閒逛,看近期 Kernel 的動態和變化,心中不時贊歎 Linux 發展的複雜和快速,每次去都令人驚奇。該網站上除了有 kernel 的最新資訊,也有一些相關的文件和教學手冊,而其中一篇文獻『Simple...
阅读全文
posted @ 2011-06-26 22:03 katago
阅读(734)
评论(0)
推荐(0)
编辑
双网卡同网段, 监测网卡连接
摘要: IFF_UP 和 IFF_RUNNING 的差別在哪?就實際功用而言,兩者都代表了網路裝置是否正常啟用,但是更仔細觀察可以發現拔除網路線時會造成 IFF_RUNNING 的改變,至於 IFF_UP 不會因插拔網路線而有任何變化 #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> ...
阅读全文
posted @ 2011-06-26 21:46 katago
阅读(922)
评论(0)
推荐(0)
编辑
问Linux路由表
摘要: http://www.unixresources.net/linux/clf/proxy/archive/00/00/38/41/384165.html
阅读全文
posted @ 2011-06-26 17:23 katago
阅读(150)
评论(0)
推荐(0)
编辑
vfat 支持中文
摘要: mount -o iocharset=utf8 /dev/sde1 /mnt可以,但是内核会警告 man 8 mount 查看vfat相关 mount -o utf8 /dev/sda5 /mnt 成功支持中文最终命令:mount -o utf8,shortname=mixed,usefree %1 %2usefree解决statfs慢的问题shortname=mixed解决大小写问题
阅读全文
posted @ 2011-06-25 14:13 katago
阅读(276)
评论(0)
推荐(0)
编辑
essential linux device drivers ch10
摘要: Accessing PCI Regions PCI devices contain three addressable regions: configuration space, I/O ports, and device memory Configuration Space pci_read_config_[byte|word|dword](struct pci_dev *pdev, int o...
阅读全文
posted @ 2011-06-24 22:53 katago
阅读(226)
评论(0)
推荐(0)
编辑
linux的ioremap
摘要: 功能:将IO地址空间映射到内核的虚拟空间上。 linux-2.6.x/arch/arm/io.h 208 /* 209 * ioremap and friends. 210 * 211 * ioremap takes a PCI memory address, as specified in 212 * Documentation/IO-mapping.txt. 213 * 214 */ 215...
阅读全文
posted @ 2011-06-24 21:35 katago
阅读(3782)
评论(0)
推荐(0)
编辑
qemu-launcher:图形化的QEMU启动器
摘要: 安装 apt-get install qemu-launcher 安装完成后,在 Application/Accessories 系统菜单下,添加了qemu-laucher 的启动项。 查看安装了哪些文件 dpkg -L qemu-launcher 参考http://blog.ccidnet.com/home.php?mod=space&uid=60710&do=blog&id=612280
阅读全文
posted @ 2011-06-24 20:39 katago
阅读(1714)
评论(0)
推荐(0)
编辑
双网卡服务器2个IP不能在同一网段
摘要: 双网卡不能将ip设置为同一网段,如果设置为同一网段则会出现,网线都插着时,只有A口有作用。只有网线在A口时,两个ip都可以访问。只有网线在B口时,网络无法访问,只有把A口停了才行(ifdown eth0)。 所以,这类情况只要设置不同网段的IP就解决问题了;
阅读全文
posted @ 2011-06-24 12:33 katago
阅读(2110)
评论(0)
推荐(0)
编辑
上一页
1
···
101
102
103
104
105
106
107
108
109
···
127
下一页
导航
博客园
首页
联系
管理
公告