<一般模式>
Undo
u
刪除當前行
dd
復制當前行
yy
粘貼
p
進入 和 退出編輯模式
i 和 Esc?
向前查詢
/abc
向后查詢
?abc
向前繼續查詢
n
向后繼續查詢
N
<命令行模式>
write and quit
:wq [文件名--對于創建新文件時需要]
quit without write
:q!
posted @
2008-03-25 16:42 Jcat 閱讀(204) |
評論 (0) |
編輯 收藏
文件相關
拷貝文件夾及其所有內容(遞歸)
# cp -r 文件夾名 目標路徑
刪除空文件夾
# rmdir 文件夾名
刪除非空文件夾
# rm -rf 文件夾名
查看隱藏文件
# ls -a
更改文件名
# mv 源文件名 目文件名
批量更改文件名:Rename the specified files by replacing the first occurrence of from in their name by to
# rename from to file...
查看文件類型(Linux并不是靠后綴來決定文件類型的)
# file 文件名
用戶相關
查看所有用戶 or 所有組
看第三個參數,500以上的,就是后面建的用戶了,其它則為系統用戶。
# cat /etc/passwd?? or ? # cat /etc/group
濾掉系統用戶
# cat /etc/passwd | grep home
刪除用戶 or 組
# userdel 用戶名? or? # groupdel 組名
更改用戶的工作目錄
# usermod -d 目錄路徑 用戶名
更改用戶所屬組,是覆蓋
# usermod -g 組名 用戶名
將用戶添加到某個組,是疊加,作為非默認組
# usermod -G 組名 用戶名
?
系統狀態相關
查看進程
# ps
進程列表,可以實時刷新的
# top
查看端口使用情況
# netstat
網絡相關
重啟網絡連接
# /sbin/service network restart
關閉防火墻
# /sbin/service iptables stop
查看網卡地址
# ifconfig
查看網關
(Genmask=0.0.0.0的那個就是網關)
# netstat -r
查看DNS
(Genmask=0.0.0.0的那個就是網關)
# route -n
其它
查看命令的路徑(比如那些通過PATH而到處都可以運行的命令)
# type 命令名
清屏
# clear
關機
# /sbin/shutdown -h now
一分鐘以后關機
# /sbin/shutdown -h +1
posted @
2008-03-25 16:34 Jcat 閱讀(302) |
評論 (0) |
編輯 收藏
Options
Option Explicit
You must explicitly define each variable that you use.
Option Private Module
You can force all procedures in a module to be private - even those declared with the Public keyword.
You can omit the Private keyword from your Sub declarations.
Option Base [01]
The lower bound of an array, created using the Array function, is determined by Option Base statement at the top of the module. The default lower bound is 0
Declaring Variables
Dim
?變量?
As
?
String
變量?
=
?
"
initialization
"
Const
?常量?
As
?
String
?
=
?
"
initialization
"
Dim
?定長字符串?
As
?
String
?
*
?
10
定長字符串?
=
?
"
超過ten個無效(中文英文都算1個,看來編碼用的unicode)
"
Executing Sub from another Procedure
Option
?
Explicit
Sub
?executingWay()
??? add?
"
flame
"
,?
1
,?
2
??? Call
?add(
"
call
"
,?
1
,?
2
)
??? Dim
?subName?
As
?
String
:?subName?
=
?
"
add
"
??? Run?subName,?
"
run
"
,?
1
,?
2
End?Sub
Sub
?add(exeBy?
As
?
String
,?x?
As
?
Integer
,?y?
As
?
Integer
)
??? MsgBox
?exeBy?
&
?
"
:?
"
?
&
?(x?
+
?y)
End?Sub
Executing Function from another Procedure
Option
?
Explicit
Function
?executingWay()
??? Debug.Print?add(
"
flame
"
,?
1
,?
2
)
??? Dim
?funcName???
As
?
String
:?funcName?
=
?
"
add
"
??? Debug.Print?Run(funcName,?
"
run
"
,?
1
,?
2
)
End?Function
Function
?add(exeBy?
As
?
String
,?x?
As
?
Integer
,?y?
As
?
Integer
)?
As
?
String
??? add?
=
?exeBy?
&
?
"
:?
"
?
&
?(x?
+
?y)
End?Function
posted @
2008-03-20 11:16 Jcat 閱讀(226) |
評論 (0) |
編輯 收藏
# As long as the world turns, users will still have problems
# Substance abusers and computer operators are the only folks called users. This isn't by chance
# When in doubt. Reboot
# Sooner or later you will meet a person who types out the words "backslash" or forgets to plug in the power cord. If you haven't yet, just wait, you will
# Fear the phone. No one just calls tech support to wish you good morning
# No user will tell you the whole truth at the beginning of a call
# "I didn't do anything" or "It just happened" Are the users mantra
# As a support tech, it is your job to break down resistance and get the truth
# This is so you can rub the lie in their face, fixing the issue is just a perk
# Some people will never learn
# This means you will always have a job
# Maintain a calm voice, even if you're screaming on the inside
# The hold button is your friend
# Whatever you do, don't panic
# The answer to all users questions should be "Trust me, I know what I'm doing" even if this is a bald-faced lie
# Users can smell fear. Once you've lost control, all is lost
# A user who is not listening to you anymore, but rather is trying "their own thing" is not worth your time. Simulate a telephone disconnect and hang up. Trust me, you're better off.
# Sometimes fixing a computer is easier than figuring out why it was broken
# Users always want a reason things are fixed. If you're not sure just lie. They won't know anyway. "A stray electron passed through the processor and caused..."
# If possible ask to speak to the youngest person present
posted @
2008-03-13 17:01 Jcat 閱讀(287) |
評論 (0) |
編輯 收藏
一直在等3xxx點,昨天就40xx了,堅信4000點堅持不了一個月了。
沒想到,今天早上3xxx就提前一個月到來了,遺憾等我上網的時候已經漲回到4000了,沒法截圖。
中午吃了個飯,3xxx再現,爽呀,幸災樂禍的爽!


