自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(52)
  • 收藏
  • 关注

转载 Speed Up Multiple SSH Connections to the Same Server

From: http://www.linuxjournal.com/content/speed-multiple-ssh-connections-same-server  If you run a lot of terminal tabs or scripts t

2011-08-19 05:21:59 501

原创 安装蓝牙鼠标的囧事。。

上次重装了系统之后,一直没有用原来的蓝牙鼠标(因为电池没电了。。),蓝牙连接nokia 到时没有问题。今天中午突然买了一节电池,于是决定开始启用蓝牙鼠标。结果搞了半天,发现了设备,但是连接不上。最开始一位driver的问题,于是在网上找Driver,还跑到Dell的官网上下载。结果安装来安装去,重启了好几次电脑,nothing help,然后在网上搜索答案。有个哥们说是他的方法很正确,尝试了N钟之后就他对,here, 因为我也是bluetooth 周边设备驱动的问题。结果傻乎乎的试了试,不管用。再搜,终于找

2010-08-01 06:52:00 658

转载 vi

<br />http://easwy.com/blog/archives/vim-tips-advanced-substitute-4/<br /> <br /> vim使用技巧: 替换的巧妙使用(4)Easwy添加评论<br />vim使用技巧: 替换的巧妙使用(1)已经介绍了在vim中替换功能的巧妙运用。本文再介绍两个小技巧。<br />这两个技巧是近期看到的,记录下来,以免忘记。<br />[技巧一]<br />第一个是在VIM邮件列表中看到的,给出了一个如何统计文章字数的方法。<br />统计一个完

2010-07-29 23:38:00 480

原创 vbox guest addition 安装

http://ubuntu-tutorials.com/2007/10/13/installing-guest-additions-for-ubuntu-guests-in-virtualbox/http://soulogic.com/blog/archives/380.html

2010-07-28 02:39:00 1565

转载 面试

<br />http://topic.csdn.net/u/20090717/11/d4222b84-5483-4ea4-8a15-80611f67582b.html<br /> <br />1、请你自我介绍一下你自己,<br />回答提示:一般人回答这个问题过于平常,只说姓名、年龄、爱好、工作经验 ,这些在简历上都有,其实,企业最希望知道的是求职者能否胜任工作,包括:最强的技能、最深入研究的知识领域、个性中最积极的部分、做过的最成功的事,主要的成就等,这些都可以和学习无关,也可以和学习有关,但要突出积极的

2010-07-28 01:49:00 769

转载 写得蛮好的linux学习笔记

http://blog.chinaunix.net/u/30619/showart.php?id=249558 linux目录架构/   根目录/bin    常用的命令 binary file 的目錄/boot   存放系统启动时必须读取的档案,包括核心 (kernel) 在内     /boot/grub/menu.lst   GRUB设置     /boot/vmlinuz   内核     /boot/initrd     核心解壓縮所需 RAM Disk/dev    系统周边设备     /et

2010-07-28 01:45:00 232

转载 写得蛮好的linux学习笔记

<br />http://blog.chinaunix.net/u/30619/showart.php?id=249558<br /> <br /> <br /> linux目录架构<br />/   根目录<br />/bin    常用的命令 binary file 的目錄<br />/boot   存放系统启动时必须读取的档案,包括核心 (kernel) 在内<br />     /boot/grub/menu.lst   GRUB设置<br />     /boot/vmlinuz   内核<br

2010-07-28 01:45:00 265

转载 ubuntu下嵌入式开发环境的设置

<br />from http://wiki.ubuntu.org.cn/index.php?title=%E5%BF%AB%E9%80%9F%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97/GutsyGibbon&variant=zh-cn<br /> <br />http://blog.chinaunix.net/u2/60011/showart_1073796.html<br /> ubuntu下嵌入式开发环境的设置 一、Ubuntu常用设置<br />1.添加桌面图标<br

2010-07-28 01:44:00 281

转载 dos command for network

from http://topic.csdn.net/u/20100723/13/5c88a495-c831-43bc-bfba-39459eaeab08.htmlnet use //ip/ipc$ " " /user:" " 建立IPC空链接  <br /><br />net use //ip/ipc$ "密码" /user:"用户名" 建立IPC非空链接  <br /><br />net use h: //ip/c$ "密码" /user:"用户名" 直接登陆后映射对方C:到本地为H:  <br /><

2010-07-28 01:41:00 523

转载 我为何而生——伯兰特·罗素自传前言

<br />from http://www.awflasher.com/blog/archives/52<br /> <br /> The Prologue to Bertrand Russell's Autobiography<br />What I Have Lived For<br />Three passions, simple but overwhelmingly strong, have governed my life: the longing for love, the search for

2010-07-20 07:46:00 681

