Eric @ EricBess WebHome

Wins do not arrogant, not to lose hungry, there is shock chest and face, such as mine Pinghu

Chinese (Simplified) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flag
By N2H

Qmail Core System # For FreeBSD

1.DAEMONTOOLS

Install

cd / usr / ports / sysutils / daemontools
make clean & & make config
| | [X] MAN Install Gerrit Pape's manual pages | |
| | [X] SIGQ12 Add svc support for QUIT, USR1, and USR2 signals | |
| | [X] TESTS Run the test suite, fails on NFS-mounted workdir | |
make extract

mkdir / service
chmod 755 / service

echo 'svscan_enable = "YES"'>> / etc / rc.conf
echo 'svscan_servicedir = "/ service"'>> / etc / rc.conf

/ usr / local / etc / rc.d / svscan.sh start

Verify Daemontools Is Runing

sleep 5
ps ax | grep svscan

Add the "clear" service

cd / usr / local
mkdir clear
touch clear / down
cat> clear / run < #! / bin / sh
yes''| head -4000 | tr '\ n'
chmod + x clear / run
chmod aw clear / down
ln-s / usr / local / clear / service / clear

# When you want to clear the service errors, just run this:
svc-o / service / clear

Click to continue reading

June 4th, 2008 Posted by eric | Qmail / Postfix / Exchange | no comments

Internationalization of the Blog-Global Translator (translation plug-in)

If you want to own more internationalized Blog worth a try: Wordpress Global Translator Plugin, a Blog to provide translation of the plug-in functions can be combined with Google, Promt and Altavista Babel Fish translation service provided to your Blog article translation .

In fact, the plug-in features much more than simple translation, also contribute to the SEO search engine optimization, which can generate articles for every article asked, and to include search engine will help increase traffic, in fact, I have to deploy Global Translator a week after the visit to increase international. It also provides other features cache (space) and from the definition adopted by the CSS style of the translation button.

Installation method:

1, download the plug-in, to upload Wordpress plug-in directory, activate the background. Access to options -> Global Translator menu, select the translation service (I am here elections, only Google Translation Services to work properly, but you can also try other), select your Blog language, open the cache option, you can save.

2, in the template (I head.php) insert the following code.

