08 2011 档案

cmake 交叉编译
摘要:http://www.cmake.org/Wiki/CMake_Cross_Compiling 阅读全文

posted @ 2011-08-30 18:46 katago 阅读(712) 评论(0) 推荐(0) 编辑

使用CMake管理工程
摘要:1.什么是CMake? 请参考 http://en.wikipedia.org/wiki/CMake http://www.cmake.org/ 简单来讲,CMake是一套跨平台的工程构建工具。传统的*nix下生成Makefile的工具主要是autotools系列。这些工具根据不同的系统可以生成相应的makefile。相比于传统的autotools系列工具。CMake可以根据不同平... 阅读全文

posted @ 2011-08-30 12:43 katago 阅读(815) 评论(0) 推荐(0) 编辑

linux下如何模拟按键输入和模拟鼠标
摘要:查看/dev/input/eventX是什么类型的事件, cat /proc/bus/input/devices 设备有着自己特殊的按键键码,我需要将一些标准的按键,比如0... 阅读全文

posted @ 2011-08-30 11:21 katago 阅读(3028) 评论(0) 推荐(0) 编辑

sd卡驱动
摘要:linux设备驱动那点事儿之SD卡驱动理论篇 (2011-08-01 13:56) 标签: 电子产品 多媒体 存储器 消费类 分类: linux设备驱动程序分析 一.SD/MMC卡介绍 1.... 阅读全文

posted @ 2011-08-30 11:18 katago 阅读(10267) 评论(0) 推荐(1) 编辑

I2C驱动
摘要:linux设备驱动那点事儿之I2C驱动理论篇 (2011-08-01 21:31) 分类: linux设备驱动程序分析 一:I2C 概述 I2C是philips提出的外设总线.I2C只有两条线,一条串行数据线:SDA,一... 阅读全文

posted @ 2011-08-30 11:17 katago 阅读(11082) 评论(0) 推荐(0) 编辑

Linux输入子系统(Input Subsystem)
摘要:linux设备驱动那点事儿之输入子系统理论篇 (2011-08-01 23:41) 分类: linux设备驱动程序分析 Linux输入子系统(Input Subsystem) 1.1.inp... 阅读全文

posted @ 2011-08-30 11:05 katago 阅读(9493) 评论(1) 推荐(1) 编辑

PhotoShop大师之路视频
摘要:http://iask.sina.com.cn/u/1254258152/ish?folderid=41998 阅读全文

posted @ 2011-08-29 18:49 katago 阅读(177) 评论(0) 推荐(0) 编辑

Teach Yourself Programming in Ten Years
摘要:http://www.norvig.com/index.html Teach Yourself Programming in Ten Years Peter Norvig Why is everyone in such a rush? Walk into any bookstore... 阅读全文

posted @ 2011-08-26 20:08 katago 阅读(326) 评论(0) 推荐(0) 编辑

shell 算术计算 $(( ))
摘要:摘自 shell 13问 好了,最后为大家介绍 $(( )) 的用途吧:它是用来作整数运算 的。 在 bash 中,$(( )) 的整数运算符号大致有这些: + - * / :分别为 "加、减、乘、除"。 % :余数运算 & | ^ !:分别为 "AND、OR、XOR、NOT" 运算。 ~ # a=1 ~ # b=2 ~ # e... 阅读全文

posted @ 2011-08-26 16:53 katago 阅读(896) 评论(0) 推荐(0) 编辑

空命令:的使用
摘要:root@james-desktop:~# help : :: : Null command. No effect; the command does nothing. Exit Status: Always succeeds. ~ # : sdafsadf ~ # ~ # echo sdfsadf sdfsad... 阅读全文

posted @ 2011-08-26 11:17 katago 阅读(879) 评论(0) 推荐(0) 编辑

linux shell 中判断字符串为空的正确方法
摘要:help命令可以查看帮助 help test 正确做法: #!/bin/sh STRING= if [ -z "$STRING" ]; then echo "STRING is empty" fi if [ -n "$STRING" ]; then echo "STRING is not empty" fi root@jam... 阅读全文

posted @ 2011-08-26 10:44 katago 阅读(183965) 评论(1) 推荐(2) 编辑

linker and loader
摘要:LD.SO(8) LD.SO(8) NAME ld.so/ld-linux.so - dynamic linker/loader DESCRIPTION ld.so loads the shared libraries needed ... 阅读全文

posted @ 2011-08-24 15:34 katago 阅读(475) 评论(0) 推荐(0) 编辑

qt 线程
摘要:http://doc.qt.nokia.com/master-snapshot/thread-basics.html 阅读全文

