#-*- coding:UTF-8 -*-#-*- author:Zahoor Wang
-*-import codecs, os, sys, platform, stringdef env():return platform.system()def
read_file(uri, charset =...
分类:
编程语言 时间:
2014-05-16 04:30:50
阅读次数:
306
一直喜欢chrome 浏览器,不过自ubuntu 刚安装的时候是没有chrome的,
首先,下载google chrome deb包
32位:https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
6...
分类:
系统相关 时间:
2014-05-16 04:17:45
阅读次数:
367
Using perf, the Linux Performance Analysis tool
on Ubuntu KarmicA lot has been going on with Linux performance counters (now
called performance events...
分类:
其他好文 时间:
2014-05-16 04:06:37
阅读次数:
386
1. JDK安装a)
安装目录:网上的安装JDK资料中安装目录基本有两种——/opt和/usr/local。这两个目录安装在哪里其实都无所谓,只不过在以前的linux中人们习惯将软件安装在/usr/local中。这里推荐/opt目录。b)
配置文件:将JDK同时配置在/etc/profile和/et...
分类:
其他好文 时间:
2014-05-15 21:46:37
阅读次数:
388
转自:http://blog.csdn.net/zhangt85/article/details/9154525 1.“工具”--》“附件组件”
2.搜索“new_mail_attention” 3.在出现的结果中安装 new_mail_attention-1.2.1-tb+sm.xpi ...
分类:
其他好文 时间:
2014-05-15 21:15:05
阅读次数:
269
android源码下载:官方下载或参考android源码下载方式Android编译版本:
PLATFORM_VERSION=4.0.1(最新Android 4.0.1)OS 操作系统平台: Linux yanggang
2.6.35-30-generic #61-Ubuntu SMP Tue Oct...
分类:
移动开发 时间:
2014-05-15 21:10:55
阅读次数:
463
1、gem安装出现下面错误
root@ubuntu:/home/git/gitlab# sudo gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https...
分类:
其他好文 时间:
2014-05-15 18:19:48
阅读次数:
304
有各种不同的策略来定位页面中的元素。你可以使用最合适定位方式用于你的用例。Selenium提供了以下方法来定位页面中的元素:find_element_by_idfind_element_by_namefind_element_by_xpathfind_element_by_link_textfi.....
分类:
编程语言 时间:
2014-05-15 17:28:48
阅读次数:
430
一、环境ubuntu12.04.4nginx 1.6.0mariadb 10.0更新系统补丁sudo
apt-get updatesudo apt-get dist-upgrade -y挂载swap分区dd
if=/dev/zeroof=/media/fasthdd/swapfile.img bs=...
分类:
数据库 时间:
2014-05-15 17:23:21
阅读次数:
1622
教材:《简明Python教程》Python面向对象:如shell这种面向过程的程序都是通过“操作数据的函数”或者“语句块”来设计函数。python的程序(面向对象):类是一个“class”类型,对象是类中的一个实例。类的属性包括了:域和方法。(即变量和函数)属于一个对象或类的变量被称为..
分类:
编程语言 时间:
2014-05-15 12:39:21
阅读次数:
351