Wednesday, May 13, 2009

Make domain.com point to www.domain.com

 
 

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-16-2008, 01:47 PM
areidmtm's Avatar
Moderator
 
Join Date: Feb 2006
Location: Somewhere where I don't know where I am
Posts: 2,161
Default How To make domain.com point to www.domain.com

Open or create a .htaccess file in the /public_html/ directory (if the domain is an add-on domain, then the .htaccess file will be located in add-on domain's directory)

Put this at the top of the .htaccess file (replacing 'domain' with yours)

Code:
 Options +FollowSymlinks RewriteEngine on rewritecond %{HTTP_HOST} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
__________________
Sign Up Now!
Unlimited Storage, Unlimited Transfer, Host Unlimited domain names, 1 Free Domain Name
BlueHost Features | BlueHost Help Desk | Become a BlueHost Affiliate | BlueHost CEO Blog
(888) 401-4678 | Create a support ticket

Last edited by areidmtm; 01-16-2008 at 03:05 PM.
  #2  
Old 01-16-2008, 03:01 PM
Basil's Avatar
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 1,337
Send a message via AIM to Basil
Default

And of course the opposite..
Code:
 RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [nc] RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
  #3  
Old 01-30-2008, 03:07 PM
Junior Member
 
Join Date: Jan 2008
Location: Brazil
Posts: 21
Default

For me it doesnt work. I get a page that says that "This site was moved to this location" and the word "this" is a link to "domain.com" and get an infinite loop.

[EDIT]

Forget. It was a conflict between the wordpress config and .htaccess settings. Changed it in Wordpress Admin Panel and everything is ok.

Last edited by Diogenes; 01-30-2008 at 04:10 PM.
  #4  
Old 02-09-2008, 08:53 AM
Junior Member
 
Join Date: Feb 2008
Posts: 2
Default

Another newbie here.

I've tried to insert your text into a new .htaccess but changing the suffix from ".com" to ".co.uk" however it seems to be redirecting to the ".com".

Options +FollowSymlinks
RewriteEngine on
rewritecond %{HTTP_HOST} ^mydomain.co.uk [nc]
rewriterule ^(.*)$ http://www.mydomain.co.uk/$1 [r=301,nc]


Is there something else I've missed?
  #5  
Old 02-09-2008, 08:59 AM
Basil's Avatar
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 1,337
Send a message via AIM to Basil
Default

Only if something else is redirecting it.
  #6  
Old 02-20-2008, 01:42 AM
Junior Member
 
Join Date: Jan 2008
Location: Sialkot
Posts: 7
Default

Not working for me, site is not opening check www.smsdad.com or check without www site is not opening.("Add-on domain" .htaccess file created in add-on domain directory)
  #7  
Old 02-20-2008, 01:58 AM
Basil's Avatar
Senior Member
 
Join Date: Feb 2006
Location: Florida, USA
Posts: 1,337
Send a message via AIM to Basil
Default

What's in your htaccess file..
  #8  
Old 02-20-2008, 02:36 AM
Member
 
Join Date: Oct 2007
Posts: 56
Default

Quote:
Originally Posted by andyv View Post
Another newbie here.

I've tried to insert your text into a new .htaccess but changing the suffix from ".com" to ".co.uk" however it seems to be redirecting to the ".com".

Options +FollowSymlinks
RewriteEngine on
rewritecond %{HTTP_HOST} ^mydomain.co.uk [nc]
rewriterule ^(.*)$ http://www.mydomain.co.uk/$1 [r=301,nc]


Is there something else I've missed?
You need to place a \ backslash before the periods on the rewritecond. The following is an example of what is working for my site
rewritecond %{HTTP_HOST} ^example\.org [nc]
rewriterule ^(.*)$ http://www.example.org/$1 [r=301,nc]

Try this for your site
rewritecond %{HTTP_HOST} ^mydomain\.co\.uk [nc]

The Apache writeup
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
  #9  
Old 02-20-2008, 04:57 AM
Junior Member
 
Join Date: Jan 2008
Location: Sialkot
Posts: 7
Unhappy

Quote:
Originally Posted by Basil View Post
What's in your htaccess file..
this is

Code:
 Options +FollowSymlinks RewriteEngine on rewritecond %{HTTP_HOST} ^smsdad.com [nc] rewriterule ^(.*)$ http://www.smsdad.com/$1 [r=301,nc]
  #10  
Old 02-20-2008, 05:02 AM
Junior Member
 
Join Date: Jan 2008
Location: Sialkot
Posts: 7
Unhappy

Quote:
Originally Posted by arnb View Post
You need to place a \ backslash before the periods on the rewritecond. The following is an example of what is working for my site
rewritecond %{HTTP_HOST} ^example\.org [nc]
rewriterule ^(.*)$ http://www.example.org/$1 [r=301,nc]

Try this for your site
rewritecond %{HTTP_HOST} ^mydomain\.co\.uk [nc]

The Apache writeup
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

Gallery2 Security

 
 

Gallery2:Security

From Gallery Codex

Contents

[hide]

Gallery 2 Security

This article explains various security aspects of Gallery 2 and how your webserver / hosting account and Gallery 2 can be secured from possible attacks. This article does not explain the Gallery 2 permission system. This article also focuses on linux/unix based servers. But most instructions can be translated to the Windows world directly. E.g. if we talk about permissions, ignore the numbers (e.g. 777) and just follow the long format (read+write+execute, ..).

Introduction

Securing Gallery 2 has much to do with securing the webserver. Gallery 2 cannot be secured if the server/webserver is not configured with security in mind.

In this article, we address the following topics:

  • Make sure nobody can read / write to your Gallery 2 files
  • Make sure the account has not more rights than it needs to have
  • Don't expose more information about your Gallery 2 / G2 version than necessary
  • How to identify an insecure webhost
  • Miscellaneous security related topics

Contact Information

The Gallery project treats security issues very seriously. If you find a security flaw, please do not file a public bug or discuss it in a public forum. Please escalate it directly to our security team by sending an email to security AT gallery.menalto.com. Please provide as much information as you can including your version of Gallery2 and a description of the flaw. Supporting material such as server logs or a reproducible exploit are very valuable in helping us to clarify the problem. If you notify us about a flaw before we go public with it, you will receive credit with our security release. You may also be eligible for a cash bounty!

Short Check List

If you don't want to spend a lot of time reading this document now in all detail, you can just check the following list of the most important security related issues. In that case, we still recommend coming back later and reading the full document to make sure you have secured your Gallery as well as possible.

  • Filesystem permissions of config.php: Make sure no one but you / the webserver can read from (or even write to) the config.php file. Change the permissions of your config.php file with your FTP client to 444 (readable for everyone). Most shared webhosting setups don't allow restricting the permissions more than readable for everyone. In some cases you can restrict it even more. Read on for the details.
  • Prevent viewing of your Gallery code: If you already have a file with the name .htaccess in your gallery2/ folder, add the following code (copy and paste) at the top of it. If there is no such file yet, just create it with a text editor. You may have to rename the file via FTP to .htaccess since Windows doesn't like files without a name before the dot that well. The following code should be part of that .htaccess file:
 <Files ~ "\.(inc|class)$">    Deny from all  </Files> 
Note: The .htaccess instructions only apply to websites hosted on a Apache server (and most are). Also, if you have access to the configuration file of this webserver, you could put those changes directly into httpd.conf instead of into .htaccess.
  • Filesystem permissions of the gallery2/ folder: Make sure nobody can write to the gallery2/ directory, not even the webserver user. Change the permissions of your gallery2/ directory with your FTP client to 555 (read+list permission for everyone). In some cases you can restrict it even more. Read on for the details.
  • Storage folder location: The storage folder (by default 'g2data/') must not be web-accessible, i.e. it should be outside of the document root.

Learn the Basics about your Webserver

Whether you have an account on a hosted webserver or have a dedicated webserver, first you need to know the basics about your environment. We are interested in the following settings:

  • The account under which all PHP scripts are executed on your website
  • The (local) value of the PHP open_basedir setting
  • The Server API, whether PHP is run as a Apache / IIS / ... module or as (fast-)cgi

To find out the value of these settings, create a file with the name info.php and with the contents

<?php print "PHP runs under the user: [" . system('whoami') . "]<br>"; phpinfo(); ?> 

Put it on the webserver in your gallery2 folder or to the folder where you plan to upload gallery2 to. Then browse to the file with your webbrowser.

Does PHP run under your own Account or under a Generic Account?

There are basically two different ways PHP scripts can be run on a webserver.

  • Either all PHP scripts are run by the same account for all PHP scripts on the webserver. On a shared webhosting plan, PHP scripts of all domains / accounts run under the same generic user.
  • Or the webserver differentiates between different accounts / domains. That means that on a shared webost your PHP scripts are run by your user (probably the same as your FTP user account) while PHP scripts of other websites on the same server run under another user. For security, this is much better!

If your PHP Server API is Apache or IIS or Module / mod_php, then all PHP scripts on this server are run by a generic user. There's no way to run PHP as webserver module and running under different users. mod_php implies that all scripts on this webserver are run by the same generic user. Most probably info.php shows "nobody", "www" or another generic name which is different from your user / account name between the [] tags.

If your PHP Server API is php-cgi or php-fastcgi, then PHP most likely runs under your user. If the info.php page shows your user / account name between the [], then it definitely runs under your account.

Note: Maybe you don't see anything between [], maybe you even receive a Warning that the function "system" has been disabled.

Restricting Read & Write Access to Gallery 2 Files and Directories

In this section, we make sure that:

  • nobody can read the contents of your config.php (where your setup password is stored) and that
  • nobody can read / write to your g2data (storage) directory.

We need to differentiate three different cases:

a) PHP as mod_php and open_basedir is not set / too open