posted @ 2011-08-23 19:02 katago 阅读(169) 评论(0) 推荐(0) 编辑

表达式模板 (C++学习)
摘要:http://blog.csdn.net/dbzhang800/article/details/6693454 Qt从4.6开始,引入了一个QStringBuilder的内部类 在QString的Manual中,你可以找到关于它的简单介绍 在String concatena... 阅读全文

posted @ 2011-08-23 19:01 katago 阅读(497) 评论(0) 推荐(0) 编辑

Visual C++ 8.0对象布局的奥秘:虚函数、多继承、虚拟继承
摘要:http://cplusplus.wikidot.com/cn:vc8-object-layout-secret Visual C++ 8.0对象布局的奥秘:虚函数、多继承、虚拟继承 STL扩展库»C++惯用手法(C++ Tips)» Visual C++ 8.0对象布局的奥秘:虚函数、多继承、虚拟继承 ... 阅读全文

posted @ 2011-08-23 18:53 katago 阅读(339) 评论(0) 推荐(0) 编辑

qt 键盘插件(mine)
摘要:http://download.csdn.net/source/3532863 http://doc.qt.nokia.com/qtopia4.3/tut-index.html 阅读全文

posted @ 2011-08-19 17:15 katago 阅读(313) 评论(0) 推荐(0) 编辑

qt 键盘 插件
摘要:http://www.cuteqt.com/bbs/viewthread.php?tid=509 插件实现________________________________ #ifndef KBLIBPLUGIN_H #define KBLIBPLUGIN_H #include <QKbdDriverPlugin> class kblibPlugin : public QKbdDriverPlugi... 阅读全文

posted @ 2011-08-19 17:00 katago 阅读(1745) 评论(0) 推荐(0) 编辑

qt 私有实现导致plugin 加载 提示 undefined symbol
摘要:原因:Q_OBJECT不在头文件中,导致qt没产生moc文件 解决方法: 1、在cpp文件中加入相应的 #include "qmykbdlinuxinput_qws.moc" 或者2、把私有实现放入头文件中 http://www.qtcentre.org/threads/27975-QtPlugin-and-undefined-symbol 阅读全文

posted @ 2011-08-19 16:22 katago 阅读(808) 评论(0) 推荐(0) 编辑

lisp 资料
摘要:Lisp之根源 http://daiyuwen.freeshell.org/gb/rol/roots_of_lisp.html http://daiyuwen.freeshell.org/gb/lisp.html http://www.paulgraham.com/acl.html 阅读全文

posted @ 2011-08-19 10:52 katago 阅读(253) 评论(0) 推荐(0) 编辑

scheme资料
摘要:http://www.ibm.com/developerworks/cn/linux/l-schm/index1.html http://www.ibm.com/developerworks/cn/linux/l-schm/index2.html http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html http://... 阅读全文

posted @ 2011-08-18 20:11 katago 阅读(272) 评论(0) 推荐(0) 编辑

linux input 文章
摘要:http://blog.ednchina.com/exbob/255205/message.aspx 1. The Linux USB Input Subsystem Part I : http://www.linuxjournal.com/article/6396 Part II : http://www.linuxjournal.com/article/6429 阅读全文

posted @ 2011-08-18 16:42 katago 阅读(252) 评论(0) 推荐(0) 编辑

linux内核input子系统解析
摘要:linux内核input子系统解析 2010-06-18 22:58 8422人阅读 评论(16) 收藏 举报 作者:刘洪涛,华清远见嵌入式学院讲师。 Android、X windows、qt等众多应用对于linux系统中键盘、鼠标、触摸屏等输入设备的支持都通过、或越来越倾向于标准的input输入子系统。 因为input子系统已经完成了字符驱动的文件操作接口,所以编写驱动的核心工作是完成inpu... 阅读全文

posted @ 2011-08-18 16:40 katago 阅读(1910) 评论(0) 推荐(0) 编辑

qt 键盘驱动分析
摘要:http://www.cuteqt.com/blog/?p=322 qkbdlinuxinput.cpp QWSKeyboardHandler::KeycodeAction ka; ka = m_handler->processKeycode(code, value != 0, value == 2); qkbd_qws.cpp // simple builtin US keymap //包含了... 阅读全文

posted @ 2011-08-17 19:08 katago 阅读(1807) 评论(0) 推荐(0) 编辑

smartmontools介绍
摘要:smartmontools是一款开源的磁盘控制,监视工具,可以运行在 Linux,Unix,BSD,Solaris,Mac OS,OS/2,Cygwin和Windows上,同时它还可以从启动光盘或启动软盘运行,支持ATA/ATAPI/SATA-3(到-8)位的硬盘和 SCSI硬盘,另外还支持磁带设备,它的老家在smartmontools.sourceforge.net,实际上它是一个软件包,包括... 阅读全文

