Saturday, February 23, 2008

Health|玉蝉功九节功法精义

百度_气功吧_玉蝉功九节功法精义!

玉蟾功功法共为九节,即玉蟾吸真功、莲花座功,玉蟾翻浪功、站桩功、健美提阳功、内脏跳动功、玉蟾饮津功、快速吸真功和自然舒脏功。九节功法灵活运用,持之以恒,以达到运动内脏,修身养息、调整气血、消除疲劳、社病强身、健美长寿的效果。现就各节功法功理分述如下。
第一节 玉蟾吸真功
功法
1.调身:调身就是摆好姿势。不同的姿势有不同的生理论点,就有着不同的功能作用。用高约一尺至一尺二寸的凳子坐好后,腿膝以弯成90度为宜,双膝分开与肩同宽,右手握拳,不要用力把拳握死,拳心不能中空,左手抱在外面,大姆指放在边上,四指要并拢,双肘放在膝盖上,额头放在拳心中间,但不要用力,眼睛闭上,全身放松。 (女子左手握拳,右手抱在外面,其它都相同)。
2.调心:即调整心理、精神状态,使之入静。练功开始,想象自己一生中最愉快的事,脸微微带着笑容,抱着身心愉快的心情练功,认真地做到意守呼吸,雷打不动。
3.调息:调息就是调整呼吸。它主要是为调心。调息则心定,心定则息越调,用意识调整呼吸,使心息相依。思想集中在肺部的呼吸活动上。运气开始,先随意吸一口气作准备。练功开始先吐气(即呼气),吐气时用口慢慢地、深深地吐尽,又慢慢地用鼻把气纳入(即吸气)肺部。吸气时先自然吸气,后再加力吸,等气吸到八九成时,停止呼吸约两秒钟。停止呼吸两秒时不要用力屏气。再来一个短吸,随后马上以深、长、细、缓的方式呼气,直到把气深深地吐尽,吐尽又吸,这样不断地呼――吸停两秒――短吸――呼,循环10分钟,一般要练到全身发热,或手心出汗.
4.收功:不睁眼,(先抬起头,双手相擦十余次)再擦脸十余次,随后睁开眼睛,双手向上伸伸懒腰,深吸一大口气,"唉"一声,然后两手分开放下。
功理
纳气时,使腹压增高,把内脏的血液压迫到外体,以滋养全身机体。吐气时,腹压减少,流向外体的血液很快回到内脏(指被压向外体的血液),使人体由于疲劳而产生的乳酸和新陈代谢产生的废物和毒素也回到内脏进行清理。
血液在气功的不压力下,不论从内脏压向外体或外体流向内脏,都必须经过心脏,由此也就运动和锻炼了心脏,同时也给心脏供给了大量的新鲜血液,增加了心脏的营养。
"玉蟾吸真功"是顺式呼吸,吐气时用嘴吹出,吹气时应掌握深、长、细、慢、腹部不能用力,纳气时则用鼻慢慢吸气,使下腹鼓大,停两秒左右是使腹压进一步加大。使内脏更多的血液流向外体。
第二节 莲花座功
功法
1. 调身;盘腿而坐(也可自然地坐在登子或沙发上)。男左女右,男的以左腿放在下面(外侧),女子相反;男左手放在右手下面,女子相反;双手(手心向上)手心合手背,轻轻放在小腹(即丹田)前,双手臂放松,放在两腿胯上,胸部内含,双肩放松自然下垂,姿势完全处于休息状态,腰略伸直。用气功术语说,全身松弛。含胸拔腰。
2.调心:口微闭,舌顶上腭,不准动,双目微闭,面带微笑(以此放松面部肌肉),心中想到一生最愉快的事,抱着十分高兴的心理状态,投入气功锻练,集中思想要做到雷打不动。
3.调息:调息要求(呼吸)用鼻呼鼻吸,呼吸时不能使耳朵听到自己的呼吸声音,有意识地指挥肺做细而长、从容不迫的深呼深吸。这样约3-5分钟,便进人第二呼吸阶段,即把有意识的呼吸改为有意识的呼(呼气时好象全身架子散了一样),当气呼尽后,吸气时自由地吸,即有意识的呼,无意识的吸,这样又连续3一5分钟,最后进入第三阶段,自然呼吸阶段,10-20分钟。重病可练30-40分钟。最少不能少于10分钟。
调息三阶段示意表示如下:
1)有意识的深呼吸约3一5分钟。
2)有意识的呼,无意识的吸约3-5分钟。
3)自然呼吸10-20分钟或更长时间。
这三阶段中,都用鼻呼吸并都做到意守呼吸,在运气时必须做到全身放松,雷打不动,闭合双目,同时舌顶上颚, (停止口液的分泌),以达到真睡的目的。当口渴时舌头可不顶上颚而顶在门牙上,上下活动前后伸缩(慢些)以增加唾液。
作者: ymywudi  2007-9-2 11:21   回复此发言  