If your PHP is run as mod_php (generic user for all scripts), then your only hope is that PHP open_basedir (see info.php) is set restrictive enough. PHP open_basedir should be set such that your g2data folder and your gallery2 folder are in this path but no other account should be in the account. If your PHP Server API is Apache and open_basedir is empty (no value), then talk to your webhost, this is a large security risk. There's no way to secure your Gallery 2 (unless you have a dedicated server, that is, a server that is dedicated only for you and no other customer). What could happen in such an environment?

  • Another customer could use PHP to read your config and get your password and do other things with your password.
  • And if you left your config.php writable, the other user could write an invalid configuration or the configuration could be changed to use other data to damage you in some way
  • Another customer could use PHP to read / write from / to your Gallery 2 storage directory (g2data)

What you can do in such an environment:

  • Restrict config.php to 444 (read permissions for everyone)
  • Use another password for your G2 admin account than for the setup (the one you entered during the G2 installation)
  • Remove the upgrade/ folder since one can access this folder with the setup password, which is stored in config.php
  • Also see How do I secure Gallery2

b) PHP as mod_php and open_basedir is set restrictive enough

Your webserver is not really secure, but a restrictive open_basedir setting is better than nothing. You need to keep the config.php file world / publicly readable. Open_basedir will make sure that only PHP scripts of your account can open files that reside in your account.

  • Set the permissions of config.php to 444 (read permissions for the owner, group, and public/world)
  • Set the permissions of g2data to 777 (read+write+execute permissions for everyone). Apply the permissions recursively (also for all subfolder, files, ...).

Another option is to ask your administrator to change the owner of the config.php file and the g2data directory (recursively) such that the generic webserver user owns these files and directories. (command: chown -R username g2data, this command can only be executed by the root user (administrator)). Why would this improve security? In such a scenario, other customers, couldn't read/write your files anymore from the shell (telnet/ssh). Then, you can restrict the permissions to:

  • Set the permissions of config.php to 400 (read permissions for the owner, no other permissions)
  • Set the permissions of g2data to 700 (read+write+execute permissions for owner, no other permissions). Apply the permissions recursively (also for all subfolder, files, ...).

Note: Open_basedir only secures from PHP, but not from other script languages. If Perl or other script languages are also allowed on this webserver, your Gallery 2 is still insecure from attacks from other customers or from vulnerabilities of other web-scripts on this server.

c) PHP as cgi and scripts run under your user

You are lucky. If PHP is run under your user, we can remove all filesystems for other users.

  • Set the permissions of config.php to 400 (read permission for the owner/you, no permissions for anyone else).
  • Set the permissions of g2data to 700 (read+write+execute permissions for owner/you, no permissions for anyone else). Apply the permissions recursively (also for all subfolder, files, ...).
  • In G2 site admin -> general, set the permissions for new directories to 700 and the permissions for new files to 600.

Restricting the Rights of the Webserver User

You should also make sure that a possible vulnerability in Gallery 2 cannot escalate further than necessary. Restrict the permissions of the user that runs the websever/PHP scripts as far as possible. E.g. never run the webserver as root :)

The user should not have any other rights than

  • Read+Write+Execute for g2data and its subfolders
  • Read+Write for all files in g2data and the files in its subfolders
  • Read+Execute for gallery2 folder and its subfolders
  • Read for all files in gallery2 and the files in its subfolders
  • Read+Execute for the binaries and the folder the binaries are in (imagemagick, netpbm, ffmpeg, dcraw, unzip, zip, ...)


  • You should also block all access to your storage directory (by default 'g2data/'). Just add the following content in a file called .htaccess in your storage folder:
Deny From All 

Don't Expose Information About Your Gallery 2

Gallery 2 was written with security in mind. Nevertheless, security vulnerabilities have already been discovered in Gallery 2 (all known issues are fixed). You should make it as hard as possible for visitors of your site to find out the version of your Gallery 2 since once the attacker knows the version of your Gallery 2, it's clear if the Gallery 2 installation is still vulnerable to older exploits. Say you have the exact version string on your frontpage, then an attacker can just use google to find a list of vulnerable installations, including yours.

  • In your webserver configuration (httpd.conf / .htaccess for Apache), you can block all access to sourcecode files and file integrity checksum files (MANIFEST).
<Files *.inc> Deny From All </Files> <Files *.class> Deny From All </Files> <Files MANIFEST> Deny From All </Files> 
  • Remove directory listings on your website. Add the following:
<Directory YOUR WEBROOT PATH>  Options -Indexes </Directory> 

You can test whether you are exposed or not by going to modules/. If you can list all of the modules installed on your system, then Apache is listing directories.

  • Remove README.html from your gallery2 folder
  • Lower the PHP error reporting level since PHP Notices / Warnings etc. can expose the absolute filesystem paths and other information. In php.ini (the PHP configuration file), change the error_reporting level to at least:
error_reporting = E_ALL &~ (E_WARNING | E_NOTICE) 

or even

error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR 

Notice though that the more errors you suppress the harder it is to diagnose a real problem. Once you experience problems, you should change error_reporting to E_ALL .

How to Identify an Insecure Webhost

A shared webserver that runs all PHP scripts under the same generic user and not under the specific account's user can only be secured in a limited way. All mod_php based webservers/webhosts fall into this category. If you don't see php-cgi or php-fastcgi as Server API in your info.php, your webhost falls into this category

