Jobs:”你必须要找到你所爱的东西”
史蒂夫·乔布斯(Steve Jobs)2005年6月12号在斯坦福大学的毕业典礼上面的演讲稿,在这个特殊的日子里让我们一起来回顾他曾经讲过的三个故事。
You’ve got to find what you love,’ Jobs says
Jobs说,你必须要找到你所爱的东西。
史蒂夫·乔布斯(Steve Jobs)2005年6月12号在斯坦福大学的毕业典礼上面的演讲稿,在这个特殊的日子里让我们一起来回顾他曾经讲过的三个故事。
You’ve got to find what you love,’ Jobs says
Jobs说,你必须要找到你所爱的东西。
在打开有道词典的时候经常提示ActiveX的一个错误.其实这是由于Flash升级引发的Bug导致的.
只要删除注册表中的
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\方框
就可以解决这个问题
这个脚本可以用来分析当前重做日志文件(redo logfile)已被用到了什么位置(position)、还剩余多少空间和已使用的百分比:
set linesize 200 pagesize 1400;
select le.leseq "Current log sequence No",
100 * cp.cpodr_bno / le.lesiz "Percent Full",
(cpodr_bno - 1) * 512 "bytes used exclude header",
le.lesiz * 512 - cpodr_bno * 512 "Left space",
le.lesiz *512 "logfile size"
from x$kcccp cp, x$kccle le
where LE.leseq = CP.cpodr_seq
and bitand(le.leflg, 24) = 8;
SQL> set linesize 200 pagesize 1400;
SQL> select le.leseq "Current log sequence No",
2 100 * cp.cpodr_bno / le.lesiz "Percent Full",
3 (cpodr_bno - 1) * 512 "bytes used exclude header",
4 le.lesiz * 512 - cpodr_bno * 512 "Left space",
5 le.lesiz *512 "logfile size"
6 from x$kcccp cp, x$kccle le
7 where LE.leseq = CP.cpodr_seq
8 and bitand(le.leflg, 24) = 8;
Current log sequence No Percent Full bytes used exclude header Left space logfile size
----------------------- ------------ ------------------------- ---------- ------------
189 90.7612305 95169536 9687552 104857600
/* 如上结果显示当前重做日志号为189,使用量百分比是90.7%
当前日志被使用到了95169536+512 bytes(重做日志文件头)的位置,
还剩余9687552 bytes的空间,该重做日志的总大小为104857600=100MB
*/
© 2010, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追求法律责任.
在ORACLE 数据库的开发环境和测试环境中,数据库的日志模式和自动归档模式一般都是不设置的,这样有利于系统应用的调整,也免的生成大量的归档日志文件将磁盘空间大 量的消耗。但在系统上线,成为生产环境时,将其设置为日志模式并自动归档就相当重要了,因为,这是保证系统的安全性,有效预防灾难的重要措施。这样,通过 定时备份数据库和在两次备份间隔之间的日志文件,可以有效的恢复这段时间的任何时间点的数据,可以在很多时候挽回或最大可能的减少数据丢失。
一、 要使OARCLE 数据库进行日志的自动归档,需要做两方面的事情;
1.是数据库日志模式的设置(可为Archive Mode 和No Archive Mode);2.就是自动归档模式设置(Automatic archival,可为Enabled 和Disabled)。
二、 如何查看数据库的现行日志和自动归档模式的设置
可用archive log list 命令来查看。
运行在日志自动归档模式下的数据库系统查看结果如下(一般是生产环境):
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /backup/archivelog
Oldest online log sequence 2131
Next log sequence to archive 2133
Current log sequence 2133
没有启动数据库日志模式和自动归档的数据库系统查看结果如下(一般是测试环境):
SQL> archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination /u01/app/oracle/product/8.1.7/dbs/arch
Oldest online log sequence 194
Current log sequence 196
在优酷上发现的一个黑苹果的安装流程,视频做的很细,很酷,很强大!
I often tried to learn the great Emacs editor/IDE/operating system. The last time I tried it, I spent some time getting comfortable with it until I wanted to customize my .emacsfile.
That was the point when I entered vi .emacs. As soon as I realized what I’ve done, I knew that Vim has won me over a long time ago.
So, here I am – using Vim as my editor1 of choice.
Another big motivational boost came after I discovered that my preferred shell (ZSH) has an awesome vi-mode including the command mode (yes, you can switch between command and insert mode!).
Vim has a great deal of features, and learning them takes some time. Of course there are many online-tutorials and tips’n’tricks pages, but the help-files are very good too! There are overview-pages, summary pages and some comments at the commands.
I took the approach to start using some tutorial and let the help-system guide (type :help <command> to get help for the command) me through the rest. I like to try the commands in a test-file, and take a short note of important commands.
Another reason I like to use Vim is because it’s much more healthy than Emacs (using the default-keymappings). Healthy? Many commands are easily typed with a single keystroke – the virtue of a modal editor, instead of long command-chains with lots of modifier keys. Even if you have a natural keyboard, pressing Ctrl, Alt etc is certainly not natural at all.
Just remember: Vim’s basics are really very simple, but in combination the simple commands become very powerful.
" Author: Stanley Sun <coolingverse at gmail.com>
" Version: 1.4 – 2011/5/21 10:15:14
"
" What’s New:
" 1.转到插入模式时 StatusLine 颜色反转
" 2.对 StatusLine 中的各个元素进行了分组设置
" 3.在 StatusLine 中的encoding后加入文件的format信息
下载: _vimrc_1.4.vim
ActiveX
ASM
Bug
Discuz!
Flashback
K线
Linux
MACD
MacOS
MySQL
Oracle
Raid
RedHat
RMAN
SecureCRT
SendMail
Spotlight
SQLPlus
Steve Jobs
Totalcmd
Unix
VGA
Vim
Windows
Wordpress
X11
优化
博弈大师
原创
均线
外出
奥运
安卓
局域网
快捷键
性能优化
感悟
插件
旅游
术语
策略
锁 博客 (1)
原创 (32)
外汇 (10)
开发 (7)
手机 (1)
操作系统 (16)
数据库 (23)
生活 (8)
硬件 (1)
网络 (1)
转载 (47)
软件 (18)
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
|---|---|---|---|---|---|---|
| « 十 | ||||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||