2 玉蝉功九节功法精义!
4.收功方法与'玉蟾吸真功"同,即:擦手,擦脸,举手,叹息。
功理
吸气时胸部不用力就会扩大,这样肺不能向胸腔扩大就必然向下扩张,从而把横隔膜向下推,导致内脏向下运动。然后将气从容不迫的吐尽。在肺泡强烈收缩下,内脏和横隔膜作向上的运动。经过以上这样的运气阶段,就形成了一个良好的内脏运动,同时形成了横隔膜上下约10厘米的运动(平时自然呼吸时上下只约有四厘米)于是内啡素的生产量大人增加。内啡素的大量增加,就提高了人的免疫力。即抗病力。这是通过内脏运动来调整内分泌的过程,因此一切由于内分泌失调所引起的疾病均可得到改善甚至痊愈。
强调放松的问题。首先应该认识到为什么要放松?人们失眠睡不着,主要是骨骼肌没有放松,它反馈给大脑的信息,使大脑不断地工作,人们就无法入睡。因此我们在练功时就要放松骨骼肌,使躯体神经不再给大脑信号,大脑无其它信号刺激就处于抑制状态,人们就入睡了。通过练《莲花座功》,就能高度的人静.以达到神经高度的休息――"人为的真睡",以还我精神,还我健康、本功是腹式、顺大呼吸。
第三节 玉蟾翻浪功
功法
平卧在床上,膝弯曲成90度,左手放在胸前。右手放在小腹部,然后开始运气。即吸气时挺胸收小腹(丹田),呼气时缩胸鼓小腹(引气冲丹田),把小腰鼓得越高越好。一呼一吸为一次,(坐着、站立时都可以做,呼吸要求和以上相同。没有手的动作配合亦可)。
功理
1、使内脏作上下运动,以此锻炼内脏。
2、控制消化系统的分泌。要增加食欲,增加体重,可以在每天早晨起床前在床上练40次。
需要减肥者则可在饭前饥饿时练40-60次,于是胃的消化液被送入肠内,饥饿感消失。消化液进入肠内,把脂肪转化为人体需要的营养,即可达到减肥的目的。一般在10-30天内不食其它食品,最少每天可减肥二百五十克,并保证你每天都精力充沛,照常工作。有30%的人练到第四天左右有些乏力者加强练第五、六、九(三节)功,多活动。
如练后仍有饥饿感,可少吃些菜和汤,不食主食;有感到头晕无力时,加练玉蟾吸真功和莲花座静功;有无力或饥饿感觉时必须加练第五、六、九节,即可有精神和有力。
如单纯为了减肥健美,开始则主要练以上"玉蟾吸真功"、莲花座功"和"玉蟾翻浪功"三功即可。最后一功是使你不饿,在有饥饿感时练,前二功是为解决由于不食或少食造成的乏力,腿软等副作用,有时间应尽量多练。
但要使减肥巩固,使体形更美皮肤更光泽细嫩,或减到一半减不下去时必须加练第五、六、九节,否则前功尽弃。
第四节 站桩功
功法
双腿平行分开,与肩同宽,两腿与肩同宽,两肩放松下垂,双臂微弯,手高不超过肩。双掌五指分开,双掌离开约三十厘米(做双手沉时抱球状)。可双目微闭。双膝微微弯曲,膝部弯曲不超过足尖。调心与莲花座功相同。随后运气开始,这时从呼气开始练功。每呼气时注意全身放松(好象全身散了架子一样,徐徐呼出,觉得身体微微摇晃,说明你已入静和放松了。呼尽后慢慢地把气吸人。同时提肛,边吸边提肛。所谓提肛,就是象大便解完后收肛门一样的动作。同时在呼气时慢慢松肛。这个功以四十九口呼吸为一组。初练可以一组,以后可练二组,如以时间计算,一般练10分钟,收功后双手握拳,二臂伸直用力敲击肛门两边(使肛门肌在敲击力下收缩)40-50次,其功能是加强肛肌的锻炼,起到固精还阳之效,所以本功对患有痔疮、便后出血及对大小便急、便秘和男子阳萎、女子阴冷,均有特效。
收功同玉蟾吸真功。擦手、擦脸。两手向上开,从两侧而下,"呔"一声,"唉"一声。
本功为顺式腹式鼻呼鼻吸。
第五节 健美提阳功
功法
先挺胸用鼻子深吸一口气,把胸部扩张到最大的限度以达到充分供氧的目的。随后用嘴把气吐尽,把胸部缩到最小程度。这样连做两次。在第二次气吐尽时,马上封闭喉部不让气进入肺部。这时,胸部略向前倾并同时将两肋挺起(扩大),但腹肌要放松。用真空力量把胃肠吸向胸腔,一口气直至闭不住时才放开喉部气门,让气进入肺部立刻呼吸三口气(快吸快吹),二短一长。这样一般做五次。
作者: ymywudi  2007-9-2 11:21   回复此发言  

3 玉蝉功九节功法精义!
封闭喉管的方法:把气吐尽时,使喉头发出一个"鸥"音,发音时是边吸气边发"欧"音喉部慢慢加力,稍微用一点力就把喉部封闭住了(气就不能再进入肺部)。喉部封闭后不要再加力吸气,否则气会进入肺部,发"鸥"音时很象我们平时吸了冷气打噎一样。练功时是把喉噎住后继续做吸气动作把喉部闭住。做动作时要尽量自然,封喉吸气不要用力太大(否则可能走气到肺内。)
功理
1、将腹腔内脏和横隔肌作向上运动约十四厘米。
2、升高内脏位置,增加腹压,使内脏血液被迫快速流向躯体,增快血液循环。
3、封闭喉部时,能使甲状腺器官跳动而锻炼甲状腺,提高甲状腺功能,就能促进新陈代谢。
4、能快速增加人体的热量(做此功时背部很快就会发热),此功对气管灰及各种内脏下垂病症均有特效。
第六节 内脏跳动功
功法与功理
在健美提阳功的基础上,一口气做数次提阳功。呼吸方法与提阳功一样。不同的是,把胃等内脏提到最高位时,在不换气的情况下,又把胃等内脏放松到最低程度,如此提起放下连续不断重复,就起到了内脏上下跳动的作用。
本功是运动内脏最佳功法。如有消化不良、糖尿病等内脏一切虚弱之症,非此功不能奏效,对男、女性功能下降也有特效。
第七节 玉蟾饮津功
功法与功理
津即口腔中的唾液,俗称口水。此功法能使津液大量增加,有防癌、强身、健体之效。姿式、调心与莲花座功一样;调息用鼻呼、吸。顺式呼吸做到细、长、从容不迫。
闭拢嘴唇,舌自然置于口腔中,闭紧唇齿使嘴里没有空间,然后慢慢地将舌尖缩回约十毫米。每两次呼吸缩回一次,此时舌下就会有津液上来,再把舌尖伸长到抵住前齿。这样连续做到口中清甜不渴,约十分钟。病重者每次可练30分钟,每日1-3次,可根据病症口渴情况而定。
第八节 快速吸真功
功法
坐、卧、站姿势均可,吸气时挺胸。呼气时缩胸。每练深呼吸两次,接上快速鼻呼,鼻吸20次,为一组。每天可练3次,每次10分钟。快速呼吸时肩部不要上下动,只要注意鼻子快呼吸。
此功看来简单,但由于它能快速跳动横隔肌和内脏,因此可以大大增加人的"内啡素"抗体。对于癌症的防治,往往可以收到意想不到的效果。
第九节 自然舒脏功
此功为练完上述所需功法后做总的收功用,或配合其它功结合练。如每次只练前面任何二节或三节功时也必须用本功法收功。
功法
双脚分开与肩同宽,上身作跑步动作,全身放松,两肘弯曲成90度,双臂交替前后摆动,动作幅度要小些,速度要快些,不耍用大力,当双臂摆动时感到内脏、胃等在腹腔内摆动,臀部也在摆动就表明做的功法正确。臀部是由上身摇而带动,不要有意去摇臀部。做此功时,腹腔有痛感时做慢些,做慢也有痛感时停止做,先做其他功,以后慢慢加练。
此功一般要求练两分钟,双臂摆动,从腰部开始:慢慢举起与肩平,边举边摆动,随后又向下,双拳放在臀部两侧摆动,上、下来回摆动两分钟.
本功对全身肌肉、内脏、骨骼都能起到运动和锻炼的作用,尤其是整个脊椎的摆动,对颈、胸、腰等脊椎增生,均有康复的特效

Monday, February 11, 2008

great advices

This is really great advice, some things to think about and consider! 

 
ATTORNEY'S ADVICE (NSW) - NO CHARGE (for a change)
A corporate attorney sent the following out to the employees in his 
company:
 
1. Next time you order cheques, have only your initials (instead of your first name) and last name put on them. If someone takes your chequebook,
 they will not know if you sign your cheques with just your initials or your first name, but your bank will know how you sign your cheques. 
2. Do not sign the back of your credit cards. Instead, put "PHOTO ID REQUIRED". 
3. When you are writing cheques to pay on your credit card accounts, DO NOT   put the complete account number on the "For" line. Instead, just put the
last four numbers. The credit card company knows the rest of the number, and anyone who might be handling your cheque as it passes through all the
cheque processing channels won't have access to it. 
4. Put your work phone number on your cheques instead of your home phone. If you have a PO Box, use that instead of your home address. If you do not 
have a PO Box, use your work address. Never have your Centrelink Number printed on your cheques. You can add it if it is necessary, but if you have it
 printed, anyone can get it. 
5. Place the contents of your wallet on a photocopy machine. Do both sides of each licence, credit card, etc. You will know what you had in your wallet
and all of the account numbers and phone numbers to call and cancel. Keep the photocopy in a safe place. I also carry a photocopy of my passport 
when travelling either here or abroad. We've all heard horror stories about fraud that's committed on us in stealing a name, address, Social Security 
number, credit cards. 
 
Unfortunately I, an attorney, have first-hand knowledge because my wallet was stolen last month. Within a week, the thieves ordered an expensive
monthly mobile phone package, applied for a VISA credit card, had a credit line approved to buy a Dell computer, received a PIN number from DMV to
change my driving record information on-line, and more. 
But here's some critical information to limit the damage in case this happens to you or someone you know: 
1. We have been told we should cancel our credit cards immediately, but the key is having the toll free numbers and your card numbers handy so you 
know whom to call. Keep those where you can find them 
2. File a police report immediately in the jurisdiction where your credit cards, etc., were stolen. This proves to credit providers you were diligent,
and this is a first step toward an investigation (if there ever is one). 
3. But here's what is perhaps most important of all: (I never even  thought to do this.) 
 
Call the three national credit reporting organisations immediately to place a fraud alert on your name and Social Security number. I had never heard 
of doing that until advised by a bank that called to tell me an application for credit was made over the Internet in my name. The alert means any 
company that checks your credit knows your information was stolen, and they have to contact you by phone to authorise new credit. By the time I was advised 
to do this, almost two weeks after the theft, all the damage had been done. 
 
There are records of all the credit checks initiated by the thieves' purchases, none of which I knew about before placing the alert. Since then, no additional damage has been done, and the thieves threw my wallet away. 
 
This weekend someone handed it in. It seems to have stopped them dead in their tracks. 
 
  Now, here are some numbers which you might need to contact if your wallet etc has been stolen: 
1. Visa Card Australia 1800 621 199 
2. Visa Card International 1800 450 346 
3. Lost Travellers' Cheques 1800 127 477
4. MasterCard Australia (02) 9466 3700
5. MasterCard International 1800 120 113 
6. Bankcard Australia (02) 9281 6633
7. Medicare 132 011
8. Centrelink Fraud 137 230 
9. Seniors Card 1300 364 758 
10. Passport 131 232 
ANZ FREECALL 1800 033 844 
BankWest 131 718
Citibank 132 484 
Tamworth Coles/Myer Source 2340 1300 306 397 
Commonwealth 132 221
CUSCAL- MyCard 1300 135 538 
GE Capital 1300 369 904 
Members Equity 1300 654 998 
National 132 265
St George 1800 028 208
SydneyVirgin 2000 1800 080 000 
Westpac 1800 230 144
Woolworths Ezy Banking 137 288 
We pass along jokes on the Internet; we pass along just about everything, but if you are willing to pass this information along, it could really help someone.
 


Friday, February 1, 2008

Jython|Web Application Development Using web.py and Jython

JythonMonthly/Articles/January2007/1 - JythonWiki

Web Application Development Using web.py and Jython

Given the recent discusion on the Jython-dev list of getting popular CPython applications ported to run on Jython I took a look at whether it was possible to get the increasingly poplar web.py web appplication (anti)framework to work on the Jython platform. It turned out it was relatively easy to get it running, particularly with the release of Jython 2.2 on 24/08/07.

Potentially this provides a rapid and pythonic way to develop web applications, whilst providing all the advantages that a Jython/Java platform gives, and a possible alternate hosting solution for web.py based solutions. The web.py/Jython combination can either be run using either web.py's builtin web server as a quick way to develop web applications without needing the typical Java web stack, or using it's wsgi component in combination with modjy and a Java application server, in this example Tomcat.

The software used:

jython 2.2, web.py 0.22, tomcat 5.5.20, java 1.5.0_07

Some minor modifications to web.py are required as it is written for CPython 2.4 and above. The patch updates the database module so it uses zxJDBC and adds support for Oracle, but omits pooled connection support, although it should be possible to use a Java library for this if required. web.py uses flup for session functionality, I haven't looked at whether this will work on Jython as yet.

1) Patch web.py