If additionally open_basedir is too open or even not set, we discourage from using Gallery 2 on this server.

Reality check: Most shared webhosting plans fall into the above category and we hear from incidents like a Gallery 2 that was somehow deleted over night only very rarely, maybe once a year. So it isn't as bad as it sounds. The chance being on a webhost with a malicious customer should be really small.

The purpose of this section is just to clarify that your webhost actually may not be as secure as you thought. You should at least ask your webhost to change the situation (asking wouldn't hurt and it would signal a general need for a secure webhosting environment). And if you prefer a truly secure environment, a large percentage of professional webhosting companies at least configure the open_basedir path quite restrictively for each account. And a smaller percentage in the lower to middle price class actually offers php-cgi based webhosting.

How to Configure a Secure Webserver

This is a larger topic and this section just provides a summary of the basics:

  • If you're using a dedicated webserver, you can use mod_php. Be sure to use another user for running the webserver than for other processes and give this user only minimal permissions (as described in the above sections)
  • If you want to offer shared webhosting, do not use mod_php. Use php-fastcgi + suexec + apache2 + chroot jails to create a secure environment for your customers such a customer can only be harmed by the customer's own scripts and not by anyone else's scripts. Unlike php-cgi, php-fastcgi can be as fast as mod_php and does not increase the load of your system more than mod_php would do. But php-fastcgi might need a little more memory for the overall system compared to mod_php if used in a shared webhosting environment.
  • Don't define a crossdomain.xml and if you absolutely need to offer a service for cross-site Flash access, make crossdomain.xml very restrictive. Note that the Macromedia / Adobe Flash plugin had a related vulnerability up to version 8. If you need crossdomain.xml, please ask for advice in the forums how to protect yourself from CSRF.

Multisite / Embedded G2

Securing multisites / embedded G2's can be a little more complicated in some cases. Possible issues:

  • PHP open_basedir of embedded G2 / of the multisite does not include the Gallery 2 path.
    • Solution: change the open_basedir to include the path too or change the location/path of Gallery 2
  • PHP runs under your account and you installed it from one account/domain (multisite -> codebase, embedded G2 -> Gallery 2) and now you access Gallery 2 from the multisite or embedded with another domain/account.
    • Solution:
      • Multisite: After the initial installation from the codebase, you will never have to access the multisite from the codebase again. Even upgrading is done from the multisite. Thus, just run chown -R multisite_accountName multisite_g2data (replace the name/g2data paths with correct values), that is, just change the owner of g2data and config.php of the multisite to the multisite owner. Also, make sure the codebase is open enough that all multisite users can read the gallery2 files and read+execute the gallery2 folders.
      • Embedded G2: You'll need to make sure that both users (G2 standalone domain, Embedded g2 domain) have the necessary permissions described in the last section.

General Remarks

  • Use another password for Gallery 2 than for other applications / systems, use another password for your admin user than the one that you specified during the installation
  • Make use of the Gallery 2 image firewall. If the g2data directory is not outside the document root (the public_html, html, www, . folder), the image permissions can be worked around by browsing to an image in the g2data directory directly
  • Warning: If you add a path to your local upload path list in site admin -> general, then all your Gallery 2 users with add item permission can use add items -> from local server and add files from this local path.
  • All Gallery 2 site administrators can do everything in your Gallery 2 installation. Delete all albums with a single click, delete users, etc. Make sure you trust the users that you add to your site administrator group. Generally, we recommend to not add anyone to this group and we even recommend to use another Gallery 2 user acocunt for your everyday tasks / browsing for yourself, similar to how one should not use the linux root user / Windows administrator user for everyday work.

FAQ

What about PHP safe_mode?

Despite its name, PHP safe_mode doesn't imply a secure environment for PHP scripts. It's much too restrictive disabling functionality that would be quite useful even in a secure environment and PHP extensions and other script languages can still work around the safe_mode protections/limitations. Much has been said about PHP safe_mode and to cut a long story short, even the authors of PHP think offering safe_mode was a failure and PHP safe_mode will be removed in PHP 6, it won't even be available as option.

Also see G2 FAQ: Does G2 work with Safe_Mode?

What is PHP open_basedir?

See PHP open_basedir . If set restrictive enough, and if only PHP and no other computer language can be used on this server by other users and if no ssh/telnet access is granted to customers, open_basedir is not a bad protection for your Gallery 2 installation from other customers on the same webhost.

Please see How to configure open_basedir for G2.

How can other Customers on the same webhost harm my Gallery 2 installation?

  • Malicious customers can use PHP to read/write to your config.php / g2data directory if not properly secured
  • Other customers don't even have to be malicious, it suffices that a single PHP script installed by another customer has a security vulnerability and it could be exploited to not only do harm to the other customer's data / website, but to any other website on the same webhost too. Unless the webserver is properly secured.
  • Other programming languages can also be used for an attack, it doesn't have to be PHP. Any language that is available on this webhost can be a possible security threat.
  • If customers have telnet/ssh access, they can also access and manipulate your data / website, unless you set the permissions correctly / the webserver is properly secured.

What about SELinux?

SELinux doesn't work with Gallery 2 if not configured properly. See Gallery 2 Installation on a SELinux enabled Server for more information. We neither recommend SELinux nor discourage from using it, we merely explain how to install Gallery 2 on a SELinux enabled server.

What about Apache mod_security?

mod_security doesn't work by default with Gallery 2. It needs special configuration, see Known Issues.

What about using symlinks and open_basedir together?

Currently, you can't use symlinks and open_basedir together in Gallery 2. Please see: How to configure open_basedir for G2.

Do I need to delete the install/ and upgrade/ folders after the installation?

No, these folders don't need to be deleted. But you can delete them, Gallery 2 will still work even when they are deleted. One can access the installer only by creating a login.txt file in the gallery2 folder. Usually, that's just a single person. You can't create / edit login.txt with the webbrowser. You can access the upgrader only with the setup password (which is stored in config.php).

What about the Database?

Make sure that only your database user has permissions to connect to your database. Your database user needs quite a lot database permissions, including alter table, drop table, same for index etc. So you can't restrict the permissions of this user really well.

What does web-accessible mean / what is the document root?

We say a file or a folder is directly web-accessible if other people can access it through a web browser or through other web clients. Example: The gallery2/main.php file of your Gallery is web-accessible, everybody can browse to it.

Another example: The Gallery storage folder (e.g. 'g2data/') potentially has some sensitive data in it. If people can access this data just by browsing to a file within your storage folder, security is compromised. Therefore, for maximum security, you should ensure that your storage folder is not accessible from the web.

You can accomplish this by ensuring that the storage folder is above the web document root. The web document root is the filesystem folder in which all your website files and folders are. Usually the name for that folder is 'htdocs', 'www' or 'public_html'. All files and folders within the document root folder are web-accessible.

Example: '/home/yourusername/public_html/' could be your document root. '/home/yourusername/public_html/gallery/g2data/' is within the document root and therefore web-accessible. '/home/yourusername/g2data' is above the document root and therefore not web-accessible, which is how it's supposed to be for the storage folder.

Monday, May 11, 2009

熬夜男怎样保持好皮肤?

 
 

熬夜男怎样保持好皮肤?

熬夜男怎样保持好皮肤


一 给足充沛的水分
  在熬夜时,应该注重让室内空气保持通畅并有一定的湿度。
  如果无法改变身处的环境质量(如酒吧、饭店、工厂生产线等),就更要在护理上稍微用心了——使用含有充足水分和养分的乳液,易于皮肤吸收。
  二 “晚睡”却不“晚洗”
  一般而言,皮肤的作息时间是在晚上10∶00~11∶00点之间进入晚间保养状态。这样,皮肤在下一个阶段虽然不能正常进入睡眠,却也能正常得到养分与水分的补充。
  三 喧嚣中的“镇静”
  由于睡眠的缺失,喝浓茶或咖啡、酒类等维持兴奋是晚睡人习惯采用的方法。这样却容易出现黑眼圈、眼袋、皮肤晦暗无光等。
  四 熬夜人士护胃有法
  经常熬夜的人,中医称之为阴虚火旺之人,此类人也常有肠胃毛病,可通过食疗改善,达到护胃目的
  五 熬夜过程中的注意事项
  1、熬夜的时候我们会感觉很累,但是无论多累,中间最好不要上床休息,就像机器一样,突然开突然关的,对身体非常不好,一定要等事情忙完再休息。
  2、若困乏的时候事情还没有忙完,则可喝咖啡或茶水等有一定的刺激性的饮品来提神,但要注意应热饮,浓度不要太高,以免伤胃。
  3、 熬夜时,大脑需氧量会增大,应时时做深呼吸。
  4、 事情忙完后,一定要收心,即使不睡觉,也要坐在椅子上收心。
  六 熬夜后的补救措施
  1. 睡前或起床后利用五至十分钟敷一下脸(可使用保湿面膜),来补充缺水的肌肤。
  2. 起床后洗脸时利用冷、热交替剌激脸部血液循环
  3. 涂抹保养品时,先按摩脸部五分钟;
  4. 早上起床后先喝一杯枸杞茶,有补气养身之效。
  5. 做个简易柔软操,活动一下筋骨,让精神旺起来。
  6. 早饭一定要吃饱,但是不能吃凉的食物。
  七 重视晚睡前的“晚餐”
  皮肤在得不到充足睡眠的情况下,会出现营养(水分、养分)的过度流失,在晚餐时多补充一些含维生素C或含有胶原蛋白的食物,利于皮肤恢复弹性和光泽。
  晚餐包括:
  富含胶原蛋白的食物如“动物肉皮”,大量的水果中都富含维生素C,或者口服1~2片维生素C片。
  晚餐应杜绝:
  辛辣食品,防止皮肤中的水分过度蒸发。敏感性皮肤应尽量少食海鲜。酒精类饮料对皮肤的养分吸收和保有大打折扣,因而尽量少用。

Thursday, May 7, 2009

女人!女人!三言两语直捣女性的阴暗面! :)

 
 
 
前提,我说的以下的话可能比较残酷,但是都是现实,希望没有承受能力的小朋友们都离开,这里不适合你
    
    1 女人,本性就是奴性,本身就是宠物心态,就是要依赖人,不管多漂亮的外表多强女人本性都是如此,男人的人格和生活是独立的。女人就非要依赖别人,如果没有依赖的人,她们就开始这个那个了,又多愁善感了,看见飞花落雪就开始落泪了,看一些脑残的韩剧开始哭了,为啥我身边没个这样的男人呢??好男人都死绝了??根本的就是,没男的搭理她们,她们认为自己很可怜。其实不是好男人都死绝了,是您那尊荣您那人品,很难让男人呵护喜欢上你。
    
    2 女人,喜欢被人征服,喜欢被自己强的男人征服,没什么奇怪的,女人的本性而已,劝有些小男人,很多时候我都看不下去,被自己女友指鼻子骂脸上了都骂父母了,连屁都不放一个,真丢男人的脸!!
    
    
    男人有时候要强势一点,你逆来顺受,反而被女人瞧不起,你对她霸气点,她就认为你有男人味,会臣服于你,别NB的认为你什么都满足她就是爱她了,她不会领情的,时间长了,就会认为你没男人样子,会更加对你指手画脚的。对待女人就要刚柔并济,时而霸气点,发点脾气点,时而温柔点,她就会找不到北,不敢侵犯你,你自己不爷们儿点,你能指望谁能维护你的尊严??
    
    3 女人,本性就是虚荣,外在的表面的东西始终是女人们永久的话题,比如衣服鞋子身材美容,事物的本质她们永远无法了解,看一个人,男人会看他的内涵,他的气质,他的能力,女人就是看他的外表外貌服装。女人,天生见识短,看问题极为片面,目光短浅,,也所以说女人永远也成为不了社会的主体
    
    4 女人,因为交际圈子小的缘故,也因为生理原因,喜欢八卦,天生喜欢窥探别人的隐私,因为没有能让她们感到刺激的事情,总是很神秘的说,谁谁谁在一起了,谁谁谁怎么样了,请问那些事情关你老大什么事,那些女人还为八百杆子打不着的网上的别人的事情气的不吃饭,还迁怒于她们的男友,你们男人,没一个好东西!!!男人们很多都不知道怎么回事,劝男人们这个时候,保持沉默就是,别搭理她们,过一段时候,她们自己就会被更娱乐的新闻占据她们,情绪马上会变好。男人把生活当戏,所以处变不惊,女人把戏把网上的别人的事情当自己生活,所以流泪愤怒,女人是非常低级趣味的,由于女人较之男性目光短浅,思想贫瘠女人其实要比男人狭隘自私冷漠的多
    
    5 女人,30岁之前喜欢有爱的性,30岁之后喜欢有性的爱,所以,是个男人,就开始锻炼吧,PC肌肉控制射精那个肌肉的训练,很多夫妻结婚后离婚的重大原因就是男人那方面不行,男人啊,你自己不锻炼不呵护自己,别指望别人能关心你。到时候老婆跑了女友跑了自己带绿帽都不知道怎么回事,
    征服女人,从征服她的阴道开始!虽然粗俗,但是,百试不爽!!男人一定要记得,吃伟哥没个屁用,最重要是锻炼自己PC肌肉和自己的整体身体!!!
    
    6 女人,喜欢被人恭维,女人长得漂亮你就要说她超有气质她很有品味,女人长得丑你就说她的身材很好,女人要长得很丑你就说她某一个部分特别好,比如发型,厨艺,她的衣服鞋子,人品什么的, 总之,你要搜刮自己头脑搜刮女人她有什么可夸的,你记得,就是丑到极点长得像猪一样的女人,也是希望被男人夸奖重视的
    
    7 女人,天生爱钱,女人对家庭范围内的管账都很有一套,但是再大一点的公司就不行了,所以说,好的公司的财务都是男人在管,
    买啥卫生纸吃啥东西她们能为了一毛钱跑遍10个超市,她们没有时间就是金钱的理念,我刚刚上面也说了,女人只会看外部表面的东西,就像她们逛街一样,逛了8-9个小时,买了件30块钱的衣服,心满意足的回家了,还向朋友炫耀我今天买了件超值的东西。可笑可笑,贪财的女人属于智商比较低的,其实这种女人最省心,最怕的就是什么的不贪的女人
    
    8 女人,只有小聪明,她们没有太高的智慧,但有的是花招儿和心眼儿。鸡毛蒜皮的小事儿精得跟什么似的,一到大事就完全没智商了,如果说男人能看50楼的风景,她们顶多就能看10楼的,大脑不知道在想什么,缺心眼的利害
    
    9 总是嚷嚷着找安全感,总是要求男人有车有房,能够照顾自己养自己一辈子,高大英俊阔气有时间陪她对她忠心不二,也不看看自己什么底版,就要求男人这么多,你自己值得男人这样吗?值得好男人爱吗?就是有这样的男人,轮到到几千万轮轮到你??女人,都是视觉动物,都喜欢强壮或者高大或者成熟的男人,当然有喜欢另类口味的,这里不多说,一定要要求身高180的,一动要要求资产多少的,一动要要求这个那个的,你都不看看你什么底版,你凭什么要求男人这么多,我有这条件我找个比你更漂亮的更懂事的更好的,女人不多的是,看看以后谁耗得起,男人没赚到钱时女人着急,男人赚到钱时女人后悔
    
    10 女人和超市里卖的东西没啥区别,只要你有钱有资本,要什么有什么,而且女人自己也承认这点,女人用自己外在外表交换男人的财富,如果那些什么都没有的女人还要求颇高,那么,呵呵,白白了您了
    
    11 女人总会说,你什么时候娶我,男人说,我没事业,也没钱,现在还不是时候,女人说,我要的是伟大的爱情,我不在乎你有没有钱,但是百分之99.9的女人婚后都嘲笑男人没出息,挣钱太少,不能维持她所认为的爱情,
    
    
    12 女人找男人就像她们炒股票一样,百分之95的女人会直接找绩优股一飞冲天的能看得见摸得着的那种实惠的,剩下的百分之5的人会找潜力股,现在业绩不怎么样,但是未来一定会升值的,那百分之95的女人百分之95会被男人甩掉,剩下的那百分之五是因为男人怕影响仕途和上升空间儿勉强维持。
    
    13 对男人来说真爱纯爱只发生在18岁前60岁后,所以才发现难觅真爱,以为都是对方和自己捉迷藏不让自己找到,实际上是自己已经丧失了寻找的能力 ,原因是女人太过分,可能是我们已经不会爱了 ,只有维持和寻求刺激
    
    14 男人相亲多半是性格内向自闭或者条件较差的,女人相亲多半是要求过高,不知道自己斤两的
    
    15 女人,天生架不住勾引,当然,你要有一定的资本才能勾引,我在国内有两辆车,以前还是穷学生的时候,女人们对我都不理不哈的,我TMD卖血给女生买衣服女生就说个谢谢,然后就没信了,后来有车了,说带她们出去就兜兜风,她们就主动要求晚上来我家,说自己很孤独很寂寞什么的,有时候晚上闲着没事干,在路旁慢慢的开车,看见单身的漂亮姑娘,只要摇下车窗说句,美女有空吗?哥哥带你去兜风好不好,百分之80几乎不费什么话二话不说就往车里爬,剩下的百分之20也是装来装去,说很忙了,有人在等了,一会有事情了,后来也是钻进我车里,让我冷笑不止,呵呵,
    
    女人是感觉动物,所以为什么现在网络泡妞这么方便,女人在感情上认为你是个优秀男人,善解人意的男人,你就是,而且一定是,
    
    16 女人,善变,一会这个一会那个了,买个东西也是,这个衣服好不好,那个衣服好不好,转了一天,啥都没买,今天评价这个人好的跟一朵花一样,明天这个人就坏的流脓,到后天这个人又好得跟一朵花一样
    
    17 女人,容易情绪化,前一秒钟还高兴的跟什么似的,然后马上就翻脸,总是让男人去猜她们正在想什么,为什么这样,我是能猜出你为啥这样了,但是我懒得猜,你又不是我刚泡的妞有新鲜感,你抽风犯病没人理你一会你自己就变乖了,然后还找我道歉,呵呵,你说你无聊不无聊啊,不过就辛苦那些对女人不了解的男人了,你们受苦了,没头没脑的被女人训斥,我告诉你们,女人都那样,神经兮兮的,有时候她发脾气没什么理由的,你别搭理她,出去一会,或者带上耳机不说话,一会她自己就好了,谁让她们女人有个叫月经的东西咱们男人没有呢???
    
    18 女人,没有友情,所谓的闺蜜都是女人互相安慰打发无聊时间互相八卦的东西,不管多好的朋友,一点小利益,就会吵个天翻地覆翻脸不认人,无论多好的朋友,在钱上百分之99闹翻,在男人身上百分之百闹翻,如果你是引男人人注意的女生,那么你一定没女性朋友,如果你有很多女性朋友,你一定长得很丑
    
    如果两个男人友情很深,都喜欢上一个女人,其中的一个就会离开,
    
    如果两个女人表面特亲密,都喜欢上一个男人,就会翻脸互相骂互相说对方坏话
    
    我认识两个妞,号称是最好的朋友,两人大学里住同一间宿舍,一起吃饭,一起上课,一起去舞会泡男生或者被男生泡,四年里形影不离。A比B小两个月,
    
    女人和男人不同,男人都喜欢维护朋友,女人背过身就互相攻击,我认识两个妞,又一次在我家A把B带了回来,趁着B冲凉的当儿,A说: B哪儿都好,就是腿短胸小皮肤超粗糙的厉害。还说她人缘差,轮到A冲凉了,B问我:A可爱吧?我说挺可爱的,B嘴一撇,说别看她样子那样,骚货一个,上过的男人至少有30个。。。她都堕胎3次了。。。。
    
    我当时无语,20分钟到外面一起吃饭的时候,两个人好的跟一个人似的,还互相夹菜什么的,还互相手拉手逛街,我当时那个冷笑啊。。。你们女人也就这样了,睡觉可以,共事不行
    
    19 女人,妒忌心极强,哪怕是自己的父母兄弟,女人和女人之间,就是最好的朋友,就是母女亲姐妹之间,也会互相妒忌,攀比,自己的最好的朋友,也会互相妒忌,女人心里,只有自己,只要不触犯自己,怎么都行,要是触犯到自己,就狠狠的去咬
    
    20 女人,比较有同情心,这并不是她人有多好,纯粹是理性的,男人同情一个人,,认为这个人值得同情,而是女人感性,善于把别人的痛苦假想在自己身上,然后自己跟自己较劲,又哭又伤心又寻死觅活的,可笑死了
    
    20 女人,容易收群体思维影响,最简单的就是,别人做什么她也做什么,虽然她并不想这样做,或者不知道为什么要这样做,因为她觉得她如果不这样做就会落伍,浅薄!!
    
    21 女人比男人狠,男人整人,只会整到一定程度让对方听话不闹腾就行,女人要是整一个自己不喜欢的人,会毫不留情,照死里整,管你家里有谁,管我屁事,要不说女人心如蛇蝎
    
    22 女人,没有原则,对她好的,什么都好,对她不好的,哪都不好,完全从自己为出发点!!!管你什么社会管你什么道德
    
    23 女人,喜欢男人骗她,如果她爱一个人,就是那个男人骗她她知道,她也会相信,女人有时候就享受这种被骗的感觉,那时候她很快乐!所以说拙嘴笨舌的男人没机会呢,
    
    24 女人,30岁后如果还没有结婚,就是传说中的剩女,剩女很可怜也不值得可怜。自己挑来挑去挑花眼了,女人上25岁就马上老得快,如果还是坚持小女孩时候的什么白马王子的什么狗屁梦想的,您就一辈子剩女吧
    
    25,都爱装A与C之间,每一个都是,和她们上床前,她们避孕药吃了100多斤都有,结果愣装处女,又皱眉又咬牙,全身痉挛,完事之后幽怨半天,感慨世道艰难大势去矣,还问我会不会爱她一生一世。到后来还挤出几滴眼泪,
    
    像我这样的老油条,见过多少女人,你那点小花招,在我面前只能是业余中的业余
    
    26 女人,爱耍赖不讲理,没有什么责任感女人 爱狡辩,女人 不喜欢承担责任,自己犯错会找一万个理由来推脱,自己永远正确,自己认为的永远对,别人和她意见不同,别人都是白痴,别人都错了,根本不把别人的意见当回事,自己就是知道自己错了,非要不承认非要逃避责任,干什么做错了,非要说找理由
    
    
    27 女人是世界上最不值得信任的动物,当着面都讲爱情,一爱完就伸手要钱把男人当NB要这要那,这年头没什么靠得住,再恩爱的夫妻,一个星期不见面,别人的孩子都能生出来,我认识一妞,一年前她还逼我结婚,现在婚也不结了,千方百计要弄我的钱,今天说要开店,明天说要上学,后天又说她妈病了 ,大后天又说自己得绝症了
    
    28 劝男人一句话,记住,嫖妓是最不值得的,
    就拿一般的来说,中等水平的,400,在好点的酒店,也就40分钟,而且现在的小姐都很精,自从走进屋子,就给鸡头报钟,40分钟还要算上她洗澡的时间,想想你的体能,至多弄上30分钟,就要400,这400干什么不行,而且招妓是很损阴德的,反正我的原则是绝对不找小姐。
    
    
    29 去一般酒吧泡去网上泡才是王道,不要去迪厅和顶级夜店泡,1是没有气氛,2是去迪厅的小妞都比较复杂,你不知道什么时候就杀出一堆男伴出来,我有次去北京的滚石,看上一妞,那妞对我也挺好好感,后来来了她的两个男伴,一问一个老爹是卫戍的,一个是城规的,我不是怕事,我不想为下体爽一下而耗费我更多的精力和时间和找更多的麻烦,那种有背景的,能少碰就少碰,靓妞多的是,不必一个棵树上吊死 ,那两个白痴后来还叫我哥,现在还保持联系,这种白痴货我就是利用一下,以后回国好办事,国内当官的小孩儿百分之90都没啥出息,他们要是没了他们老子,屁都不是,动不动就说“叫两卡车兵蛋子过来,铲平全家!”
    
    在网上泡是效率最高最经济的,网上的怨女太多,你只要顺着她们说,2个晚上,你就能搞到手,现在每个行当都有自己的潜规则。当官的想晋升,先给领导送礼;女演员想出镜,先陪导演上床;律师要打赢官司,不用说,第一步就是把法官弄舒服了,经济学讲“天下没有白吃的午餐”,我和她们不想吃午餐,只想吃顿快餐!
    
    她们也就值得吃顿快餐
    
    
    29 女人爱装可怜,我认识一男人,她女友怀的是别人的孩子,平时他挺好的,照顾别人的孩子都无微不至,有时候女人不讲理把她逼急了,他就要打,那女人就装哭,说,打,打我肚子,打我肚子……呜呜呜。那男人真是,还服软了,唉,做男人做到他这份上,真是死了算了
    
    30 女人,嘴上说一套,表面做一套,认识一女,平时眼光高,不甩周围的男人,有个小宠物男友,有个身家百万的50多岁的老头要求和她开房,她毫不含糊的答应了,饭局和他们一起去的,当时一起唱K,看看时间已经过11点了,她还在那儿扯着脖子唱《当爱已成往事》:“往事不要再提,人生已多风雨,纵然记忆抹不去,爱与恨都埋在心里,还在那装纯情,我碰碰她的胳膊,说你不是11点要回去吗,她抬起头,一副“我才想起来”的样子:“哦,我那男朋友说他没事了,晚点回去也没关系。”
    
    她老是说自己9点前必须要回家照顾自己男友,
    
    这种事都能答应,后来还说那50多老头就是自己的真爱,还满脸委屈, 3天就以迅雷不及掩耳盗铃之势把宠物小男友甩了,去寻找50多岁的真爱去了
    
    31 男人智商低被女人玩,女人因为愚蠢而善良,男人因为善良而愚蠢。
    
    男人面对一群女人的时候,不要讨论相貌问题;女人面对一群男人的时候,不要讨论财富问题。 一些自认为成熟的女生萝莉八所的什么都不懂,就一边抽着烟一边吐沫横飞的
    
    女人对男人说“我知道自己其实不漂亮”时,男人绝对不要表示同意;男人对女人说“我其实很失败”时,女人绝对要表示反对。
    
    女人总是平时怕男人色,上床又嫌男人不色;男人总是平时嫌女人骚,上床又怕女人不骚。
    
    男人学英语是为了证明自己很行,女人学英语则证明自己已经不行。
    
    男人有外遇是因为冲动,女人有外遇是因为无聊。
    
    32 失败的男人喜欢和别人比老婆,成功的女人喜欢和别人比老公。
    
    33 女人爱哭,并且百分之80的都是装哭,剩下的百分之二十是自己不想哭,后来迫不得已想起很多其他的事情而哭,感叹自己的命运身材什么的,NB的男人才会被打动
    
    34 女人 没有什么大理想,只满足于小生活,国家的事情?管我屁事,我自己活的滋润有综艺韩剧看有零食吃,怎么都行
    
    你还爱我吗”这句话女人会在第一次和男人接吻、第一次被男人抚摸、第一次和男人上床、男人赚到第一笔钱的时候各问若干次。
    
    35 如果女人变心,坚决甩,你还怕自己绿帽子戴的不够?现在的女人 又要有能赚钱的好老公 又要性生活过的跟埃及艳妇一样 还得有好名声 ,女人的性需要和口袋需要都永不满足
    
    36 女人 爱找借口 ,比如她喜欢一人,就说是缘分,她烦哪个人了,就说缘分尽了没缘分了
    
    37 男人第一次和女人上床很难,以后越来越容易,女人比男人更注重性感受
    
    38 女人 怕寂寞,在她们寂寞的时候,就是她们说没安全感的时候,就是一头猪,她们也会喜欢上。那些喜欢大型犬的女人,都是寂寞的没安全感的,所以,你看到一妞牵个大狗散步跑步,就去泡,百分之90能泡上
    
    姿色一般的女人为自己的身材着急,姿色漂亮的为自己的面容着急
    
    自卑的女人在乎别人对自己的看法,自卑的男人也一样
    
    女人爱说自己的前任男友怎么怎么着了,记住,他们对我们现任的狗屁不是,你们别以为用这种激将法可以让我们怎么怎么样,这恰恰是你们幼稚愚蠢的行为
    
    
    39 女人 天生胆小,说话喜欢拐弯抹角,想干什么就说,别TM老是磨磨唧唧拐弯抹角的,还TM让我猜,猜得不对还生气,老子工作创业就够累了,谁还有闲心给你玩这个
    
    女人自己一般都没注意,老是在意别人看法,比如买衣服就会叫一大堆人和她一起去,其实她自己都没个主意,都不知道自己要买什么,就是活在别人口中的悲哀,如果男人也是这样,就当我没说,我TM特讨厌喜欢逛街的男人
    
    你的那些八卦的事情,你的那些小肚鸡肠的烦恼我没兴趣听
    
    女人都闷骚,自己穿得暴露,自己拼命练习身材和美容,不就是让男人看的吗?还TM遮遮掩掩矢口否认
    
    女人不喜欢的东西也不允许男人喜欢,只有娘娘腔的NB男人才会为女人去疏远朋友戒除爱好当女人的宠物猪,这种男人,别以为女人会喜欢你,女人是拿你当宠物猪养呢,男人会鄙视死你,你TM活着不如死了,我就喜欢喝酒,我就喜欢和朋友在一起,你凭什么不让
    
    你自己心情不好,你就说,泡 你的时候,我会为了和你上床和用我的智慧去猜,之后你就是2手货了,我TM也不想猜了,爱说不说,问你,没什么,我就认为没什么,你也别和我生气,问你不说,你怪谁
    
    40 女人来月经的时候别搭理她们,NB男人才会问,你为什么冲我发脾气,女人都那样,别搭理她们就好
    
    41 女人 利于他们的时候,就说现在要跟着西方走,要性解放,女权主义,女人说的算,不利于他们的时候,就说男人要让着女人,
    
    42 男人读到博士是因为智商低,女人读到博士是因为情商低。找不到男友找不到工作自己长得丑没办法就读博士了
    
    43 女人爱攀比,攀比的对象可以是自己的亲人朋友,通常发泄的对象就是自己的男友老公。女人一定要做最引人注目的那个!!
    
    44 对待女人犯得错误,切记,不要责怪她,要一直说自己的好,。对她是如何如何的好,她生病,你照顾她,她出事,你陪她,你跟人跑了,讹诈你,你还是对她好,
    
    女人都是偏执的动物,你张嘴一骂,举手一打,她逆反心理发作,牙一咬顶着茬儿上,反过来也要找你的不是,一笔笔地清算。最后吵半天,气半天,结果不了了之,你不批评不教训,只说自己的好,她自然就会匍匐脚下,永世不敢再反。先让她犯错,犯了错不打不骂,趁其心虚,一举降服。
    
    45 最后一个,也是最好玩的一个,见女人的时候她们通常会叫上自己的闺蜜,给自己壮胆,她一定会拉个人陪着,这人要么是她的女伴,要么就是她男朋友,女伴好办,找个帮手,跳跳舞唱唱歌,把女伴引开分开就完了;精明点的会叫上自己的男友一起见我,意思是说,本姑娘有男友,想泡我啊,行吗?明显就是挑逗
    
    现在的小姑娘都精通男人的要诀:越是有男朋友越吃香,男人就是有征服欲望,以上别人的老婆为荣,以上自己的老婆为耻;以上别人女友为荣,以赠人绿帽为荣,以自戴绿帽为耻。带了男朋友,现成王八绿帽摆在现场,会极大的激发男人的征服欲望
    
    46 最好说一句,女人,别给男人耍小聪明,别觉得男人都围着你转,还给男人排号,别把男人都当NB,男人比你智商高得多,别搬石头砸自己的脚,一动又说寻找真爱了,符合你利益的时候,什么都是真爱,不符合你利益,一个男人能为你跳楼,你也无动于衷!!
    
    其实这个世界上上,男人比女人纯情的多!!!!!!!!!!!