posted @ 2011-08-17 16:21 katago 阅读(4581) 评论(0) 推荐(0) 编辑

chapter2 techniques ---- 2.2 partial template specialization
摘要:template <class Window, class Controller> class Widget { ... generic implementation ... }; template <> class Widget<ModalDialog, MyController> { ... specialized implementation ... }; // Partial spec... 阅读全文

posted @ 2011-08-17 11:05 katago 阅读(298) 评论(0) 推荐(0) 编辑

正規表示法
摘要:http://linux.vbird.org/linux_basic/0330regularex.php 正規表示法基本上是一種『表示法』, 只要工具程式支援這種表示法,那麼該工具程式就可以用來作為正規表示法的字串處理之用。 例如 vi, grep, awk ,sed 等等工具,因為她們有支援正規表示法, 所以,這些工具就可以使用正規表示法的特殊字元來進行字串的處理。但例如 cp, ls 等指令... 阅读全文

posted @ 2011-08-16 19:24 katago 阅读(369) 评论(0) 推荐(0) 编辑

统计代码行
摘要:find –regex “.*\.\(h\|c\|cpp\)” | xargs wc -l 阅读全文

posted @ 2011-08-16 15:30 katago 阅读(294) 评论(0) 推荐(0) 编辑

Common Lisp的ubuntu环境下安装
摘要:一般都安装了emacs,还需要安装lisp和SLIME, sudo apt-get install common-lisp-controller sudo apt-get install slime emacs里 Alt+x 输入 slime,就启动了lisp环境。 >"hello, world" 阅读全文

posted @ 2011-08-16 13:50 katago 阅读(3206) 评论(0) 推荐(0) 编辑

Common Lisp语言快速入门
摘要:Lisp是软件领域的分裂力量。一方面,Lisp爱好者誓言Lisp比软件领域内的其它语言都更加快捷、整洁和强大;而反对者则辩称,不可靠的执行和库支持不足使得开发者难以在其中编写任何真正的软件。事实上,他们都有各自的道理。 第一版Lisp于大约50年前推出,这使得它和FORTRAN一样,成为现在仍在使用的最古老的编程语言之一。可以证明,它拥有(它们将会拥有)最 庞大的特性列表,它也是第一种包括一整套... 阅读全文

posted @ 2011-08-16 13:43 katago 阅读(10615) 评论(0) 推荐(1) 编辑

