linux 安装 Broadcom 4311网卡

作者:邪恶的小鱼 发布时间:December 17, 2009 分类:linux

驱动安装详细:http://linuxwireless.org/en/users/Drivers/b43

我的Broadcom  4311网卡的安装步骤为:

Follow these instructions if you are using the b43 driver from linux-2.6.32 and newer or compat-wireless-2.6, or from any current GIT tree, and have a device with a low-power PHY.

Use the current Git version of b43-fwcutter.
Download, extract the b43-fwcutter tarball and build it:

git clone http://git.bu3sch.de/git/b43-tools.git
cd b43-tools/fwcutter
make
cd ..

Use version 4.174.64.19 of Broadcom's proprietary driver. (The tarball is mislabeled as "4.178.10.4", but it is actually 4.174.64.19.)
Download and extract the firmware from this driver tarball:

export FIRMWARE_INSTALL_DIR="/lib/firmware"
wget http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
tar xjf broadcom-wl-4.178.10.4.tar.bz2
cd broadcom-wl-4.178.10.4/linux
sudo ../../fwcutter/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o

Note that you must adjust the FIRMWARE_INSTALL_DIR path to your distribution. The standard place where firmware is installed to is /lib/firmware. However some distributions put firmware in a different place.

.net程序链接mysql数据库【原创】

作者:邪恶的小鱼 发布时间:November 29, 2009 分类:小鱼的互联网观察,linux,Windows

.net程序主要使用微软自家的sql2005 或者sql2008 或更早些的sql2000.使用内置的ado.net就可以针对这些数据库进行链接。

【mysql】

MySQL是一个小型关系型数据库管理系统,开发者为瑞典MySQLAB公司,在2008年1月16号被Sun公司收购。MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。

阅读剩余部分...

在.net c#下使用mysql

作者:邪恶的小鱼 发布时间:August 25, 2009 分类:linux

首先下载 dll

http://dev.mysql.com/get/Downloads/Connector-Net/mysql-connector-net-5.2.7-noinstall.zip/from/pick#mirrors

 

然后解压缩提取其中的mysql.data.dll  添加到项目中。(引用dll)

关键的几行代码

 

using MySql.Data.MySqlClient; 

 

 连接到MySql数据库并返回连接对象

private static MySqlConnection getCon()
20        {
21            MySqlConnection myCon = null;
22            try
23            {
24                /*
25                 * Server:数据库服务器。localhost表示本机
26                 * Database:数据库名称。school表示mySql中一个名为school的数据库
27                 * Uid:用户名
28                 * Pwd:密码
29                 * CharSet:使用的字符编码。不设置可能产生乱码
30                 */

31                myCon = new MySqlConnection("Server=localhost;Database=school;
Uid=root;Pwd=123;CharSet=utf8;
");
32                myCon.Open();
33            }

34            catch (MySqlException e)
35            {
36                //抛出连接MySql数据库的异常
37                throw new Exception(e.Message);
38            }

39            return myCon;
40        }

41

 详细可以看文档。

dedecms 5.5 关键字取消关键字keyword限制

作者:邪恶的小鱼 发布时间:August 7, 2009 分类:小鱼的互联网观察,linux

<code>

dedecms keyword
dedecms 关键字所有内链(取消keyword限制)

在“
$body = preg_replace("/(<a(.*))(>)(.*)(<)(\/a>)/isU", '\\1-]-\\4-[-\\6', $body);

后增加

 ...............

 

Google操作系统(Google Chrome OS) 下载

作者:邪恶的小鱼 发布时间:August 3, 2009 分类:小鱼的互联网观察,linux

 

北京时间7月8日消息,据国外媒体报道,周二晚些时候,Google正式宣布开发基于PC的操作系统,这意味着Google与微软之间的竞争已升级到了白热化阶段。

这一计划无疑将加剧Google与微软之间的竞争,目前在个人电脑领域,微软Windows操作系统处于绝对垄断地位。

这并不是Google首次踏足操作系统领域,此前,Google已经为手机等移动设备推出了代号为Android的操作系统。目前,多家手机和上网本制造商已经推出了基于Android操作系统的机型。

业界有观点认为,与个人电脑自行安装应用软件相比,网络运算将越来越扮演核心的角色,而Google便是这一观点的长期鼓吹者之一。Google认为在未来,应用程序将直接在互联网浏览器中运行。

 

去年,Google发布了Chrome浏览器,它被Google形容为在强大的网络互动应用驱动下用户的得力工具,如Gmail、Google Docs以及其它公司开发的网络应用都可以在Chrome很好运行。同时,Google也在不断对Chrome进行升级以拥有更多特性,Chrome甚至允许用户在未接入互联网的情况下使用应用程序。

阅读剩余部分...

  1. 页码:
  2. 1
  3. 2