自:

Wednesday, May 6, 2009

Your opinion matters to us! from Sun multi-language



---------- Forwarded message ----------
From: University_relations@sun.com <sunmail@hermes-mx.sun.com>
Date: Wed, May 6, 2009 at 7:16 AM
Subject: Your opinion matters to us!
To: zzpy20@gmail.com


Your opinion matters to us!                                Tu opinión nos  importa!
A sua opinião é importante para nós!                您的意见对我们至关重要!
Na Vašem názoru nám záleží!                            Ваше мнение очень важно для нас!
___________________________________________________________________________________________________________________________
Sun Microsystems invites you to participate in this brief but important global survey, which should only take 5 minutes to complete. Your responses will provide Sun valuable information about your opinion regarding Sun's technologies and our employment brand.

You may access the survey at  www.sunstudentsurvey.com

Spread the word. Forward this to your friends and colleagues.
If you have any questions or feedback, please send a message to University_Relations@sun.com.
Sun greatly appreciates your time and participation.
__________________________________________________________________________________________________________________________
Sun Microsystems приглашает Вас принять участие в небольшом но важном всемирном опросе. Ваши ответы позаолят Sun получить ценную информацию о вашем мнении в отношении технологий Sun и образе компании Sun как работодателя

Примите участие в опросе  www.sunstudentsurvey.com

