Monday, October 18, 2010

Smooth surface reflection effect oval button making techniques


In Photoshop5.5 (or later) to create a new file, 120x80 size of the RGB mode, Contents set to Transparent (clear), layer1 filled white, add a layer to establish 40x40 round, center on the page, fill black



Figure 01

20x40 large rectangle with the selection tool to select half of the left circle, to the left 30 pixels, the same steps to move the right half of the circle to the right 30 pixels, which results in Figure 02



Figure 02

Two semi-circular in filling the gaps in the black, the size of the rectangle is 60x40, that the results shown in Figure 03



Figure 03

Foreground color set to # FF0033, background color is black, from top to bottom length for circular gradient effect, and then select the Select / Load Selection Select the oval, rectangular selection tool of Style now for Normal, 鎸夌潃 Alt key while long with a rectangular selection tool to select round, in the lower part of the majority, then the results shown in Figure 04



Figure 04

Add a layer, to select the part of the filling into the white, remove selected, will be moving down the long white 3 pixels, then use the rectangle select tool to select the white strip to the left, a few of its move to the right pixels, the same steps to indent the right side strip of a few pixels, which results in Figure 05



Figure 05

Select Select / Load Selection, select the white strip, choose Select / Modity / Smooth, dialogue panel, adding a layer of input 2 will be lower omitted (the eye point Layer panel icon), layer in the present work, Fill the selected part of the white, then the transparency of this layer is designed to Opacity: 40%, which results in Figure 06



Figure 06

Button write in the center of the appropriate size of the text, the text has left diagram of three-dimensional concave down, you can enlarge the picture, examine how it is made of, with no deep shadows of the last to complete



Figure 07






相关链接:



Burn pptx to dvd or cd in windows 7 for sharing on



WMV to MOV



Simple Four-strokes, cool music box my office you scouring millions of songs



SARFT issued the first batch of 3G licenses audio-visual



Community 2.0 My Community I call the shots



My Favorite Java And JavaScript



Zhou Kaixuan: No sex woman in Hong Kong



The battle with Ninetowns of Warcraft Account



Not Just Set Arbitrary Flash Player Screensaver



Storage Cartoons - Screen Savers



Recommend Audio Players



MPEG4 to WMV



OPTIONAL U disk watch "shell" scam



Flash To MPEG



BT has been closed, we see what?



Tuesday, October 12, 2010

Comparison of six agent approach


Traditional proxy, transparent proxy, plug-gw, Apache reverse proxy, IP masquerading, port forwarding comparison of six methods

The first part features a variety of proxy and packet rewriting the way the process

Squid proxy and transparent proxy tradition:

In Linux, the most widely used traditional proxy and transparent proxy is Squid. Default Squid configuration into the traditional agency approach. In this way, windows in the browser client to set the proxy server address and port number, the client actually very little work to be done. Only need to specify the proxy server IP address and port number can be, the other left to do all that to the proxy server. In this way a striking feature is the windows client browsing the Web, when entering a URL, DNS is also done by the proxy server. DNS resolution process is based on Linux server set up / etc / host.conf file parsing order of.
General of the order is to first find the / etc / hosts, then looking for DNS database bind. In this case, the interesting example is that if you set up a site for your internal network domain in a server, you first go to access the internal network server. If you set 192.168.11.3 www.yahoo.com then your browser can not access the internet to a yahoo site.
However, if you set the transparent proxy, then the resolution of the DNS and then the order will become windowshosts Linux, DNS database. No longer possible to check the Linux server / etc / hosts file.
Introduction of transparent proxy, see the article meets in another article "How to set the transparent proxy in Linux"

Traditional proxy and transparent proxy package rewriting process: see below

[PC] A [Linux squid server] B
__192.168.11.12_ |_____ 192.168.11.5__ | ___1.2.3.4_________Internet

A machine in the user's browser to set the proxy to 192.168.11.5, port number is 3128, through the B line.
If the access www.linuxforum.net, in fact if you set a proxy if the client browser only and Linux Squid server and the Internet to communicate and never talk on the www.linuxforum.net server, first of all by the squid proxy server
www.linuxforum.net parse (find / etc / host.conf in the resolution order, first / etc / hosts then DNS lookup)
For the IP address 202.106.124.185, the last by the proxy server instead of client IP address of the HTTP access, restore the information back to the squid cache in the first cache, and a copy to the client. Next time if the user or other users to access the same page, you can call from the squid cache to save time.
Transparent proxy process and the traditional agency similar to the difference between
1. DNS resolution process is different, as already mentioned
2. Transparent proxy gateway must be set to squid proxy server IP address, but the traditional agents do not need.
3. Transparent proxy need to set fire chain of input rules, and the rest of squid the same way as traditional agents.

