select * from ACCOUNT_EXTERNAL_IDS;
Reference :
Git, Gerrit Review and Jenkins or Hudson CI Servers
(gerrit)$ ./review_sites/bin/gerrit.sh stop
(gerrit)$ vi ./review_sites/etc/gerrit.config
[gerrit](gerrit)$ ./review_sites/bin/gerrit.sh start
basePath = git
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = gerrit
[auth]
type = HTTP
[sendemail]
smtpServer = localhost
[container]
user = gerrit
javaHome = /usr/lib/jvm/java-6-openjdk-amd64/jre
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = proxy-http://127.0.0.1:8081/
[cache]
directory = cache
# vi /etc/apache2/sites-enabled/000-default
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
Order deny,allow
Allow from all
AuthType Basic
AuthName "Gerrit Code Review"
Require valid-user
AuthBasicProvider file
AuthUserFile /home/gerrit/review_sites/etc/htpasswd_gerrit
ProxyPass / http://127.0.0.1:8081/
# ProxyPassReverse / http://127.0.0.1:8081/
# /etc/init.d/apache2 restart
import re
pattern = re.compile("^cpu MHz\s*:\s*(?P.+)$", re.M)
for line in open('/proc/cpuinfo'):
match = pattern.search(line)
if match:
return 'Cpu: %.1f GHz' % (float(match.group('cpu_frequency').strip()) / 1000)
cat = lambda file: open(file, 'r').read().strip()
temp = cat('/sys/class/thermal/thermal_zone0/temp')
print '%1.f°C' % (float(temp) / 1000)
# pear channel-discover pear.phpmd.org
# pear channel-discover pear.pdepend.org
# pear install --alldeps phpmd/PHP_PMD
phpmd . html codesize,unusedcode,naming,design --reportfile build/phpmd.html || :
build/checkstyle-*.xml
Reference :
continuous integration - Several checkstyle reports in jenkins - Stack Overflow
/*global $:false, jQuery:false */
# ln -s /usr/bin/nodejs /usr/bin/node
# vi /etc/apt/sources.list
# apt-get updatedeb http://ftp.de.debian.org/debian sid main
# apt-get install nodejs npm
Build step 'Execute shell' marked build as failure
|| :
Dim myNum
myNum = 5
Select Case myNum
Case 2
Response.Write("myNum is Two")
Case 3
Response.Write("myNum is Three")
Case 5
Response.Write("myNum is Five")
Case Else
Response.Write("myNum is " & myNum)
End Select
def Multiply(x, y):"""/* Function: Multiply Multiplies two integers. Parameters: x - The first integer. y - The second integer. Returns: The two integers multiplied together. See Also:*/"""
$ naturaldocs -i me_project -o HTML html -p build
$ vi build/Languages.txt
Alter Language: Python
Block Comment: """/* */"""
$ naturaldocs -i me_project -o HTML html -p build --rebuild
phpunit/phpcpd requires package "channel://components.ez.no/ConsoleTools" (version >= 1.6)
phpunit/FinderFacade requires package "channel://pear.netpirates.net/fDOMDocument" (version >= 1.3.1
)phpunit/FinderFacade requires package "channel://pear.symfony.com/Finder" (version >= 2.1.0, version <= 2.1.99)
# pear config-set auto_discover 1
$ pear channel-discover pear.phpunit.de
$ pear install phpunit/phpcpd
phpunit/phpcpd requires package "channel://components.ez.no/ConsoleTools" (version >= 1.6)
phpunit/FinderFacade requires package "channel://pear.netpirates.net/fDOMDocument" (version >= 1.3.1)
phpunit/FinderFacade requires package "channel://pear.symfony.com/Finder" (version >= 2.1.0, version <= 2.1.99)
$ pear config-set auto_discover 1
$ phpcdp ./project/
[Generic.NTx86]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
[Generic.NTamd64]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
[Generic.NTx86]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
%GenericMTP.DeviceDesc%=MTP, USB\VID_18D1&PID_4E42&MI_00
[Generic.NTamd64]
%GenericMTP.DeviceDesc%=MTP, USB\MS_COMP_MTP
%GenericMTP.DeviceDesc%=MTP, USB\VID_18D1&PID_4E42&MI_00