Поделитесь информацией. Перешлите это вашим друзьям и коллегам.
Если вы хотите задать вопрос или оставить комментарий, пожлуйста, направляйте ваши сообщения на адрес University_Relations@sun.com.
Sun благодарит Вас за ваше время и участие в опросе
__________________________________________________________________________
Sun Microsystems Vás zve k účasti na tomto stručném, avšak důležitém dotazníku.
Vaše odpovědi nám poskytnou cenné informace ohledně Vašeho názoru na Sun technologie a Sun jako zaměstnavatele.

Přístup k dotazníku je zde www.sunstudentsurvey.com

Rozšiřte po světě. Přepošlete Vašim přátelům a kolegům. Pokud máte jakékoliv dotazy či náměty, prosím zašlete zprávu na University_Relations@sun.com Děkujeme za vyplnění tohoto dotazníku.
__________________________________________________________________________________

Sun公司诚邀您参与一项简短而有意义的全球调查问卷。您对Sun公司技术和雇主形象的建议对我们有很重要的参考价值。

您可以访问网站:www.sunstudentsurvey.com

请帮我们宣传,转发此消息给您的朋友和同事。
如果您有任何问题或反馈,请发邮件到University_Relations@sun.com
Sun公司感谢您的积极参与。
 ___________________________________________________________________________________
