Linux 录制桌面的简单工具
It's actually an application named <em><strong>recordmydesktop</strong></em>, which can be installed by <strong>sudo apt-get install recordmydesktop</strong>.
There are various kinds of purpose to use, but for me, I would like to present or show some mock-up to other people. I made a simple file
<strong>#!/bin/bash
recordmydesktop -windowid $( xwininfo -frame | awk '/Window id:/ {print $4}' )</strong>
After running this script, there is a cross cursor which allows you to select a window. As soon as the window is selected, the recording start. To end the recording, simply type Ctrl+C. After several lines of screen output, there is a .ogv file generated.
You can use Movie Player to view the file if you are using Linux. However, you can still view this file by using VLC, which can be installed to both Mac and Windows.
相关文档:
准备工作:
用到的perl 扩展组件(modules)在上篇贴出.( win32::odbc 模块
)下载组件后按照Readme文件安装倒响应目录.配置好相应的odbc数据源.
程序实现:
使用
use
Win32::ODBC;
语句包含应使用的模块是win32::odbc,写出数据库
连接字符串
$DSN = "DSN =
My DSN ......
Linux网卡驱动程序编写
[摘自 LinuxAID]
工作需要写了我们公司一块网卡的Linux驱动程序。经历一个从无到有的过程,深感技术交流的重要。Linux作为挑战微软垄断的强有力武器,日益受到大家的喜爱。真希望她能在中国迅速成长。把程序文档贴出来,希望和大家探讨Linux技术和应用,促进Linux在中国的普及。
Linux操作系统网 ......
c[tab][tab]: 获得以c开头的shell命令
alias lm='ls -al' : 取别名
unalias
type [cmd] : 判断是bash内建还是非内建的cmd
":双引号内的特殊字符可以保有变量特性
':单引号内的特殊字符尽为一般的字符
unset 变量名:取消变量名
$HOME
$PATH
$SHELL
$MAIL
$LANG
$RANDOM
$HSITSIZE
$ENV
env: 列出当前s ......
显示当前系统内存容量:
free -m
uname显示系统信息:
-a :所有系统相关信息
-s :系统核心名称
-r :核心版本
-p :cpu类型
-r :硬件平台
将当前所有联机和监听数据列出来:
netstat -a
列出所有进程打开的套接字文件:
lsof -u db2inst1 -a -U 或 lsof -u db2inst1 ......
转自:弯曲评论:tektalk.cn homepage 第一部分 MIPS CPU 体系结构概述 1. MIPS概述 本文介绍MIPS体系结构,着重于其寄存器约定,MMU及存储管理,异常和中断处理等等。 通过本文,希望能提供一个基本的轮廓概念给对MIPS CPU及之上操作系统有兴趣的读者,并能开始阅读更详细的归约(SPECIFICATION)资料。 (在线PDF文件下 ......