转载 电脑用眼注意

<br />http://www.awflasher.com/blog/archives/104<br /> <br />http://www.awflasher.com/blog/archives/129

2010-07-20 07:45:00 390

转载 linux 系统info查看

<br />from http://tech.idv2.com/2008/01/11/linux-sysinfo-cmds/<br /> <br />另外这里还有非常多的命令,可以作为参考。<br />系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名#

2010-07-15 23:30:00 996

转载 ibus and fcitx

http://wiki.ubuntu.org.cn/index.php?title=Fcitx&variant=zh-cn

2010-07-09 06:53:00 478

转载 python subprocess

subproess os.popen and os.system

2010-07-09 05:17:00 668

转载 vbox fcitx

<br />http://i.azpala.com/2007/10/09/thinkpad-t43-windows-xpubuntu-gutsy/<br /> <br /> <br /> 

2010-07-09 03:39:00 441

转载 #/usr/bin/env python and #!/usr/local/bin/python

<br />When do you<br /><br />#!/usr/local/bin/python<br />You are specifying the location to the python executable in your machine, that rest of the script needs to be interpreted with.<br />You are pointing to python is located at /usr/local/bin/python<br

2010-07-07 22:12:00 697

转载 Programmer's love

http://www.microsoft.com/china/visualstudio/2010launch/love.aspx

2010-06-24 22:28:00 290

转载 python resource http://effbot.org/

<br />http://effbot.org/<br /> <br />mark<br /> 

2010-06-22 05:43:00 569

转载 list comprehension and nested list

<br />nested list is a list of list:<br /> <br />words = 'The quick brown fox jumps over the lazy dog'.split()<br /><br />print words<br /><br />stuff = [[w.upper(), w.lower(), len(w)] for w in words] #list comprehension<br /><br />for i in stuff:<br />   

2010-06-16 22:43:00 659

原创 linux 常用命令

<br /><br />linux 常用命令及技巧:<br />linux 常用命令总结: <br />一。 通用命令: <br />1. date :print or set the system date and time <br />2. stty -a: 可以查看或者打印控制字符(Ctrl-C, Ctrl-D, Ctrl-Z等) <br />3. passwd: print or set the system date and time (用passwd -h查看) <br />4. logout,

2010-06-10 03:08:00 401

转载 interesting flash games

<br />from: http://www.veryfar.com/10-fun-little-game.html<br /> <br /><br />第一款:敏捷度测试<br />这款游戏是通过抓拍飞行的超人来考察你的敏捷度。游戏的画面很价值,现场感很强,<br />喜欢摄影的朋友应该多玩下这游戏,可以提高你抓拍能力。<br />试拿稳你的相机,执行拍超人任务吧!PS:键盘“+ -”键可伸缩镜头。<br />【进入游戏】<br />第二款:超可爱的策略游戏——《一个也不能少》<br />一群调皮的小孩很

2010-06-09 08:50:00 400

转载 deal sea

<br />from http://www.chineseinla.com/f/page_viewtopic/t_13614.html<br /> <br />http://www.chineseinla.com/la_weblinks/catid_23.html<br /> <br /><br />呵呵,又是新生入学的时候,人们开始逐渐适应环境,多出的时间干嘛<br /> <br />找deal!<br /> <br />回想自己刚来的时候,一个朋友很好心的告诉我两个网址,之后就天天泡在上面了。<br /

2010-06-05 08:54:00 841

转载 python -mtimeit in windows

<br />$ python -mtimeit -s"from math import sqrt; x = 123""x**.5" <br />1000000 loops, best of 3:0.445 usec per loop <br /> <br />$ python -mtimeit -s"from math import sqrt; x = 123""sqrt(x)" <br />1000000 loops, best of 3:0.574 usec per loop <br /> <br />

2010-06-04 23:52:00 492

转载 video-cartoon

http://www.tudou.com/programs/view/1DJRNAMRWS4/

2010-05-27 11:04:00 598

原创 luanke

http://luanke.jiaoyu.org/ http://woooh.com/

2010-05-27 10:52:00 341

转载 python hidden features

from http://stackoverflow.com/questions/101268/hidden-features-of-python  http://www.okpython.com/bbs/thread-3434-1-1.html http://www.okpython.com/bbs/thread-3436-1-2.html http://www.okp

2010-05-27 03:31:00 608

转载 一个多重循环体字典

 bob = {name:Bob smith,age:42,pay:30000,job:dev}sue = {name:Sue Jones,age:45,pay:40000,job:mus}db = {}db[bob] = bobdb[sue] = sueif __name__:__main__for key

2010-05-26 22:54:00 503

转载 宋韶光2009年牛年运程 & 2010 虎年運程(完整版)