Sun Microsystems convida você a participar desta breve porém importante pesquisa mundial. Suas respostas irão fornecer informações valiosas sobre a sua opinião a respeito de nossas tecnologias e a marca de nossa empresa.

PARA ACESSAR A PESQUISA, CLIQUE AQUI: www.sunstudentsurvey.com

Divulgue para todos. Repasse para seus amigos e colegas.
Se você tiver alguma dúvida ou comentário, por favor envie uma mensagem para University_Relations@sun.com.

SUN AGRADECE SUA DISPONIBILIDADE E PARTICIPAÇÃO"
 _________________________________________________________________________________________________________________________
Sun Microsystems te invita a participar de una breve pero muy importante encuesta global. Tus respuestas le proveerán a Sun información muy valiosa que nos ayudará a entender tu opinión sobre nuestras tecnologías y reputación como empleador.

Acceso a la encuesta en: www.sunstudentsurvey.com

Difúndelo en el mundo. Re-envialo a tus colegas y amigos.
Si tienes alguna consulta o comentario, por favor envia un mensaje a University_Relations@sun.com.

Sun aprecia muchísimo tu tiempo y participación.
 ________________________________________________________________________________________________________________________
Sun Microsystems, Inc. respects your desire for privacy. Personal information collected from this form will not be shared with organizations external to Sun without your consent, except to process data on Sun's behalf in connection with this transaction.