上帝欲其滅亡,必先使其瘋狂!
出來混,遲早要還的。
Easy Come, Easy Go. (這本來是個汽車的廣告詞,用在這兒挺合適)
-------------------
34xx,繼續破
風風這個豬,說破了3500就進場,結果現在又不敢進了,說等2xxx~

--------------------
299x,今天驚現了一下,不過隨后又被拉回3000點了

印花稅下調,沖回3500,然后又開始掙扎,今天終于又跌破3000,似乎很慘,叫你拔苗助長吧。

2200也快保不住咯,yeah,合理合法圈錢咯
posted @
2008-03-13 12:59 Jcat 閱讀(258) |
評論 (0) |
編輯 收藏
Build or re-engineer your applications using PowerDesigner, Sybase's all-in-one enterprise modeling and design solution.
PowerDesigner 12.5, a model-driven approach to aligning business and
IT, is an enterprise modeling and design solution that helps you
implement effective enterprise architecture. It brings powerful
analysis and design techniques to your development lifecycle.
PowerDesigner:數據庫建模工具,與ERWin等工具起名,它的歸類是 Modeling & Metadata
Accelerate development with PowerBuilder, the market’s favorite 4GL RAD tool.
PowerBuilder lets you stay ahead of the development curve and offers
the flexibility to develop for your most productive platform.
PowerBuilder 11.1 incorporates new and emerging technologies that let
you to build traditional two-tier applications, distributed
applications, Web applications and Smart Clients with speed and ease.
And with this new release, you can easily deploy your existing
PowerBuilder applications to .NET. Get started with PowerBuilder 11.1
today, and see how quickly and easily you can build data-driven
applications.
PowerBuilder:是公司隨數據庫產品的一個前臺開發工具,專門開發應用程序的。它的歸類是 Development
posted @
2008-03-10 16:55 Jcat 閱讀(307) |
評論 (0) |
編輯 收藏
Adaptive Server Enterprise is the mission-critical data management system for taming the information explosion.
Adaptive Server Enterprise (ASE) has long been noted for its
reliability, low total cost of ownership and superior performance. With
its latest version, ASE 15, it has been dramatically enhanced to
deliver capabilities urgently needed by enterprises today. It lays the
long-term foundation for strategic agility and continuing innovation in
mission-critical environments. ASE 15 provides unique security options
and a host of other new features that boost performance while reducing
operational costs and risk. Find out how you can exploit new
technologies such as grids and clusters, service-oriented architectures
and real-time messaging.
ASE:企業及數據庫服務器,適合用于企業級OLTP(和混合負載)環境
The industry-leading mobile and embedded database,
providing data management and exchange technologies that enable
applications for frontline environments.
SQL Anywhere provides data management and exchange technologies
designed for database-powered applications that operate in frontline
environments without onsite IT support. It offers enterprise-caliber
features in a database that is easily embedded and widely deployed in
server, desktop, remote office and mobile applications.
ASA(Adaptive Server Anywhere):輕量級數據庫服務器,適合用于移動計算(PDA、帶操作系統的手機等)/嵌入式計算(POS機、路由器等),和工作組級OLTP環境,特別是移動計算/嵌入式計算。(我估計ASA現在改名叫SQL Anywhere了)
The smartest way to deliver high-performance enterprise
analytics and data warehousing with dramatically faster results at a
low cost.
Sybase IQ is a highly optimized analytics server designed specifically
to deliver faster results for mission-critical business intelligence,
data warehouse and reporting solutions on any standard hardware and
operating systems. It works with diverse data – including unstructured
data – and diverse data sources to deliver unsurpassed query
performance at the lowest price/performance available.
ASIQ:企業級數據倉庫數據庫服務器,適合于DSS環境中的企業級數據倉庫和數據集市
謹以此篇記錄我開始Sybase之旅的第一步
posted @
2008-03-10 16:33 Jcat 閱讀(312) |
評論 (0) |
編輯 收藏
[1]
好好規劃自己的路,不要跟著感覺走!根據個人的理想決策安排,絕大部分人并不指望成為什么院士或教授,而是希望活得滋潤一些,爽一些。那么,就需要慎重安
排自己的軌跡。從哪個行業入手,逐漸對該行業深入了解,不要頻繁跳槽,特別是不要為了一點工資而轉移陣地,從長遠看,這點錢根本不算什么,當你對一個行業
有那么幾年的體會,以后錢根本不是問題。頻繁地動蕩不是上策,最后你對哪個行業都沒有摸透,永遠是新手!
[2]可以做技術,切不可沉湎于技術。千萬不可一門心思鉆研技術!給自己很大壓力,如果你的心思全部放在這上面,那么注定你將成為孔乙己一類的人物!適可而止為之,因為技術只不過是你今后前途的支柱之一,而且還不是最大的支柱,除非你只愿意到老還是個工程師!
[3]
不要去做技術高手,只去做綜合素質高手!在企業里混,我們時常瞧不起某人,說他“什么都不懂,憑啥拿那么多錢,憑啥升官!”這是普遍的典型的工程師的迂腐
之言。8051很牛嗎?人家能上去必然有他的本事,而且是你沒有的本事。你想想,老板搞經營那么多年,難道見識不如你這個新兵?人家或許善于管理,善于領
會老板意圖,善于部門協調等等。因此務必培養自己多方面的能力,包括管理,親和力,察言觀色能力,攻關能力等,要成為綜合素質的高手,則前途無量,否則只
能躲在角落看示波器!技術以外的技能才是更重要的本事!!從古到今,美國日本,一律如此!
[4]
多交社會三教九流的朋友!不要只和工程師交往,認為有共同語言,其實更重要的是和其他類人物交往,如果你希望有朝一日當老板或高層管理,那么你整日面對的
就是這些人。了解他們的經歷,思維習慣,愛好,學習他們處理問題的模式,了解社會各個角落的現象和問題,這是以后發展的巨大的本錢,沒有這些以后就會笨手
笨腳,跌跌撞撞,遇到重重困難,交不少學費,成功的概率大大降低!
[5]知識涉獵不一定專,但一定要廣!多看看其他方面的書,金融,財會,進出口,稅務,法律等等,為以后做一些積累,以后的用處會更大!會少交許多學費!!
[6]
抓住時機向技術管理或市場銷售方面的轉變!要想有前途就不能一直搞開發,適當時候要轉變為管理或銷售,前途會更大,以前搞技術也沒有白搞,以后還用得著。
搞管理可以培養自己的領導能力,搞銷售可以培養自己的市場概念和思維,同時為自己以后發展積累龐大的人脈!應該說這才是前途的真正支柱!!!
[7]
逐漸克服自己的心里弱點和性格缺陷!多疑,敏感,天真(貶義,并不可愛),猶豫不決,膽怯,多慮,臉皮太薄,心不夠黑,教條式思維。。。這些工程師普遍存
在的性格弱點必須改變!很難嗎?只在床上想一想當然不可能,去幫朋友守一個月地攤,包準有效果,去實踐,而不要只想!不克服這些缺點,一切不可能,甚至連
項目經理都當不好--盡管你可能技術不錯!
[8]工作的同時要為以后做準備!建立自己的工作環境!及早為自己配置一個工作環境,裝備電腦,
示波器(可以買個二手的),仿真器,編程器等,業余可以接點活,一方面接觸市場,培養市場感覺,同時也積累資金,更重要的是準備自己的產品,咱搞技術的沒
有錢,只有技術,技術的代表不是學歷和證書,而是產品,拿出象樣的產品,就可技術轉讓或與人合作搞企業!先把東西準備好,等待機會,否則,有了機會也抓不
住!
[9]
要學會善于推銷自己!不僅要能干,還要能說,能寫,善于利用一切機會推銷自己,樹立自己的品牌形象,很必要!要創造條件讓別人了解自己,不然老板怎么知道
你能干?外面的投資人怎么相信你?提早把自己推銷出去,機會自然會來找你!搞個個人主頁是個好注意!!特別是培養自己在行業的名氣,有了名氣,高薪機會自
不在話下,更重要的是有合作的機會...
[10]該出手時便出手!永遠不可能有100%把握!!!條件差不多就要大膽去干,去闖出自己的事業,不要猶豫,不要彷徨,干了不一定成功,但至少為下一次沖擊積累了經驗,不干永遠沒出息,而且要干成必然要經歷失敗。不經歷風雨,怎么見彩虹,沒有人能隨隨便便成功!
posted @
2008-03-10 14:02 Jcat 閱讀(215) |
評論 (0) |
編輯 收藏
智慧確實是過時了,現在要的是“商業智能”(Biz Intelligence)。Intelligence是什么呢?我們可以從構詞法去解析。先看這個詞的前幾個字母:intel。
INTEL的總裁有一句話:“只有偏執狂才能生存”。這深刻揭示了商業智能的本質。羅素說的智慧是要拋棄自我,以全人類福祉為念的全面思考。這在商業現實社會必然行不通。只有偏執狂才能生存!
從理念來說,必須要自私、偏見。
從技術上說,無論手動的OLAP,還是機動的關聯規則、分類模型等數據挖掘,無一不是為了尋找偏見從而制造偏見或利用偏見。
只有功利、貪婪、自私、狹隘,才能成就成功的商業智能。
posted @
2008-02-21 16:46 Jcat 閱讀(308) |
評論 (0) |
編輯 收藏
春節后第一天上班,無事,把一些金融詞匯在網上搜了一遍,才發現越搜新的詞匯越多。
可能以下的詞匯我們都是耳熟能詳,但你真正知道他們的定義嗎:
股票
騙線
大戶利用股民們迷信技術分析數據、圖表的心理,故意抬拉、打壓股指,致使技術圖表形成一定線型,引誘股民大量買進或賣出,從而達到他們大發其財的目的。這種期騙性造成的技術圖表線型稱為騙線。
基金的各種倉
次貸(針對優貸--正常的貸款--來說的)
銀行對信用不好的用戶發放的利息較高的風險較大的貸款。
期貨
平倉如果交易者將這份期貨合約保留到最后交易日結束他就必須通過實物交割或現金清算來了結這筆期貨交易。然而,進行實物交割的是少數,大部分投機者和套期保值
者一般都在最后交易日結束之前擇機將買入的期貨合約賣出,或將賣出的期貨合約買回。即通過一筆數量相等、方向相反的期貨交易來沖銷原有的期貨合約,以此廠
結期貨交易,解除到期進行實物交割的義務。這種買回已賣出合約,或賣出己買入合約的行為就叫平倉。
期權
期權是指在未來一定時期可以買賣的權力,是買方向賣方支付一定數量的金額(指權利金)后擁有的在未來一段時間內(指美式期權)或未來某一特定日期(指歐式期權)以事先規定好的價格(指履約價格)向賣方購買或出售一定數量的特定標的物的權力,但不負有必須買進或賣出的義務。
認購權證(看漲期權),認沽權證(看跌期權)
當股價高于行權價格時,認購權證投資者則從股價上漲中獲得盈利,當股價低于或等于行權價格時,將損失認購權證的費用,認購權證投資者希望通過股票上漲從中獲利。
相反,認沽權證則是當股價低于行權價格時,從股價下降中獲得收益,當股價高于或等于行權價格時,投資者將損失認沽權證的費用,認沽權證投資者希望通過股票下跌從中獲利。
做多:沒有貨先買后賣。
做空:沒有貨先賣后買。
買空(借錢買股)
賣空(借股賣錢)
賣空是指股票投資者當某種股票價格看跌時,便從經紀人手中借入該股票拋出。若日后該股票價格果然下落時,再從更低的價格買進股票歸還經紀人,從而賺取中間差價。
對沖基金最初的對沖操作中,基金管理者在購入一種股票后,同時購入這種股票的一定價位和時效的看跌期權(Put Option)。看跌期權的效用在于當股票價位跌破期權限定的價格時,賣方期權的持有者可將手中持有的股票以期權限定的價格賣出,從而使股票跌價的風險得到對沖。在另一類對沖操作中,基金管理人首先選定某類行情看漲的行業,買進該行業幾只優質股,同時以一定比率賣出該行業中幾只劣質股。如此組合的結果是,如該行業預期表現良好,優質股漲幅必超過其他同行業的股票,買入優質股的收益將大于賣空劣質股的損失;如果預期錯誤,此行業股票不漲反跌,那么較差公司的股票跌幅必大于優質股,則賣空盤口所獲利潤必高于買入優質股下跌造成的損失。
。。。。。。。。
不知道也別急,網上一搜,咱們非專業人士,了解個大概也就可以了,和別人聊天不至于像個白癡。更重要的是,了解一些金融知識對理財也是很有幫助的。
posted @
2008-02-15 14:35 Jcat 閱讀(292) |
評論 (0) |
編輯 收藏