- 博客(13)
- 收藏
- 关注
原创 一个非常好用的Mockup工具:Balsamiq mockups
在工作中,经常需要设计软件界面。所以一直想找到一款好用的Mockup工具。 其实我的需求只有2点。 1. 能够快速绘制。 2. 开发人员能够看明白。并不需要太复杂的特性。原来用过 Firefox的插件 Pencil,现在不用了,bug多,另外还做不到快速绘制。比如一个 表格, 需要一列一列的去拼,感觉很麻烦。 Balsamiq mockups(http://www.balsamiq
2009-11-18 12:32:00
16639
原创 how to ssh logon remote host without password
ou want to connect from machine "left" to machine "right". Log into left: mkdir ~/.sshcd ~/.sshssh-keygen -b 1024 -t rsa1 -C "you@yourdomain.com" -N ""ssh-keygen -b 1024 -t rsa -C "you@yourdomain.com"
2007-06-11 11:02:00
1281
转载 The Fibers of Threads
For the last several months in this column, weve been looking at programming with Linuxs threads library, pthreads. However, we have taken for granted the work that is actually done under the covers
2006-08-23 19:25:00
1306
转载 The Fibers of Threads
For the last several months in this column, weve been looking at programming with Linuxs threads library, pthreads. However, we have taken for granted the work that is actually done under the covers
2006-08-23 19:09:00
1214
转载 syslogd的配置
修改一下/etc/syslog.conf 文件#kern.* /dev/console你打印的东西可能是某个级别的信息。比如说debug,这用printk 可以控制 。那么就写程kern.debug /var/log/kern_debug.log-------------------------printk(KERN_ALERT "Hello, world/n"); 对应/et
2006-05-07 21:50:00
2802
转载 如何在Linux内核中将输出打印到终端
#include #include #include #include #include MODULE_LICENSE("GPL");MODULE_AUTHOR("mq110");static void print_string(char *str){ struct tty_struct *my_tty; my_tty = current->signal->tty; if (my
2006-05-07 21:47:00
5574
1
转载 如何在Linux内核中写文件
#include #include #include #include #include #include #include #include #include #define MY_FILE "/root/LogFile"char buf[128];struct file *file = NULL; static int __init init(void){ mm_
2006-05-07 21:46:00
2391
2
原创 source命令的作用
source命令的作用就是用来执行一个脚本,那么:source a.sh 同直接执行 ./a.sh 有什么不同呢,比如你在一个脚本里export $KKK=111 ,如果你用./a.sh执行该脚本,执行完毕后,你运行 echo $KKK ,发现没有值,如果你用source来执行 ,然后再echo ,就会发现KKK=111。因为调用./a.sh来执行shell是在一个子shell里运行的,所以执行后
2006-04-21 15:32:00
31686
2
原创 VIM的技巧
自动排版: gg=G 在粘贴了一些代码之后,vim变得比较乱,只要执行gg=G就能搞定输入不了中文怎么办 要把vi的encoding设置成同系统的编码一样的,通常将其设置成utf8 , set encoding=utf8如何弥补vi不能够有多个标签页显示 非常习惯editplus的多标签页,可以同时打开多个文件,vi不支持标签页,但是vi有buffer功能,vi也可以打开多个
2006-04-17 16:11:00
4380
转载 在ubuntu下用vlc播放DVD
vlc对DVD的支持可以说是目前最完整的,而安装完之后,软件已经具备了全区DVD拨放的效果了,不用另外处理,算是相当好的。 请加入sources.list deb ftp://ftp.videolan.org/debian-non-US/ testing/non-US main non-free contrib deb ftp://ftp.videolan.org/de
2006-04-14 09:51:00
2383
转载 如何编写技术白皮书
下面这篇文章介绍了技术白皮书的由来,以及如何编写:http://www.stelzner.com/copy-HowTo-whitepapers.php
2006-04-10 13:59:00
4141
原创 Linux下串口虚拟终端的配置
开发内核,kernel panic是难免的,只有将内核的输出信息输出到串口,在kernel panic之后才能通过串口虚拟终端查看内核输出信息。1.修改内核参数 /boot/grub/grub.conf下面蓝色部分为添加的,保证内核输出信息输出到串口终端title Red Hat Linux (2.6.12.3)root (hd0,2) kernel /boot/vmli
2006-04-09 13:38:00
3216
原创 终于建了blog
今天终于建立了blog。 做软件开发也有5年多了,最近感觉有些迷惘,也有点不太顺利,是时候好好想一想,把过去的一些开发经验作个总结,是对自己的一个交待,同时也希望能给其他开发者一些帮助。
2006-04-09 13:23:00
848
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人