Sun, as a global company, may transfer your personal information to countries which may not provide an adequate level of protection. Sun, however, is committed to providing a suitable & consistent level of protection for your personal information regardless of the country in which it resides.

If you agree with the above processing of your personal information, please complete and submit the form.
If you have any questions please refer to the Sun Privacy Policy or contact us at privacy@sun.com


To unsubscribe from this list, please use this link:
http://subscriptions.sun.com/unsubscribe?119324275-1718258344

If you prefer to no longer receive emails from Sun,
please add yourself to Sun's "Do Not Email" list:
http://www.sun.com/cgi-bin/sun/dne/







--
Zhipeng (Alan) Zhang  BCompSc MInfoTech MACS(Prov)

Mobile: +61 (0)430 597 033
Home: +61 (0)7 3102 8368
Email: zzpy20@gmail.com
Web: http://www.zhipeng-zhang.com
Address: 2 Balonne Street, RUNCORN, QLD 4113 Australia

Tuesday, May 5, 2009

对“五四”的一点反思:我们失去了什么

 
 
 
今天是五月四日,是我们的五四青年节。90年前的今天,1919年的5月4日,在北京爆发的中国人民反对帝国主义、封建主义的爱国运动。五四运动的起因是“巴黎和会”上,战胜国中国的山东省的各项权利,却被转让给了日本,而清政府对这个丧权辱国的条约准备接受签字。

