sudo apt-get install openssh-server
ssh-server 配置文件位于:
/etc/ssh/sshd_config
在这里可以定义ssh的服务端口,默认为22,为了更安全,建议更改,然后重启ssh服务
sudo /etc/init.d/ssh restart
Wednesday, March 7, 2012
Sunday, March 4, 2012
wii刻盘
1.建议使用酒精 1.9.5 以上版本来刻盘..
第一: 下载网上的游戏一般都为 ISO
第二: 先打开酒精..用其虚拟光驱把 ISO 读出并加载..
第三: 使用酒精制作其虚拟光驱的 ISO ->生产 WiiGame.mdf 和 WiiGam.mds (镜像制作向导)
第四: 使用酒精选择烧录 WiiGame.mdf 和 WiiGam.mds.. (镜像烧录向导)
第五: 放入刻录盘 DVD+-R..烧录方式: DVD-DAO (反正是默认) / 4X~6X 速度刻录!
2。GCM格式的镜像用ImgBurn烧录 4x
第一: 下载网上的游戏一般都为 ISO
第二: 先打开酒精..用其虚拟光驱把 ISO 读出并加载..
第三: 使用酒精制作其虚拟光驱的 ISO ->生产 WiiGame.mdf 和 WiiGam.mds (镜像制作向导)
第四: 使用酒精选择烧录 WiiGame.mdf 和 WiiGam.mds.. (镜像烧录向导)
第五: 放入刻录盘 DVD+-R..烧录方式: DVD-DAO (反正是默认) / 4X~6X 速度刻录!
2。GCM格式的镜像用ImgBurn烧录 4x
Friday, February 17, 2012
Affymetrix 6.0 call genotype without .ARR file
Affymetrix Genotyping Console export plink file
My colleague just got the genotyping data typed by Affymetrix 6.0 chips. Delivered to him in CEL files. After QC and genotype call, he want to analyze the data using the popular software Plink.
And here is an easy way to use the Affy 6.0 genotyping data in Plink without the ARR file.
Since Plink support transposed PED (tped) format as input, which is almost identical to the exported genotyping format by AGC. You just need to simply modify the file a little bit to fit the requirement. An example of the exported genotyping data file is as below:
#GenomeWideSNP_6.na30.annot.db
#%genome-version-ucsc=hg18
#%genome-version-ncbi=36.1
Probe Set ID sample1 sample2
SNP_A-2131660 CC CC
SNP_A-2131666 CC CT
To make the tped file, the annotation lines need to be skip (lines begin by #)
and the chromosome number/morgan position/physical position should be added in to the beginning of each SNP typing line.all these infomation will be easily get in the annotation file of affymetrix 6.0.
Tfam file which contain individual and family info should be made afterword.
when these two files are ready, it is simply to use the plink to convert it into bed format as
plink --tped tpedfile --tfam famfile --recode --make-bed --out newbedfile name
Update: Forgot to mention that the genotype data in tped data should be like "C C" rather "CC"
there should be a tab between otherwise you will get error message.
source "http://geneticsnote.blogspot.com/2010/09/gwas-data-export-to-plink.html"
Monday, January 9, 2012
Saturday, January 7, 2012
Tuesday, September 20, 2011
Men's Calorie Calculator Results
Men's Calorie Calculator Results
http://nutrition.about.com/od/changeyourdiet/a/calguide.htmThese results will help determine the calorie count you need to maintain your current weight or to achieve your goal weight in a healthy and steady manner.
You need 2208.7 calories per day to maintain your current weight without exercise.
You need 2317.2 calories per day to reach your goal weight slowly and maintain that weight without exercise.
If you reduce your current caloric intake to 1708.7 calories per day you will lose one pound per week without exercise.
If you increase your current caloric intake to 2708.7 calories per day, you will gain one pound per week.
Exercise and Calorie Needs
If you exercise for 30 minutes each day, you may increase your caloric intake to 2408.2 calories per day and still maintain your current weight.
If you exercise for 60 minutes each day, you may increase your caloric intake to 2662.1 calories per day to maintain your current weight.
Macronutrients The United States Department of Agriculture suggests that approximately 50 percent of your calories come from carbohydrates, about 30 percent from fats, and approximately 20 percent from protein sources. One gram of protein has about four calories, one gram of fat has about nine calories, and one gram of carbohydrate has about four calories.
You need 276.1 grams of carbohydrates, 72.9 grams of fat, and 110.4 grams of protein per day for 2208.7 calories to maintain your weight of 120 pounds.
Friday, August 26, 2011
The MBA for Movie Watchers 看电影学MBA - 精髓课程 解析
The MBA for Movie Watchers
1. Wall Street DVD ~ Michael Douglas
The list author says:
"Corporate Finance"
2. Barbarians at the Gate DVD ~ James Garner
The list author says:
"Mergers & Acquisitions"
3. Rogue Trader DVD ~ Ewan McGregor
The list author says:
"Derivatives and Risk Management"
4. Other People's Money [VHS] VHS Danny DeVito
The list author says:
"Corporate Restrucuring"
5. The Godfather (Widescreen Edition) DVD ~ Marlon Brando
The list author says:
"Strategic Management"
6. The Hudsucker Proxy DVD ~ Tim Robbins
The list author says:
"Marketing Management"
7. Glengarry Glen Ross DVD ~ Al Pacino
The list author says:
"Human Resource Management"
8. Lost in Translation DVD ~ Bill Murray
The list author says:
"International Business"
9. Tucker--The Man and His Dream [VHS] VHS Jeff Bridges
The list author says:
"Operations Management"
10. Wag the Dog (New Line Platinum Series) DVD ~ Dustin Hoffman
The list author says:
"Business Communication"
11. Office Space [VHS] VHS Ron Livingston
The list author says:
"Organizational Behavior"
12. Thirteen Days (Infinifilm Edition) DVD ~ Kevin Costner
The list author says:
"Business Negotiations"
13. Citizen Kane (Two-Disc Special Edition) DVD ~ Orson Welles
The list author says:
"Power and Influence"
14. Patton DVD ~ George C. Scott
The list author says:
"Leadership"
15. Catch Me If You Can (Widescreen Two-Disc Special Edition) DVD ~ Leonardo DiCaprio
The list author says:
"Entrepreneurship"
16. Pirates of Silicon Valley [VHS] VHS Noah Wyle
The list author says:
"Entrepreneurial Management"
17. A Beautiful Mind (The Awards Edition) [VHS] VHS Russell Crowe
The list author says:
"Quantitative Methods"
18. The Criterion Collection (3-Disc Boxed Set) DVD ~ Jonathan Pryce
The list author says:
"Information Systems Management"
19. Roger & Me [VHS] VHS James Bond (IV)
The list author says:
"Managing Corporate Reputation"
20. The Spanish Prisoner DVD ~ Campbell Scott
The list author says:
"Business Ethics"
21. Enron: The Smartest Guys in the Room
The list author says:
"Financial Accounting"
1. Wall Street DVD ~ Michael Douglas
The list author says:
"Corporate Finance"
2. Barbarians at the Gate DVD ~ James Garner
The list author says:
"Mergers & Acquisitions"
3. Rogue Trader DVD ~ Ewan McGregor
The list author says:
"Derivatives and Risk Management"
4. Other People's Money [VHS] VHS Danny DeVito
The list author says:
"Corporate Restrucuring"
5. The Godfather (Widescreen Edition) DVD ~ Marlon Brando
The list author says:
"Strategic Management"
6. The Hudsucker Proxy DVD ~ Tim Robbins
The list author says:
"Marketing Management"
7. Glengarry Glen Ross DVD ~ Al Pacino
The list author says:
"Human Resource Management"
8. Lost in Translation DVD ~ Bill Murray
The list author says:
"International Business"
9. Tucker--The Man and His Dream [VHS] VHS Jeff Bridges
The list author says:
"Operations Management"
10. Wag the Dog (New Line Platinum Series) DVD ~ Dustin Hoffman
The list author says:
"Business Communication"
11. Office Space [VHS] VHS Ron Livingston
The list author says:
"Organizational Behavior"
12. Thirteen Days (Infinifilm Edition) DVD ~ Kevin Costner
The list author says:
"Business Negotiations"
13. Citizen Kane (Two-Disc Special Edition) DVD ~ Orson Welles
The list author says:
"Power and Influence"
14. Patton DVD ~ George C. Scott
The list author says:
"Leadership"
15. Catch Me If You Can (Widescreen Two-Disc Special Edition) DVD ~ Leonardo DiCaprio
The list author says:
"Entrepreneurship"
16. Pirates of Silicon Valley [VHS] VHS Noah Wyle
The list author says:
"Entrepreneurial Management"
17. A Beautiful Mind (The Awards Edition) [VHS] VHS Russell Crowe
The list author says:
"Quantitative Methods"
18. The Criterion Collection (3-Disc Boxed Set) DVD ~ Jonathan Pryce
The list author says:
"Information Systems Management"
19. Roger & Me [VHS] VHS James Bond (IV)
The list author says:
"Managing Corporate Reputation"
20. The Spanish Prisoner DVD ~ Campbell Scott
The list author says:
"Business Ethics"
21. Enron: The Smartest Guys in the Room
The list author says:
"Financial Accounting"
Subscribe to:
Posts (Atom)