http://www.linuxfly.org/post/290/ ......... http://www.mastersung.com/ .........

2010-05-26 21:50:00 831

转载 yum命令常见参数

http://www.linuxfly.org/post/193/     yum是一个用于管理rpm包的后台程序,用python写成,可以非常方便的解决rpm的依赖关系。在建立好yum服务器后,yum客户端可以通过http、ftp方式获得软件包,并使用方便的命令直接管理、更新所有的rpm包,甚至包括kernel的更新。它也可以理解为红旗环境下的apt管理工具。   以前写过一份[

2010-05-26 21:37:00 720

转载 Python代码加密 源码保护--pyc文件'字节码'

from   http://blog.alexa-pro.cn/?p=349 内容概要:Python代码加密,源码保护,代码保护,pyc文件------------------------------------------------关于python代码保护在网上好像一直没有很好的介绍,可能和PYTHON的设计初衷"开源"有关,但越来越多的兄弟写的加入PYTHON阵营,开发工具用途各

2010-05-26 21:32:00 2651 1

转载 Python文件操作 打开,读取,关闭

http://blog.alexa-pro.cn/?p=197  1.打开文件代码如下:>>> f = open(”d:test.txt”, “w”)说明:第一个参数是文件名称,包括路径;第二个参数是打开的模式mode’r:只读(缺省。如果文件不存在,则抛出错误)’w:只写(如果文件 不存在,则自动创建文件)’a:附加到文件末尾’r+’:读写如果需要以二进制方式打开文件,需要

2010-05-26 21:31:00 1611

转载 改写一个截屏函数,可指定保存目录,存为JPG格式图片

from http://blog.alexa-pro.cn/?p=361  python截屏函数.1.可指定保存目录.2.截屏图片名字以时间为文件名3.截屏图片存为JPG格式图片,比BMP小多的,一个1024*800的截屏BMP有3M多,一个1024*800的JPG只有300K左右.就可做一个简单的监控了,每10秒截一屏,放到一个指定隐藏的文件夹里,基本掌握机子的使用了,适合监控自家小

2010-05-26 21:29:00 1162 2

转载 Pamie模块详解 python操作ie浏览器

from http://blog.alexa-pro.cn/?p=315 此文档使用平台为 cPAMIE Build 2.0,和之前的版本有明显的差别,具体可直接看cPAMIE.py 源码下面是一些常用的方法ie.navigate(http://blog.alexa.cn) 用来访问一个链接。ie.linkClick(linkname) 打开这个页面中的一个连接 参数: nam

2010-05-26 21:26:00 1567 2

转载 random

from http://blog.alexa-pro.cn/?p=229 随机整数:>>> import random>>> random.randint(0,99)21随机选取0到100间的偶数:>>> import random>>> random.randrange(0, 101, 2)42随机浮点数:>>> import random>>> random.random()0

2010-05-26 21:22:00 402

转载 python文件和路径操作介绍

from http://blog.alexa-pro.cn/?p=189 1: os.listdir(path) //path为目录功能相当于在path目录下执行dir命令,返回为list类型print os.listdir(..)输出:[a,b,c,d]2: os.path.walk(path,visit,arg)path :是将要遍历的目录visit :是一个函数指

2010-05-26 21:20:00 566

转载 sort list and dict

http://blog.alexa-pro.cn/?p=234 

2010-05-26 21:19:00 342

翻译 python 笔记 for loop and extend, append

list.append(item) list.extend(sequence)http://docs.python.org/tutorial/datastructures.html http://docs.python.org/library/functions.html 这几天看一下python howto恩。python documentation 确实很好很强大啊

2010-05-05 22:34:00 1190

转载 Are u the 10%?

http://reprog.wordpress.com/2010/04/19/are-you-one-of-the-10-percent/  http://news.csdn.net/a/20100423/218099.html

2010-04-30 09:37:00 221

转载 那些相见恨晚的 JavaScript 技巧

from http://news.csdn.net/a/20100424/218105.html  JavaScript 的成功让人津津乐道,为 Web 网页编写 JavaScript 代码已经是所有 Web 设计师的基本功,这门有趣的语言蕴藏着许多不为人熟知的东西,即使多年的 JavaScript 程序员,也未能完全吃透。本文从7个方面讲述 JavaScript 中那些你不很熟知

2010-04-30 09:35:00 201

转载 MIT技术评论:2010十大新兴技术

http://news.csdn.net/a/20100426/218108.html 1. 实时搜索(Real-Time Search)Amit Singhal正在Google领导着一个团队挖掘社会化网络的信息,提供与传统Web搜索相同质量和价值的信息。2. 社会化电视(Social TV)MIT的Marie-José Montpetit正在开发社会化电视,将社会化网

2010-04-30 09:34:00 422

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除