Property Binding
摘要:属性绑定后会自动更新 Rectangle { width: otherItem.width height: otherItem.height } Rectangle { function calculateMyHeight() { return Math.max(otherItem.height, thirdItem.height); } anchors.centerIn: par... 阅读全文

posted @ 2011-08-15 17:17 katago 阅读(371) 评论(0) 推荐(0) 编辑

[QML] Connections元素介绍
摘要:一个Connections对象创建一个了一个QML信号的连接。在QML中,我们连接信号通常是用使用"on<Signal>"来处理的,如下所示: MouseArea { onClicked: { foo(...) } } 复制代码 然而, 以下几种情况则无法通过"on<Signal>"来实现: 1.针对某个信号需要多个处理时,也就是有多个槽关联到同一个信号上。 2.在信号的发送者的范围外(这里可以... 阅读全文

posted @ 2011-08-15 10:16 katago 阅读(2435) 评论(0) 推荐(0) 编辑

beini ewsa
摘要:http://wenku.baidu.com/view/61b3b71f650e52ea551898f1.html http://hi.baidu.com/pc8net/blog/item/b08dccedb8d16d1dfcfa3c40.html http://www.elcomsoft.com/ewsa.html If you use EWSA with ATI Radeon cards... 阅读全文

posted @ 2011-08-13 08:34 katago 阅读(203) 评论(0) 推荐(0) 编辑

IP组播与组播协议
摘要:点对点传输的单播方式不能适应这一类业务传输特性--单点发送多点接收,因为服务器必须为每一个接收者提供一个相同内容的IP报文拷贝,同时网络上也重复地传输相同内容的报文,占用了大量资源。 AD: 在Internet上,多媒体业务诸如:流媒体,视频会议和视频点播等,正在成为信息传送的重要组成部分。点对点传输的单播方式不能适应这一类业务传输特性--单点发送多点接收,因为服务器必须为每一个接收者提供一个相同... 阅读全文

posted @ 2011-08-12 15:04 katago 阅读(1915) 评论(0) 推荐(0) 编辑

组播MAC地址
摘要:MAC地址是以太网二层使用的一个48bit(6字节十六进制数)的地址,用来标识设备位置。MAC地址分成两部分,前24位是组织唯一标识符(OUI, Organizationally unique identifier),后24位由厂商自行分配。 MAC地址有单播、组播、广播之分。单播地址(unicast address)表示单一设备、节点,多播地址或者组播地址(multicast address... 阅读全文

posted @ 2011-08-12 14:54 katago 阅读(54794) 评论(1) 推荐(3) 编辑

photoshop CS2 笔记
摘要:启动时候按住ctrl shift alt,可以恢复photoshop原来的界面布局。 --------------------------------------------------------------------------------------------------------- 系列教程#05 01 Photoshop图层初识 我们使用形状工具中的椭圆〖U或SHIFT U〗来绘... 阅读全文

posted @ 2011-08-09 20:03 katago 阅读(266) 评论(0) 推荐(0) 编辑

关于短延迟 sleep usleep nanosleep select
摘要:http://blog.chinaunix.net/space.php?uid=488742&do=blog&cuid=1276208 root@james-desktop:/opt/Marvell_test/sleep_test# ./x86_test_sleep function time(usec) realTime reduce ----------------------------... 阅读全文

posted @ 2011-08-09 12:27 katago 阅读(852) 评论(0) 推荐(0) 编辑

网卡驱动程序都做了些什么
摘要:http://chxxxyg.blog.163.com/blog/static/150281193201052885554609/ 2010-06-28 20:55:54| 分类: arm linux设备驱|字号 订阅 网卡驱动程序主要是实现了结构体struct net_device *ndev 中的一些方法,和中断处理函数: ndev->open = &dm9000_open; ndev->ha... 阅读全文

posted @ 2011-08-08 17:04 katago 阅读(836) 评论(0) 推荐(0) 编辑

mii-tool和ethtool
摘要:mii-tool和ethtool 2006年12月6日(星期三) 17点19分 作者: 天天小白 天气: 心情: 一般 1、mii-tool 配置网络设备协商方式的工具 1.1 mii-tool 介绍 mii-tool - view, manipulate media-independent interface status (mii-tool 是查看,管理介质的网络接口的状态) 有时网卡需要配... 阅读全文

posted @ 2011-08-08 15:48 katago 阅读(912) 评论(0) 推荐(0) 编辑

SecureCRT 脚本
摘要:======================================无敌分割线============================================== 在SecureCRT里,用得最多的应该就是crt.Screen,基本上很多操作都是基于屏幕的返回字来决定下一步的操作。 ====================Screen之屏幕返回判断=================... 阅读全文

posted @ 2011-08-08 10:53 katago 阅读(1557) 评论(0) 推荐(0) 编辑

巧用SecureCRT脚本功能,方便管理几例--自己搞了个chmod chown的脚本方便自己
摘要:http://www.justwinit.cn/post/2295/ 每次都要去chmod -R * ;chown -R nobody.nogroup * 很是麻烦,写一脚本解决,到时候直接调用一下secureCRT的脚本--》运行--》选择脚本即可! 代码如下: Sub Main crt.Screen.Synchronous = True crt.Screen.Send "chmod -R ... 阅读全文

posted @ 2011-08-06 16:35 katago 阅读(5582) 评论(0) 推荐(0) 编辑

配置pcie网卡指示灯
摘要:pcie网卡原理图,led0 管脚配成 act(闪),led3配置link 1000M 100000000001000 = 0x4008 //lzm: 2011/8/6 /* pcie网卡原理图,led0 管脚配成 act(闪),led3配置link 1000M 100000000001000 = 0x4008 */ static void rtl8168_customized_leds(stru... 阅读全文

posted @ 2011-08-06 15:44 katago 阅读(738) 评论(0) 推荐(0) 编辑

Ethernet LEDs
摘要:Ethernet LEDs The Ethernet port has two LEDs: Link/Act and 10/100. The Link/Act LED should be ON at each end of the Ethernet cable. If the Link/Act LED is not ON, it usually indicates that there is a ... 阅读全文

posted @ 2011-08-06 11:07 katago 阅读(265) 评论(0) 推荐(0) 编辑

一个不错的qml笔记
摘要:http://blog.csdn.net/liuhongwei123888/article/category/834258 阅读全文

posted @ 2011-08-05 17:04 katago 阅读(216) 评论(0) 推荐(0) 编辑

qml 调试
摘要:Debugging QML http://doc.qt.nokia.com/4.7/qdeclarativedebugging.html 主要有:console.debug("list1 " + activeFocus) 可以加参数Debugging TransitionsWhen a transition doesn't look quite right, it can be helpful t... 阅读全文

posted @ 2011-08-05 14:37 katago 阅读(1715) 评论(0) 推荐(0) 编辑

wpf教程
摘要:http://developer.51cto.com/art/200809/88207.htm 阅读全文

posted @ 2011-08-05 13:51 katago 阅读(241) 评论(0) 推荐(0) 编辑

qml focus相关
摘要:Item的属性: read-only activeFocus : bool This property indicates whether the item has active focus. An item with active focus will receive keyboard input, or is a FocusScope ancestor of the item that wil... 阅读全文

posted @ 2011-08-05 11:08 katago 阅读(2837) 评论(0) 推荐(0) 编辑

QML Item Element
摘要:All visual items in Qt Declarative inherit from Item. Although Item has no visual appearance, it defines all the properties that are common across visual items - such as the x and y position, the widt... 阅读全文

posted @ 2011-08-04 14:18 katago 阅读(268) 评论(0) 推荐(0) 编辑

QML Animation
摘要:Types of Animations 主要有以下几种动画: Value Source / Behavior When an animation is used as a value source or in a Behavior, the default target and property name to be animated can both be inferred. Rectangl... 阅读全文

posted @ 2011-08-04 14:00 katago 阅读(676) 评论(0) 推荐(0) 编辑

Chapter 13. Playing God: Basic Physics Modeling (Tricks.of.the.Windows.Game.Programming.Gurus,.Second.Edition)
摘要:Fundamental laws of physics Gravity 重力 Friction 摩擦力 Collision response 碰撞 Forward kinematics Particle systems 粒子系统 Playing God http://search.china-pub.com/s/?key1=%uff08%u7f8e%uff09Andr%u00e9+LaMothe... 阅读全文

posted @ 2011-08-04 10:37 katago 阅读(177) 评论(0) 推荐(0) 编辑

粒子系统(Particle System)
摘要:在虚拟战场中,有些诸如烟雾、火焰、雨雪等自然现象和不规则对象,它们不仅有复杂的逻辑结构,而且还会动态地发生变换,很难用传统的几何建模方式来表现。粒子系统(Particle System)是迄今为止计算机图形学中用于描述不规则对象最成熟的理论之一,也是视景仿真领域模拟自然现象和特殊效果的方法中视觉效果最好的一种。粒子系统的基本思想是,采用大量具有一定生命和属性的微小粒子图元作为基本元素来描述不规则对... 阅读全文

posted @ 2011-08-04 10:12 katago 阅读(946) 评论(0) 推荐(0) 编辑

BSP 算法
摘要:http://en.wikipedia.org/wiki/Binary_space_partitioning 下面这个讲解很详细: http://www.devmaster.net/articles/bsp-trees/ 演示: http://symbolcraft.com/graphics/bsp/ 阅读全文

posted @ 2011-08-03 14:29 katago 阅读(959) 评论(0) 推荐(0) 编辑

凸包
摘要:至於「凸」的定義是:圖形內任意兩點的連線不會經過圖形外部, http://mathworld.wolfram.com/Convex.html 。這裡指的「凸」並不是表面弧狀凸起之意,事實上凸包是由許多平坦表面組成的。 http://www.csie.ntnu.edu.tw/~u91029/ConvexHull.html 阅读全文

posted @ 2011-08-03 14:28 katago 阅读(187) 评论(0) 推荐(0) 编辑

qml资料
摘要:http://developer.qt.nokia.com/wiki/Category:Developing_with_Qt::Qt_Quick http://developer.qt.nokia.com/wiki/Flying_Bus_Game https://projects.developer.nokia.com/qmlbox2ddemo 阅读全文

posted @ 2011-08-02 18:53 katago 阅读(157) 评论(0) 推荐(0) 编辑

javascript 书
摘要:Photoshop Scripting Guide.pdf 还不错,简单介绍。 阅读全文

posted @ 2011-08-02 16:29 katago 阅读(131) 评论(0) 推荐(0) 编辑

QML Advanced Tutorial 2
摘要:自己写的时候发现圆形背景不透明, Rectangle { id: block //width: img.width; height: img.height Image { id: img anchors.fill: parent source: "../shared/pics/redStone.png" } } Rectangle 改为 Item就可以了: Item { id: ... 阅读全文

posted @ 2011-08-02 14:43 katago 阅读(219) 评论(0) 推荐(0) 编辑

MouseArea重叠导致按键没响应
摘要:Cell.qml中的MouseArea和主界面的MouseArea重叠了 阅读全文

posted @ 2011-08-01 13:38 katago 阅读(431) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示