plug-gw:
plug-gw is brought FWTK in general agent. Available to agents such as POP3, HTTP and other application layer services.

[PC] A [Linux POP3] C [Linux plug-gw] B
__192.168.11.12_ |______| 192.168.11.1____192.168.11.5__ | ___1.2.3.4__Internet

If there is a segment within the Linux POP3 server C (192.168.11.1), want external users to receive e-mail can be set in the machine B, the POP3 proxy plug-gw as follows:

Put the following line to / etc / rc.d / rc.local
/ Usr / local / etc / plug-gw-daemon 1.2.3.4:110-name plug-gw-pop3 & file / usr / local / etc / netperm-table has the following line
plug-gw-pop3: port 110 backup bin bin_old conf config crawler.tar.gz crawler_bin.tar.gz data eshow eshow_sitemap.html generate.sh google.html google.html.md5 log maint news: 10 news: 11 news: 12 news: 13 news: 14 news: 15 news: 16 news: 17 news: 18 news: 2 news: 3 news: 4 news: 5 news: 6 news: 7 news: 8 news: 9 outboundLinksMgr.sql seeds sitemap.html svn tasks tmp xml2dict-2008.6-tar.gz xml2dict-read-only-plug-to 192.168.11.1-port 110

The user to set the POP3 server outlook express address of 1.2.3.4. When the received message, the external interface of the B machine, the port 110 in 1.2.3.4 to accept user requests, subsequently plug-gw treatment, in-house segment, from 192.168.11.5 192.168.11.1 110 port on request. To the data collected by the 1.2.3.4 interface, copy to external users.

Apache reverse proxy.
Packet rewriting process and similar plug-gw

Note: The above stated three cases, the request process is in two separate in the middle usually squid proxy server or plug-gw, Apache server, data server, two network cards in the middle of the action to do copies, but the process of the two requests The source address is randomly assigned to high-end addresses are different. In 1024 and 65535. But in general, TCP / IP address assigned most of the random-end 1024 - 5000 allocation. For example: For the plug-gw is:
If an external dial-up user's IP address is 5.6.7.8. If the address and port as follows:
Source address and port number and destination address and port are:
5.6.7.8 1038 1.2.3.4 110
Request to be plug-gw rewritten as:
192.168.11.5 1045 192.168.11.1 110

Reply by 192.168.11.1 data is copied to the external customers.

But not all cases, the address of the source are randomly assigned to high-end 1024 - 5000. IP masquerading is the exception:

IP masquerading:

[PC] A [Linux MASQ server] B
__192.168.11.12_ |_____ 192.168.11.5__ | ___1.2.3.4_________Internet

Shown above, PC A through B camouflage Internet. To access www.linuxforum.net, when the package is disguised rewrite process is as follows:

Source address / port number and destination address / port number:
192.168.11.12 1047 202.106.124.185 80
Disguised the source after the address and port number and destination address / port number:
1.2.3.4 62334 202.106.124.185 80

Anti-back package for the
202.106.124.185 80 - 1.2.3.4 62334
Longer be re-written to PC A as:
202.106.124.185 80 - 192.168.11.12 1047

In general, IP source address is usually disguised> 60000, and in the 61000 - 64999 between.
The firewall maintains an IP masquerading comparison table. With the command / sbin / ipchains-M-L-n can be seen as:
[Root @ proxy etc] # / sbin / ipchains-M-L-n
IP masquerading entries
prot expire source destination ports
UDP 02:18.86 192.168.11.12 205.188.179.41 1215 (62615) -> 4000
TCP 17:03.20 192.168.11.12 205.188.248.57 1049 (62584) -> 80

Column from the ports you can control the source address of the match twice.

Port forwarding (port forwarding):
See the article meets in another article, "Using port forwarding to internal network to provide network services of external"

The second part of the way the various agents and the advantages and disadvantages of the application

The role of the various proxy methods:
1. IP masquerading, Squid proxy and transparent proxy for the traditional make no real IP address of LAN users to access Internet.
2. Apache reverse proxy, plug-gw general proxy, port forwarding for external users to access the LAN without real IP address of the server.