Download web.py and copy the source directory (web) from the web.py distribution into your Jython installations Lib directory. The following changes are then required to support database connectivity on Jython 2.2:

####################  db.py:  20a21,25 > import sys > sys.add_package('com.ziclix.python.sql') > sys.add_package('oracle.jdbc.driver') > sys.add_package('org.gjt.mm.mysql') >  250c255 < def connect(dbn, **keywords): --- > def connect(**keywords): 257a263 >     dbn = keywords['dbn'] 259,265c265 <         try:  <             import psycopg2 as db <         except ImportError:  <             try:  <                 import psycopg as db <             except ImportError:  <                 import pgdb as db --- >         from com.ziclix.python.sql import zxJDBC as db 273c273 <         import MySQLdb as db --- >         from com.ziclix.python.sql import zxJDBC as db 275c275,285 <             keywords['passwd'] = keywords['pw'] --- >             keywords['password'] = keywords['pw'] >             del keywords['pw'] >         if 'db' in keywords: >             keywords['database'] = keywords['db'] >             del keywords['db'] >         db.paramstyle = 'qmark' # it's both, like psycopg >  >     elif dbn == "oracle": >         from com.ziclix.python.sql import zxJDBC as db >         if 'pw' in keywords: >             keywords['password'] = keywords['pw'] 277c287,290 <         db.paramstyle = 'pyformat' # it's both, like psycopg --- >         if 'db' in keywords: >             keywords['database'] = keywords['db'] >             del keywords['db'] >         db.paramstyle = 'numeric' 325c338,339 <                 web.ctx.db = db.connect(**keywords) --- >                 web.ctx.db = db.connect(keywords.get('database'),keywords.get('user'), keywords.get('password'), keywords.get('driver')) 616a631,633 >     elif web.ctx.db_name == "oracle": >         web.ctx.db_execute(db_cursor, sql_query) >         sql_query = SQLQuery("SELECT "+seqname+".currval from dual")     ####################  form.py:  22c22,23 <         o = copy.deepcopy(self) --- >         #not sure about this ... throws error with deepcopy(). >         o = copy.copy(self)    

