2012/04/14

offical SQL Server sample

offical SQL Server sample
http://msftdbprodsamples.codeplex.com/releases/view/55926


Release Notes

Sample Databases for Microsoft SQL Server 2008R2 (SR1)

This release is dedicated to the sample databases that ship for Microsoft SQL Server 2008R2. See Database Prerequisites for SQL Server 2008R2 for feature configurations required for installing the sample databases. See Installing SQL Server 2008R2 Databases for step by step installation instructions.

The SR1 release contains minor bug fixes to the installer used to create the sample databases. There are no changes to the databases themselves. If you have already successfully installed the AdventureWorks 2008R2 sample databases there is no need to install AdventureWorks 2008R2 SR1. This release has been updated to correctly handle the situation where the default instance is the only instance available.

All of the AdventureWorks sample databases for SQL Server 2008R2 are included in the self extracting zip file. When this zip file is run, all content is unzipped to a temporary directory and an installer application is automatically started. This application copies the database scripts and data files to the directory specified, and optionally installs sample databases. If some databases cannot be installed, a brief explanation is displayed and a link is provided for more information about how to resolve the installation issues.

The analysis services databases must be deployed manually using SQL Server Business Intelligence Development Studio after installation is complete. Please see Installing Analysis Services Database for more details.

The latest installer which is now available has better support for instances with different version of SQL Server, and also includes both the AdventureWorks 2008R2 schemas and data files and the original AdventureWorks schemas and data files which shipped with SQL Server 2005. Installing both AdventureWorks families will ensure that all samples will work correctly and that you'll be able to explore the new features in SQL Server 2008.

Update
Some users have been unable to successfully install the AdventureWorks2008R2 OLTP database using the SR1 installer. We have added a version of the database without FILESTREAM as a single file that you can download and attach. To install this version, go to AdventureWorks2008R2 without filestream.

Please give us your feedback in the samples forum! (Yes, even the complaints. We do try to respond to them.)

2012/04/13

/home/*/public_html

php in /home/*/public_html/

//ubuntu 10.04

sudo a2enmod userdir
sudo /etc/init.d/apache2 restart



cp /etc/apache2/mods-available/userdir.conf /etc/apache2/mods-enabled/
cp /etc/apache2/mods-available/userdir.load /etc/apache2/mods-enabled/



@/home/*/public_html
vi /etc/apache2/mods-available/userdir.conf
<IfModule mod_userdir.c>
        UserDir public_html
        UserDir disabled root
        <Directory /home/*/public_html>
                AllowOverride FileInfo AuthConfig Limit Indexes
                Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
                <Limit GET POST OPTIONS>
                        Order allow,deny
                        Allow from all
                </Limit>
                <LimitExcept GET POST OPTIONS>
                        Order deny,allow
                        Deny from all
                </LimitExcept>
        </Directory>
</IfModule>



sudo vi php5.conf
<IfModule mod_php5.c>
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler application/x-httpd-php-source
    </FilesMatch>
    # To re-enable php in user directories comment the following lines
    # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
    # prevents .htaccess files from disabling it.
#    <IfModule mod_userdir.c>
#        <Directory /home/*/public_html>
#            php_admin_value engine Off
#        </Directory>
#    </IfModule>
</IfModule>

2012/04/12

shutdown.exe

