For rubygems/bundler#5317 Based on https://github.com/bundler/bundler/blob/master/ISSUES.md
bundle exec fails to load xmlrpc/client !
$ bundle env
Environment
Bundler 1.13.7
Host *.wmflabs.org | |
IdentityFile ~/.ssh/labs_id_rsa.pub | |
IdentitiesOnly yes | |
User hashar | |
Host *.wmflabs | |
User hashar | |
Host bastion.pmtpa.wmflabs | |
Hostname bastion.wmflabs.org |
hashar@gallium:~$ tail -n15 /srv/ssd/jenkins-slave/workspace/mwext-Wikibase-qunit/LocalSettings.php | |
# End of automatically generated settings. | |
# Add more configuration options below. | |
$wgWikimediaJenkinsCI = true; | |
require_once( '/var/lib/jenkins/tools/extensions-loader.php' ); | |
ini_set( 'display_errors', 1 ); |
<?php | |
# Example for https://gerrit.wikimedia.org/r/#/c/92334/ | |
function blame($a) { | |
throw new Exception(); | |
} | |
try { | |
blame( array('foobar') ); | |
} catch (Exception $e) { |
<?php | |
$wgDebugDumpSql = false; | |
$wgAllowUserCss = true; | |
$wgDebugTimestamps = true; | |
#$wgDebugToolbar = true; # true: no file cache! | |
$wgDevelopmentWarnings = true; | |
$wgEnableJavaScriptTest = true; |
TAP version 13 | |
ok 1 - BatchRowUpdateTest::testWriterBasicFunctionality | |
ok 2 - BatchRowUpdateTest::testReaderBasicIterate | |
ok 3 - BatchRowUpdateTest::testReaderGetPrimaryKey with data set #0 ('Must return single column pk when requested', array(42), array(42, 'dvorak', 'samurai')) | |
ok 4 - BatchRowUpdateTest::testReaderGetPrimaryKey with data set #1 ('Must return multiple column pks when requested', array(42, 'samurai'), array(42, 'dvorak', 'samurai')) | |
ok 5 - BatchRowUpdateTest::testReaderSetFetchColumns with data set #0 ('Must merge primary keys into select conditions', array('foo', 'bar'), array('foo'), array('bar')) | |
ok 6 - BatchRowUpdateTest::testReaderSetFetchColumns with data set #1 ('Must not merge primary keys into the all columns selector', array('*'), array('foo'), array('*')) | |
ok 7 - BatchRowUpdateTest::testReaderSetFetchColumns with data set #2 ('Must not duplicate primary keys into column selector', array('foo', 'bar', 'baz'), array('foo', 'bar'), array('bar', 'baz')) | |
ok 8 - BatchRowUpdateTest::testRe |
import sys | |
import time | |
monkeys = [ | |
u'\U0001F648', | |
u'\U0001F649', | |
u'\U0001F64A', | |
] | |
try: |
#!/usr/bin/env python3 | |
import random | |
import time | |
arm = 'v^<>' | |
eye = '^Oo*' | |
body = '\r%s(%s%s)%s' | |
#!/usr/bin/env python3 | |
import random | |
import time | |
arm = 'v^<>' | |
eye = '^Oo*' | |
body = '\r%s(%s%s)%s' | |
For rubygems/bundler#5317 Based on https://github.com/bundler/bundler/blob/master/ISSUES.md
bundle exec fails to load xmlrpc/client !
$ bundle env
Environment
Bundler 1.13.7
<?php | |
# Acknowledging Stas Malyshev | |
# https://phabricator.wikimedia.org/T156364#2977719 | |
# Given two classes with the same property name but different visibility | |
class WithPublic { | |
public $property; | |
function __construct( $p ) { $this->property = $p; } | |
function getProperty() { print $this->property; } | |
} |