Advantages and disadvantages of various proxy methods:
1. Squid has the advantage of client requirements Henshao, as long as Liantong squid server. But the need for each machine are set to the proxy server IP address and port number
2. Squid transparent proxy does not need the advantages of each client are set proxy address and port and simplify client configuration. But the need for each client's default gateway are set to squid proxy server, and require the client to do DNS resolution
3. IP masquerading may be suitable for most application-layer services, unlike the squid only supports http and ftp. But customers also need to set the default gateway address of the firewall. And do not like squid with cache functionality
4. Plug-gw proxy the servers can be as HTTP, POP3, etc.. But the Apache reverse proxy can only reverse proxy http requests
5. Port forwarding for most services. Nothing to do with the specific application. And fast implementation in the kernel IP layer, application layer without requiring special services running. But may need to recompile the kernel.





Recommended links:



TS to MPG



Second-hand computers Xi'an China Merchants Plaza, more than 60 illegal businesses operating wit



Games Simulation Guide



About Distributed IDS



fastest Convert mov to iphone 3g/3gs



Guide LAUNCHERS And Task Managers



Auto auto parts order will be the first commercial capital of China held in SHIYAN



ICP license issue processing



MKV to FLV



Of "active Growth" Landing



Report Timers And Time Synch



"Rise" Magician / Swordsman Bred Guide



The right to use DAO or ADO to access Access 2000



Photoshop Production - wire and spark



How to motivate staff teams



RMVB to MP4



Monday, October 11, 2010

HR HR in the eyes of men and women


Today's society, businesses focus on human resource management is becoming more, HR has been promoted to corporate strategic partners, the industry's height. With the development of this industry, people have seen more and more women work in HR.

Speaking of sex, the industry appears to prefer women in HR, while the reality is that many foreign companies only use women as HR director, state-owned enterprises were mostly only use men to do the job. So, women compared with men, whether there is any kind of advantage? Most foreign companies choose to consider why women do HR, contrary state-owned enterprises?

To this end, we interviewed the HR director of the corporate sector, foreign CEOs and senior consultant with HR management of their personal experience, from the male point of view, frank about his views.

Male HR director: Sex is not a problem

Lenovo Group, the Department of Enterprise IT Management HR director of homogeneous

HR industry tend to do the job of women, in fact, most companies as well. Lenovo, the proportion of men and women to do HR work is 4 or 3 锔?锔?6 7 men more than girls. The four senior HR managers are all women, including Qiao Jian, general manager of the Human Resources Department.

Personally, I think, as long as have the corresponding ability, characteristics, whether women or men, are the same, not too many differences. For example, with sense of responsibility, dedication, diligence, compliance with corporate requirements, etc., which is soft things, hard things, including the ability to work, mainly by the accumulation of acquired and training. These should all be gender neutral.

As the company's needs, I think looking from another in the two departments. The original network operator in the server management to do HR, I was the boss is a man, do something more vigorous and resolute. The boss is a woman now, relatively speaking, strong toughness, rigid enough. She does not directly tell you what the problem is likely to be tactful, consider some of the things in more detail, let you more easily convinced.

Lenovo actually a feature of all young people, including my boss, same age, had worked together. Not much difference in ability, we usually emphasize communication, no guidance and imperative forms of management, more is authorized to form, the proposed form and the form of discussion and staff communication. I approached the female boss and male bosses, many of them do practice, differences are not significant, female supervisors and male supervisors more similar. Because the association is rather special, emphasizing business-oriented and goal-oriented, and not the person.

Three elements of a management association, as a cadre with a team is the first, not going it alone, but stressed to lead a team, individual performance is not necessarily good is a good leader. With a team is the most important, a lot of ways, such as how to stimulate the enthusiasm of employees, how to keep them sustained combat, how to unite the ranks, we pull together. I think that women are the same as men, there is not much difference. Differences between women and men just for their own characteristics, the work is different. Such as administration, finance more suitable for women, may be it will promote women to engage in this work. But this is not absolute.

Men and women is a little different, to a certain age women with families, children, their work will change the attitude, not their own efforts have not led to more women being promoted to high position. She will work in the family and find a balance between both. Evaluation of the community also tend to men, that they can create more value, should do more than women.

Male veterans: that is the advantage of women in decision

Foreign-funded enterprises in Shanghai boss Zhang Zhonghua

Why should only use a woman to do HR, the first women from the work of the characteristics and advantages of talking about.

Personnel work, in particular the basic personnel is quite complicated: the input employee information, compensation and benefit calculations, payment of provident fund, etc., which require great patience and careful, as compared with men, women also possess this characteristics and willingness to engage in this work. Of course, this is not enough to become a good HR, also need to have enough speech capacity, infectious, coordination and listening ability.