Microsoft Windows XP [版本 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\usr_name>shutdown.exe
使用方式: shutdown.exe [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx]
 [-c "comment"] [-d up:xx:yy]

        沒有引數                顯示這個訊息 (和 -? 相同)
        -i                      顯示 GUI 介面,必須是第一個選項
        -l                      登出 (不能和 -m 選項一起使用)
        -s                      電腦關機
        -r                      關機並重新啟動電腦
        -a                      中止系統關機
        -m \\\\computername     從遠端進行關機/重新啟動/中止
        -t xx                   將關機等候時間設定成 xx 秒
        -c "comment"            關機註解 (最多 127 個字元)
        -f                      強制關閉執行中的應用程式,不顯示警告
        -d [u][p]:xx:yy         關機原因代碼
                                u 是使用者代碼
                                p 是預先計劃的關機代碼
                                xx 是主要原因代碼 (小於 256 的正整數)
                                yy 是次要原因代碼 (小於 65536 的正整數)

2012/04/09

//Program //Career

php
Search results: 1 - 30 of 3685

asp
Search results: 1 - 30 of 6215

asp.net
Search results: 1 - 30 of 5092

javascript
Search results: 1 - 30 of 10098

java
Search results: 1 - 30 of 17423

c#
Search results: 1 - 30 of 8869

.net
Search results: 1 - 30 of 10336

ajax
Search results: 1 - 30 of 5061

perl
Search results: 1 - 30 of 5040

c
Search results: 1 - 30 of 17003

ruby
Search results: 1 - 30 of 1979

python
Search results: 1 - 30 of 3346

delphi
Search results: 1 - 30 of 86

object c
Search results: 1 - 30 of 4067

mysql
Search results: 1 - 30 of 3817

sql
Search results: 1 - 30 of 25921

ms sql
Search results: 1 - 30 of 6215

hadoop
Search results: 1 - 30 of 702

nosql
Search results: 1 - 30 of 571

oca
Search results: 1 - 25 of 25

ocp
Search results: 1 - 30 of 78

mcsa
Search results: 1 - 30 of 253

lpi
Search results: 1 - 17 of 17

lpic
Search results: 1 - 8 of 8

ccna
Search results: 1 - 30 of 1345

ccnp
Search results: 1 - 30 of 1125

linux
Search results: 1 - 30 of 11708

redhat
Search results: 1 - 30 of 822

solaris
Search results: 1 - 30 of 2128

oracle
Search results: 1 - 30 of 18081

sharepoint
Search results: 1 - 30 of 4213

sap
Search results: 1 - 30 of 8316

html5
Search results: 1 - 30 of 1758

Ref>
http://www.dice.com/

TIOBE Programming Community Index

Ref>
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

TIOBE Programming Community Index for April 2012

April Headline: Java and C swap places at the top of the TIOBE index 

 

It took some time but Java's long term downward trend line finally crosses C's stable (almost flat) popularity line. Although it is expected that Java will not decline much further due to the popularity of the Android platform, C is able to remain number one for at least another couple of months. This can be concluded by looking at the extrapolation of moving averages for both languages.
Other interesting moves this month are the entrances of Visual FoxPro (#42), Scala (#45) and Alice (#48) in the top 50. Out are good old programming languages Eiffel, PL/I and Tcl.
The TIOBE Programming Community index is an indicator of the popularity of programming languages. The index is updated once a month. The ratings are based on the number of skilled engineers world-wide, courses and third party vendors. The popular search engines Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are used to calculate the ratings. Observe that the TIOBE index is not about the best programming language or the language in which most lines of code have been written.
The index can be used to check whether your programming skills are still up to date or to make a strategic decision about what programming language should be adopted when starting to build a new software system. The definition of the TIOBE index can be found here.

Position
Apr 2012
Position
Apr 2011
Delta in Position
Programming Language
Ratings
Apr 2012
Delta
Apr 2011
Status
1
2

C
17.555%
+1.39%
  A
2
1

Java
17.026%
-2.02%
  A
3
3

C++
8.896%
-0.33%
  A
4
8

Objective-C
8.236%
+3.85%
  A
5
4

C#
7.348%
+0.16%
  A
6
5

PHP
5.288%
-1.30%
  A
7
7

(Visual) Basic
4.962%
+0.28%
  A
8
6

Python
3.665%
-1.27%
  A
9
10

JavaScript
2.879%
+1.37%
  A
10
9

Perl
2.387%
+0.40%
  A
11
11

Ruby
1.510%
+0.03%
  A
12
24

PL/SQL
1.373%
+0.92%
  A
13
13

Delphi/Object Pascal
1.370%
+0.34%
  A
14
35

Visual Basic .NET
0.978%
+0.64%
  A
15
15

Lisp
0.951%
+0.02%
  A
16
17

Pascal
0.812%
+0.10%
  A
17
16

Ada
0.783%
+0.01%
  A--
18
18

Transact-SQL
0.760%
+0.18%
  A
19
22

Logo
0.652%
+0.12%
  B
20
52

NXT-G
0.578%
+0.35%
  B