于是,北京大学、高等师范学校等十三所学校的三千多名学生,冲破军警的阻挠到天安门前集会演讲,后举行游行示威,提出 “外争主权、内除国贼”、 “取消二十一条”、 “拒绝和约签字”等口号,同时要求惩办亲日派曹汝霖、章宗祥、陆宗舆。

无论从那个方面来说,年轻的中国知识分子为主要力量发起的五四爱国运动对于新中国的建立、对于我们社会主义现代化建设历程,都有着不可磨灭的贡献,都有着不可替代的作用。正因为如此,中央政府确定每年的5月4日为中国青年节。

有没有值得反思的地方呢?

如今,90年过去了,在又一个五四青年节到来的时候,在全国各地隆重举行纪念活动的时候,我们不能不想到这样一个问题:五四运动所倡导的、之后被采纳和实行了的主张,有没有值得我们反思的地方呢?

我想是有的。五四运动时期的新文化运动,在宣传西方先进的科学知识、接受他们的民主思想的同时,更倡导了非常彻底的“反帝反封建”主张。90年过去了,今天的我们回头看,来自于中国以外的“帝国主义”并没有被打倒,世界列强仍然在扮演着世界警察和霸权主义的角色。而我们的老祖宗所流传下来的许许多多的优秀传统文化,却被我们当做所谓的“封建主义”的糟粕,由深恶痛绝而完全抛弃了。最最典型的,当属曾经被我们深揭猛批的“孔孟之道”。

事实证明,《论语》不是糟粕,《孟子》不是荒诞的,《四书五经》都是我们中华民族广博深奥的思想精髓,都是我们不应该抛弃的国学精粹。近年来,对“诸子百家”哲学思想研究的兴起、对先秦文化的推崇、对几千年中国民族优秀传统的发扬,都证明了一个事实:中国的国学,不逊于任何西方理论学说;接受外国的文化,不能以抛弃民族传统为代价;提倡西方的民主思想,不能以牺牲中华民族的传统道德为前提!

中国很多优秀传统文化不能抛弃

中国很多优秀传统文化,比如温良恭俭让、比如忧国忧民,以天下为己任的责任感,好学不倦、通权达变、乐观进取、不畏艰难的品质,都存在于中国的国学、论语、四书五经甚至三字经等等中。

可是,我们反帝反封建文化,学习西方先进的科学和民主思想时,就将我国的传统文化都视作糟粕,全部否定,全盘西化,忘了我们的根本。学到如今,中国现代年轻人了解西方文化发展史的竟然比中国历史还要多,对西方文明如数家珍,中国的悠久历史却一问三不知。

无论中国传统文化也好,还是西方民主思想也好,我们要做到的就是根据自己的现实状况,自己的需求来决定如何吸收两方文化的精华,去其糟粕,为我所用,而不是走了极端,要不只学中国传统文化,要不只接受西方先进的科学和民主思想,这两种做法都是要不得的。正如鲁迅先生曾经说过吸收西方民主思想,可以让我们外既不落后于世界之思潮,内仍不失固有之血脉。

因此,有识之士,不由不大声疾呼,不能丢弃中国的传统文化,是中国人不懂中国文化,不配当中国人,我们不能忘了自己的根本。于是乎,国学,论语又走进了课堂,我们现在重拾国学,证明我们走了弯路、很长的一段弯路、浪费了我们的很多宝贵时间。这个话,要辩证地看。90年的时间,在历史的长河中只是沧海一粟。90年时间,在新中国的诞生和建设史上,却是非常重要的漫长经历。前事不忘后事之师,我们纪念五四运动的最重要目的,是为了更好地发展和建设我们的伟大祖国,是为了少走弯路、重返世界强国的前列。

Friday, May 1, 2009

找很好的屏幕录像软件

 
我曾经使用过超过三四十种的录像软件,曾把华军软件园的所有屏幕录像软件下载试用,所以最有发言权,屏幕录像软件可以分为低中高三档,低档的常见为S-Demo和GGG,S-Demo就是黑客做视频常用的那种,优点是文件小,比较清楚,缺点是只能发布exe格式,很容易被人加木马,而且后期难以编辑.GGG是专门制作gif教程的,缺点是没有进度条,也无法后期编辑.

说说中档,中档有很多,比如Freez Screen Video Capture(http://www.newhua.com/soft/57997.htm)、朗控、wisecam、Quick Screen Recorder等,优点是占用资源低,录像(avi格式)清楚,文件用压缩软件压缩后体积小,缺点是无法后期编辑.推荐使用Freez Screen Video Capture,因为录制的录像流畅度较好

在说说高档屏幕录像软件,我认为我用过的高档的只有bb flashback(http://www.crsky.com/soft/2744.html),非常经典,可以后期编辑,可以转换成swf格式,有进度条,而且非常清楚,占用资源也低,我128MB的内存也可以非常流畅的使用.

最后再来说说名不副实的屏幕录像专家,其实它可以归为中高档,但问题是占用资源太高,比不上中档软件,后期编辑功能也不如bb flashback,属于典型的高不成低不就,可用的人偏偏很多,真是郁闷.

下面说说使用什么录像格式好,格式一般是avi、wmv、swf、exe、rm、flv、asf,其中rm虽然文件小,但无法用压缩软件压缩,而且细节丢失严重,不适合。flv优点是可以放在专门的比如youtube网站上,但也有缺点,缺点是文件大,细节也不好,而且因为同属flash文件,所以文件大一点就占用电脑资源。asf是屏幕录像专家专有格式,不知道是不是有bug,因为我从来就没成功转换过,而且我所遇到的asf文件都没有办法调整进度条。exe文件的缺点是文件过于巨大,而且linux播放有障碍,最要命的是容易被人绑上木马病毒。wmv格式的缺点是视频不清楚。swf格式的优点是清楚,有交互性,缺点是难以压缩文件大一点就严重占用资源,而且很容易被人加上木马,因为swf木马很多年前就有了,另外高分辨率的教程在低分辨率的显示器上根本就无法播放,我曾遇到一个swf教程,结果我把自己电脑的分辨率调了个遍也没有适合他教程的分辨率,而且死卡。最后来说说avi教程,其实avi有很多种编码,我推荐microsoft video 1编码,优点是即使调到70%的品质也非常清楚,几乎和swf一样的质量,这种编码的唯一缺点是最后文件生成比较大,但他的优点就是可以用压缩软件压缩的很小,一般可以压缩至2%左右,也就是说如果一个教程有50MB大小,那么可以压缩至1MB,推荐使用7-zip这种开源压缩软件的7z格式,因为压缩效率决不是winrar可以比的,最后的文件要比winrar压缩的小30-50%。所以一般录像建议使用microsoft video 1编码的avi格式,swf作为辅助。

如果大家做一般性的不必使用后期编辑功能的教程建议使用中档的屏幕录像软件,如果录制需要后期编辑和标注的建议使用bb flashback,因为占用资源比adobe的录像软件占用资源低多了.
用户名任意,注册码2SXSI-D5PH3-F7JW9-61Q7F-849N,软件如要联网验证注册码则必须禁止