2) Using web.py builtin web server:

Once patched you should be able to run a web.py application as follows:

webapp.py:

import web from web import form  urls = ('/','index','/myselect','myselect')   class index:   def GET(self):     print "Home"  class myselect:   def GET(self):     tst = web.select('user',what='*',where="nid=4")     for ts in tst:       print ts[('name')]    web.config.db_parameters = dict(dbn='mysql',user='me',pw='you',db='jdbc:mysql://localhost/db',driver='org.gjt.mm.mysql.Driver')  if __name__ == "__main__":web.run(urls, globals())   

To run:sh> jython webapp.py 80

3) Using wsgi, modjy and tomcat.

Follow the instructions at http://www.xhaus.com/modjy to install and configure modjy in your Tomcat installation, ensure you modify the web.xml python.home attribute to point correctly at your local Jython installation, and create the test web application (modjy_webapp) as per instructions. I had to put the jython files in the modjy distribution in my local Jython installs Lib directory and modify modjy_impl.py as there is a bug, as per http://henkenotes.blogspot.com/search/label/jython. Thanks to Henke Eriksson for this.

Modify your web.py application as below and place it in the root of the modjy_webapp context (webapps/modjy_webapp/).

import web  urls = ('/','index','/myselect','myselect')   class index:   def GET(self):     print "Home"  class myselect:   def GET(self):     tst = web.select('user',what='*',where="nid=4")     for ts in tst:       print ts[('name')]   web.config.db_parameters = dict(dbn='mysql',user='me',pw='you',db='jdbc:mysql://localhost/db',driver='org.gjt.mm.mysql.Driver')  ###Replace orig main line with wsgi handler:  handler = web.wsgifunc(web.webpyfunc(urls, globals()))  

You should now be able to access your web.py application using Tomcat, e.g. http://localhost:8080/modjy_webapp/myselect. I've also noticed a performance improvement when using the first full release of Jython 2.2.

Cheers Colin