Jcat
宠辱不惊,闲看庭前花开花落~~
posts - 173,comments - 67,trackbacks - 0
<一般模式>
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 阅读(186) | 评论 (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 阅读(287) | 评论 (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 阅读(210) | 评论 (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 阅读(263) | 评论 (0)编辑 收藏
一直在等3xxx点,昨天就40xx了,坚信4000点坚持不了一个月了。
没想到,今天早上3xxx就提前一个月到来了,遗憾等我上网的时候已经涨回到4000了,没法截图。
中午吃了个饭,3xxx再现,爽呀,幸灾乐祸的爽!
3000.JPG


上帝欲其灭亡,必先使其疯狂!

出来混,迟早要还的。

Easy Come, Easy Go. (这本来是个汽车的广告词,用在这儿挺合适)

-------------------

34xx,继续破
风风这个猪,说破了3500就进场,结果现在又不敢进了,说等2xxx~
3500.JPG

--------------------

299x,今天惊现了一下,不过随后又被拉回3000点了
2xxx.JPG

印花税下调,冲回3500,然后又开始挣扎,今天终于又跌破3000,似乎很惨,叫你拔苗助长吧。
return 29xx.JPG

2200也快保不住咯,yeah,合理合法圈钱咯
2200.JPG
posted @ 2008-03-13 12:59 Jcat 阅读(232) | 评论 (0)编辑 收藏

PowerDesigner


Enterprise architecture modeling and design solution

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


PowerBuilder


A 4GL rapid application development tool

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 阅读(281) | 评论 (0)编辑 收藏

Adaptive Server Enterprise


Mission-critical enterprise data management

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(和混合负载)环境


SQL Anywhere


Sybase iAnywhere - Mobile and Embedded Database

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了)


Sybase IQ


Highly optimized business intelligence, analytics and data warehousing

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 阅读(282) | 评论 (0)编辑 收藏

[1] 好好规划自己的路,不要跟着感觉走!根据个人的理想决策安排,绝大部分人并不指望成为什么院士或教授,而是希望活得滋润一些,爽一些。那么,就需要慎重安 排自己的轨迹。从哪个行业入手,逐渐对该行业深入了解,不要频繁跳槽,特别是不要为了一点工资而转移阵地,从长远看,这点钱根本不算什么,当你对一个行业 有那么几年的体会,以后钱根本不是问题。频繁地动荡不是上策,最后你对哪个行业都没有摸透,永远是新手!

[2]可以做技术,切不可沉湎于技术。千万不可一门心思钻研技术!给自己很大压力,如果你的心思全部放在这上面,那么注定你将成为孔乙己一类的人物!适可而止为之,因为技术只不过是你今后前途的支柱之一,而且还不是最大的支柱,除非你只愿意到老还是个工程师!

[3] 不要去做技术高手,只去做综合素质高手!在企业里混,我们时常瞧不起某人,说他“什么都不懂,凭啥拿那么多钱,凭啥升官!”这是普遍的典型的工程师的迂腐 之言。8051很牛吗?人家能上去必然有他的本事,而且是你没有的本事。你想想,老板搞经营那么多年,难道见识不如你这个新兵?人家或许善于管理,善于领 会老板意图,善于部门协调等等。因此务必培养自己多方面的能力,包括管理,亲和力,察言观色能力,攻关能力等,要成为综合素质的高手,则前途无量,否则只 能躲在角落看示波器!技术以外的技能才是更重要的本事!!从古到今,美国日本,一律如此!

[4] 多交社会三教九流的朋友!不要只和工程师交往,认为有共同语言,其实更重要的是和其他类人物交往,如果你希望有朝一日当老板或高层管理,那么你整日面对的 就是这些人。了解他们的经历,思维习惯,爱好,学习他们处理问题的模式,了解社会各个角落的现象和问题,这是以后发展的巨大的本钱,没有这些以后就会笨手 笨脚,跌跌撞撞,遇到重重困难,交不少学费,成功的概率大大降低!

[5]知识涉猎不一定专,但一定要广!多看看其他方面的书,金融,财会,进出口,税务,法律等等,为以后做一些积累,以后的用处会更大!会少交许多学费!!

[6] 抓住时机向技术管理或市场销售方面的转变!要想有前途就不能一直搞开发,适当时候要转变为管理或销售,前途会更大,以前搞技术也没有白搞,以后还用得着。 搞管理可以培养自己的领导能力,搞销售可以培养自己的市场概念和思维,同时为自己以后发展积累庞大的人脉!应该说这才是前途的真正支柱!!!

[7] 逐渐克服自己的心里弱点和性格缺陷!多疑,敏感,天真(贬义,并不可爱),犹豫不决,胆怯,多虑,脸皮太薄,心不够黑,教条式思维。。。这些工程师普遍存 在的性格弱点必须改变!很难吗?只在床上想一想当然不可能,去帮朋友守一个月地摊,包准有效果,去实践,而不要只想!不克服这些缺点,一切不可能,甚至连 项目经理都当不好--尽管你可能技术不错!

[8]工作的同时要为以后做准备!建立自己的工作环境!及早为自己配置一个工作环境,装备电脑, 示波器(可以买个二手的),仿真器,编程器等,业余可以接点活,一方面接触市场,培养市场感觉,同时也积累资金,更重要的是准备自己的产品,咱搞技术的没 有钱,只有技术,技术的代表不是学历和证书,而是产品,拿出象样的产品,就可技术转让或与人合作搞企业!先把东西准备好,等待机会,否则,有了机会也抓不 住!

[9] 要学会善于推销自己!不仅要能干,还要能说,能写,善于利用一切机会推销自己,树立自己的品牌形象,很必要!要创造条件让别人了解自己,不然老板怎么知道 你能干?外面的投资人怎么相信你?提早把自己推销出去,机会自然会来找你!搞个个人主页是个好注意!!特别是培养自己在行业的名气,有了名气,高薪机会自 不在话下,更重要的是有合作的机会...

[10]该出手时便出手!永远不可能有100%把握!!!条件差不多就要大胆去干,去闯出自己的事业,不要犹豫,不要彷徨,干了不一定成功,但至少为下一次冲击积累了经验,不干永远没出息,而且要干成必然要经历失败。不经历风雨,怎么见彩虹,没有人能随随便便成功!

posted @ 2008-03-10 14:02 Jcat 阅读(198) | 评论 (0)编辑 收藏
智慧确实是过时了,现在要的是“商业智能”(Biz Intelligence)。Intelligence是什么呢?我们可以从构词法去解析。先看这个词的前几个字母:intel。

INTEL的总裁有一句话:“只有偏执狂才能生存”。这深刻揭示了商业智能的本质。罗素说的智慧是要抛弃自我,以全人类福祉为念的全面思考。这在商业现实社会必然行不通。只有偏执狂才能生存!

从理念来说,必须要自私、偏见。
从技术上说,无论手动的OLAP,还是机动的关联规则、分类模型等数据挖掘,无一不是为了寻找偏见从而制造偏见或利用偏见。

只有功利、贪婪、自私、狭隘,才能成就成功的商业智能。
posted @ 2008-02-21 16:46 Jcat 阅读(286) | 评论 (0)编辑 收藏
春节后第一天上班,无事,把一些金融词汇在网上搜了一遍,才发现越搜新的词汇越多。
可能以下的词汇我们都是耳熟能详,但你真正知道他们的定义吗:

股票


骗线
大户利用股民们迷信技术分析数据、图表的心理,故意抬拉、打压股指,致使技术图表形成一定线型,引诱股民大量买进或卖出,从而达到他们大发其财的目的。这种期骗性造成的技术图表线型称为骗线。


基金的各种仓

次贷(针对优贷--正常的贷款--来说的)
银行对信用不好的用户发放的利息较高的风险较大的贷款。

期货

平仓
如果交易者将这份期货合约保留到最后交易日结束他就必须通过实物交割或现金清算来了结这笔期货交易。然而,进行实物交割的是少数,大部分投机者和套期保值 者一般都在最后交易日结束之前择机将买入的期货合约卖出,或将卖出的期货合约买回。即通过一笔数量相等、方向相反的期货交易来冲销原有的期货合约,以此厂 结期货交易,解除到期进行实物交割的义务。这种买回已卖出合约,或卖出己买入合约的行为就叫平仓。

期权
期权是指在未来一定时期可以买卖的权力,是买方向卖方支付一定数量的金额(指权利金)后拥有的在未来一段时间内(指美式期权)或未来某一特定日期(指欧式期权)以事先规定好的价格(指履约价格)向卖方购买或出售一定数量的特定标的物的权力,但不负有必须买进或卖出的义务。


认购权证(看涨期权),认沽权证(看跌期权)
当股价高于行权价格时,认购权证投资者则从股价上涨中获得盈利,当股价低于或等于行权价格时,将损失认购权证的费用,认购权证投资者希望通过股票上涨从中获利。
相反,认沽权证则是当股价低于行权价格时,从股价下降中获得收益,当股价高于或等于行权价格时,投资者将损失认沽权证的费用,认沽权证投资者希望通过股票下跌从中获利。

做多:没有货先买后卖。 做空:没有货先卖后买。


买空(借钱买股)

卖空(借股卖钱)
卖空是指股票投资者当某种股票价格看跌时,便从经纪人手中借入该股票抛出。若日后该股票价格果然下落时,再从更低的价格买进股票归还经纪人,从而赚取中间差价。


对冲基金
最初的对冲操作中,基金管理者在购入一种股票后,同时购入这种股票的一定价位和时效的看跌期权(Put Option)。看跌期权的效用在于当股票价位跌破期权限定的价格时,卖方期权的持有者可将手中持有的股票以期权限定的价格卖出,从而使股票跌价的风险得到对冲。在另一类对冲操作中,基金管理人首先选定某类行情看涨的行业,买进该行业几只优质股,同时以一定比率卖出该行业中几只劣质股。如此组合的结果是,如该行业预期表现良好,优质股涨幅必超过其他同行业的股票,买入优质股的收益将大于卖空劣质股的损失;如果预期错误,此行业股票不涨反跌,那么较差公司的股票跌幅必大于优质股,则卖空盘口所获利润必高于买入优质股下跌造成的损失。

。。。。。。。。

不知道也别急,网上一搜,咱们非专业人士,了解个大概也就可以了,和别人聊天不至于像个白痴。更重要的是,了解一些金融知识对理财也是很有帮助的。
posted @ 2008-02-15 14:35 Jcat 阅读(267) | 评论 (0)编辑 收藏
仅列出标题
共17页: First 上一页 4 5 6 7 8 9 10 11 12 下一页 Last