? View Code PHP
 1 
 2 
 3 
 4 
 5 
  <? Php> 
  function_exists ( "gltr_build_flags_bar" ) ) { if (function_exists ( "gltr_build_flags_bar")) ( 
  gltr_build_flags_bar (); 
  ) 
  ?> 

Click to continue reading

May 26th, 2008 Posted by eric | WordPress | no comments

March fireworks under Yangzhou

"Third world is clearly River, the second is a rogue sub-Yangzhou."

Travels

Bridge -> Huaiyang -> Park 000 -> Ho Park -> water bags -> to visit the Grand Canal -> water foreskin -> Lake -> plush -> Zhenjiang vinegar

May 17th, 2008 Posted by eric | Life, unclassified | no comments

Uncle, I would like to Coke!

And all the people, the situation in the earthquake-stricken area every second people are worried, to hear every time someone was rescued when a burst of joy in the hearts and over. Today, however, adhere to under the ruins of a 80-hour scene of the boy was rescued me Bao Xiao, and not only because of a life rescued, but also because .......

'A boy under the rubble adhere to the rescued after 80 hours in a stretcher, the face of the dust of the boys said that the first sentence is: "Uncle, I would like Coke to the ice!" Carried on a stretcher immediately respond to the officers and men of the Fire: " Coke to immediately! " '

Some Internet users did not like the boys, feel that this is outrageous request, the typical ignorant of everything. I do not think so, this statement on behalf of the boys too much: It is possible for Coke's desire to let children have been supporting the idea of life; boys may use the phrase sent a signal to security, I believe that all boys have heard of This is grabbing the hearts of all put down; this statement reflects more on the boy's uncle, the People's Liberation Army and the confidence to rely on. I have to say, "You funny little brother!"

"Immediately to the Coke!" I believe all people are listening to the warmth, some people say that this is the doting, but I love this report. This is a symbol of a symbol of the needs of the people, that is the mission of the army. I have to say "uncle, you too cute!"

I Chen, why is the "Coke?" Before I wanted to, why, "Coke" is the world's number one brand, is an example of this may be corroborated.

May 16th, 2008 Posted by eric | mind the impression | no comments

Acquisition of EDS, value!

$ 13.9 Billion buy EDS, so cheap! EDS What is the product? No! HP-known in China, EDS? Do you know! 13,900,000,000 U.S. dollars worth to you! ?
I said that value, EDS not only because of the balance sheet also includes $ 9.6Billion Equity, $ 8.2Billion Current Assets, as well as more than 200 billion dollars in annual revenues. EDS also because in the IT industry's important position in the past 20 years, the IT industry is the era of innovation and growth, EDS had to admit that in the past 20 years do not have the spirit of innovation, in fact SERVICE high-speed growth in the environment can not be To highlight its importance. That is why for a long period of time IT giant is not optimistic about IT SERVICE, IBM for the establishment of the first ROSS sector SERVICE disdain, Bill.G recently said, "We only platform provider, SERVICE let others do it."
There are a total trade of his life cycle, think about the next few decades, when the industry matured, the industry as a whole has entered a major industry, like home appliances industry, cf. SERVICE then strangled the throat of the industry as a whole, particularly in commercial applications.
Business users will not care what we use servers, storage, software, middleware and database. Users only care about whether or not to support the provision of IT to meet their business development. Think! EDS customers when commercial application, he asked to use the mail server is IBM, SUN, DELL or the PH it? EMC is the storage or use of HP? OS is WINDOWS SERVIER or the HP UNIX? EXCHANGE communications software or Qmail? Management platform is MICROSOFT SMS or HP OPENVIEW, switching equipment is Cisco or Juniper, content platform is sharepoint or HP???? ....... Do you think EDS-a HP company will help it Customers to choose what kind of!
The next few decades in almost all large transnational companies have IT OUTSOURCING. OUTSOURCING as the founder of EDS in this industry have a deep understanding that after 40 years of sharpen the whole process has major industrialized. Do not forget that EDS is the large number of Western governments, armed forces IT prime contractor for most of the industry as a whole global IT giants to provide services for many years, some even for decades. What should be noted EDS has a strong and implementation of global access to a huge contract. EDS was able to see each year to more than Billion $ in mind the big contract and then take a look at some recent results eds it!
BESS yesterday and I said to EDS's major clients, MS snatched SHELL a, $ 1 Billion/5year, MS U.S. will have to lay off! HP and the Singapore government's famous co-operation in Asia, but Singapore recently and my colleagues said they did not expect that EDS won a 1.3 billion Singapore dollars of government contracts.
$ 13.9B buy EDS too cheap. HP good deal.
Hp to buy out IBM

May 14th, 2008 Posted by eric | mind the impression | one comment

wpdb create a data table wp use case

? View Code PHP
 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
  Of 10 
 11 
 12 
 13 
 14 
 15 
 16 
 17 
 18 
 19 
 20 
 21 
 22 
 23 
 24 
 25 
 26 
 27 
 28 
 29 
 30 
 31 
 32 
 33 
 34 
  ; global $ wpdb; 
  donators = $wpdb -> prefix . 'donators' ; //Donators Table Name $ wpdb -> donators = $ wpdb -> prefix. 'donators'; / / Donators Table Name 
  # # # Function: Create Donators Table 
  , 'install' ) ; register_activation_hook (__FILE__, 'install'); 
  function install () ( 
	  ; global $ wpdb; 

	  @ is_file ( ABSPATH . '/wp-admin/upgrade-functions.php' ) ) { if (@ is_file (ABSPATH. '/ wp-admin/upgrade-functions.php')) ( 
		  ABSPATH . '/wp-admin/upgrade-functions.php' ) ; include_once (ABSPATH. '/ wp-admin/upgrade-functions.php'); 
	  ( @ is_file ( ABSPATH . '/wp-admin/includes/upgrade.php' ) ) { ) Elseif (@ is_file (ABSPATH. '/ Wp-admin/includes/upgrade.php')) ( 
		  ABSPATH . '/wp-admin/includes/upgrade.php' ) ; include_once (ABSPATH. '/ wp-admin/includes/upgrade.php'); 
	  { ) Else ( 
		  'We have problem finding your \' / wp - admin / upgrade - functions . php\ ' and \' / wp - admin / includes / upgrade . php\ '' ) ; die ( 'We have problem finding your \' / wp - admin / upgrade - functions. php \ 'and \' / wp - admin / includes / upgrade. php \''); 
	  ) 

	  / / Create Donators Table 
	  "CREATE TABLE $wpdb->donators  (" . $ create_table = "CREATE TABLE $ wpdb-> donators (". 
			  "ID bigint (20) NOT NULL auto_increment,". 
			  "BUYER_EMAIL varchar (100) NOT NULL default'',". 
			  "ITEMNAME varchar (255) NOT NULL default'',". 
			  "ITEMNUMBER varchar (50),". 
			  "URL varchar (255),". 
			  "USER_MEMO varchar (255),". 
			  "PAYMENTDATE varchar (50) NOT NULL default'',". 
			  "TXNID varchar (30) NOT NULL default'',". 
			  "PAYMENT_GROSS varchar (10) NOT NULL default'',". 
			  "PAYMENT_FEE varchar (10) NOT NULL default'',". 
			  "MC_CURRENCY varchar (5) NOT NULL default'',". 
			  "INVOICE varchar (255) NOT NULL default'',". 
			  "PRIMARY KEY (ID));"; 
	  -> donators , $create_table ) ; maybe_create_table ($ wpdb -> donators, $ create_table); 	  

	  , "1.0" ) ; Add_option ( "donators_db_version", "1.0"); 
  ) 

codex.wordpress: Table construction documents
http://codex.wordpress.org.cn/Creating_Tables_with_Plugins

April 29th, 2008 Posted by eric | Wordpress Programming | no comments

« 2 3 4 5 6 7 8 9 10 11 » ... Last » Page 6 of 29 «First ...« 2 3 4 5 6 7 8 9 10 11 »... Last»