摘要:查看表空间的名称及大小:SQL>select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_sizefrom dba_tablespaces t, dba_data_files d where t.tablespace_name = d.tablespace_name group by t.tablespace_name;查看表空间物理文件的名称及大小:SQL>select tablespace_name, file_id, file_name,round(bytes/(1024*1024),0) total_space 阅读全文
重要的和成熟的手机跨平台工具
2013-02-18 15:52 by java20130722, 146 阅读, 0 推荐, 收藏,
摘要:As part of the new community-driven research initiative, we are examining the importance and adoption level of a range of cross platform mobile tools that aim to help developers deliver applications on a variety of mobile platforms. The tools we're going to examine are:PhoneGap (Apache Cordova), 阅读全文
Ubuntu 12.04 临时禁用和启动面板
2013-02-06 12:49 by java20130722, 147 阅读, 0 推荐, 收藏,
摘要:启动触控面板命令:sudo -s modprobe psmouse禁用触控面板命令:sudo rmmod psmouse以上命令只是临时启用和禁用触控面板,关机后就失效了。暂未找到永久禁用的办法转自:http://zhidao.baidu.com/question/145832398.html 阅读全文
ubuntu 12.04 解决txt文件中中文乱码问题
2013-02-05 14:39 by java20130722, 157 阅读, 0 推荐, 收藏,
摘要:在终端中输入两个命令gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030' 阅读全文
sudo 出现unable to resolve host 解决方法
2013-02-04 22:39 by java20130722, 270 阅读, 0 推荐, 收藏,
摘要:Ubuntu环境, 假设这台机器名字叫abc(机器的hostname), 每次执行sudo 就出现这个警告讯息:sudo: unable to resolve host abc虽然sudo 还是可以正常执行, 但是警告讯息每次都出来,而这只是机器在反解上的问题, 所以就直接从/etc/hosts 设定, 让abc(hostname) 可以解回127.0.0.1 的IP 即可./etc/hosts 原始内容 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip 阅读全文
ubuntu 12.04 修改 grub 启动参数
2013-02-04 22:19 by java20130722, 484 阅读, 0 推荐, 收藏,
摘要:我的电脑是装了两个系统,一个是 win7,另一个是 ubuntu 12.04。默认情况下,每次开机时,电脑会显示grub菜单等待30秒,默认是选中ubuntu的,这个太浪费时间了。 查了一下资料,原来通过设置可以将grub设置为每次默认选中上次进入的系统,而且还可以设定等待时间。首先在终端输入命令:sudo gedit /etc/default/grub然后修改其内如下,我在下面贴出了文件中的前面几行,后面的都没动,其实后面也都是注释而已。最后还要运行 update-grub 命令,提交本次修改的设置。# If you change this file, run 'update-gru 阅读全文
ubuntu12.04 64bits 安装 Atheros AR8161 有线网卡驱动的解决方法
2013-02-04 21:57 by java20130722, 289 阅读, 0 推荐, 收藏,
摘要:你机子网卡如果是Atheros AR8161,那么在安装好ubuntu12.04 64bits后,ifconfig是没有eth0的。不过不急,你只要按照下面的步骤,1:首先去http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-03-12-p.tar.bz2下载网卡驱动。2:切换到root,执行apt-get install linux-headers-generic(报错也不要在意)3:解压下载的驱动到此目录tar xvf compat-wireless-2012-03-12-p.tar.bz24 阅读全文
ubuntu 12.04 英文系统怎么调出 ibus输入法
2013-02-04 21:43 by java20130722, 201 阅读, 0 推荐, 收藏,
摘要:点击主屏幕右上角图标,选择 "System Settings"在打开的 System Settings 再选择 "Language Support"在"Language"属性框中的最下面的 "Keyboard input method System" 选中 "ibus”在主屏幕左上角的"dash home"中搜索框输入"ibus",然后双击"Keyboard input methods"在打开的"IBus Prefernces" 阅读全文
ubuntu 12.04 install flash for firefox
2013-02-04 20:36 by java20130722, 200 阅读, 0 推荐, 收藏,
摘要:How to install flash for firefox in ubuntu 12.04?step1. download tar.gz package from adobe flash download site.step2. unzip tar.gz package.step3. copylibflashplayer.so library to /usr/lib/firefox/plugins : sudo cp libflashplayer.so /usr/lib/firefox/pluginsstep4. copy usr directory files to /usr :sud 阅读全文
[置顶] 塔式起吊机是怎么安装的?
2013-02-02 12:24 by java20130722, 198 阅读, 0 推荐, 收藏,
摘要:昨天回家,市区漫天的灰尘,到处都在修,修房子,修二环路。看到一个很高的塔式起吊机。我就想到了几个问题这么长的长臂是怎么弄到那么高的未知的?后面那几个大石板放在后臂是怎么弄的?想起那些几十层的塔式起吊机又是怎么弄的?如果我是这个工程的施工人,我会怎么去弄?好像是个有点儿意思的问题。我想了一个下午,然后到网上搜了下,可以看下这个视频:http://www.tudou.com/programs/view/E5e8C7yMw7Q/答案不是最重要的,从平常生活中的东西来锻炼自己的思考能力是件很有意思的事情 阅读全文