From the gender perspective of women, her delicate nature, caring nature, strong communication skills, make her listen to the voices of staff time, seem more approachable, easy to narrow the distance with staff, relief work there contradiction. Resulting in staff because of busy work, when tired of the mentality, to motivate them; or poor communication between upper and lower case, well done the middle of the bridge, the staff and expect to collect up to reflect the higher level. Women's sensitive to the timely and accurate information on the lower right to capture and transfer, the company strategy and tactics can be timely adjusted.

At present foreign, women's share of HR Manager is relatively high, the promotion mechanism which also has some relationship. In general, foreign companies and personnel Commissioner / Assistant relatively high proportion of women, most of the female HR Manger is up for promotion from the post. For the company, she already had enough expertise to handle the corresponding transaction, the company operates more understanding. Compared with men, their career stability of the stronger, it is important for the company.

Female HR Manger help the boss has its advantages. Employers often take vigorous and resolute manner, he launched a policy, more often tough. At this time, women prominent advantage of the Huairou. Good communication and coordination of their policies more conducive to the implementation, such as a lubricant, reducing friction and the employment relationship, so the New Deal on businesses and individuals not to cause great losses.

In large enterprises, evenly divided between men and women in the HR-end. Either as male or female, in the professional development process, the height of what can be achieved, depending on the height of his professional personality, from this level, the gender factor is not the most important measure of the.

Consultant: This great strategic planning and corporate relations

Watson Wyatt, general manager of Beijing-way up

Only use a business man or a woman as a human resources director with a variety of factors, in addition to the characteristics and gender characteristics of the work caused by differences, stage of development with the enterprise, its life cycle, the composition of the management team, corporate culture, have a great relationship.

Usually if the business is in creating period, development period, it needs more human resources managers need to have forward-looking and innovative. When companies are in a period of stability and maturity, managers pay more attention to internal management and communication. The women's nature so that people recognized that they could play better at this stage the role of human resource managers. We say "Human resources management is a strategic partner", we should see different companies at different times require different people. In the more mature businesses, often say "women are more suitable for human resources" can be established , but in the expansion of or just starting out in business is different, and even some companies did not HR Director this position, this function concurrently by the CEOs.

As we all know, HR director of foreign companies only use women to play more, especially in some large multinational corporations. This is because the headquarters of foreign companies Yue Fei factory sound human resources management system, they can get a full set of human resource systems to China, but is required implementation capacity and ability to convey a stronger person to these things better, finer, more human and more suitable for China's national conditions, access to higher employee satisfaction.

I personally do not think that is the success of a company's executives, whether male or female, need to balance work and family relations. The difference is, women on the family may pay more, at this point, professional women less than men choice. In fact, this is also the business of human resources should be a problem: how to create a flexible work environment to help their female employees do a good job balancing work and family relations, as far as possible to give them more time to take care of the family. This is a lot to the company's value orientation, the key is an emphasis on employee satisfaction is not whether the expectations of the staff of the corporate identity.

Objectively speaking, the capacity of the community for women still exist some prejudice, so women Benshen to work harder, they often pay more than men hard, before it and the men in the same position, and therefore the more cherish Gongzuojikuai These are very respectable people. HR do a female worker, or a successful career woman, I think, in addition to playing their own in affinity, communication skills, meticulous care for our staff's advantage in terms, but also Xuehui or higher from a strategic point of view the point of view look at the problem. Particularly in growth in some periods of the companies, play a supplementary company CEOs, to achieve corporate objectives of the role, becoming a strategic business partner, Zhe Yang cause increase even more.

In addition, both male and female, between work and home must maintain a balance. A successful HR manager, in addition to the use of human resources tools very skillful, the staff itself is an example, your behavior, attitudes, values will affect everyone. In this and values, the female HR should also note that the life and work is not a contradiction, which will be able to find a balance.






相关链接:



The face of OOXML, how can we do?



VOB To MPG



Essays on CMMI [1]



Printing Machinery "pioneers", "English Education" story



Jinan Stone 400 points for the hot phone PROMOTIONS



ASF Converter



Comparison of CMM And CMMI



Juric: Human Resource Practitioners In China Lags Behind India



Specialist Font Tools



VOB to Zune



mrpii and Enterprise management



Compare 0



The first Part of the Win32 debugging API



"NBA 2K10" My player - do not modify the top center of the achievements are not DELEGATED



Review FTP Servers



How do we Advertise for white-collar?