This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import random | |
| import time | |
| arm = 'v^<>' | |
| eye = '^Oo*' | |
| body = '\r%s(%s%s)%s' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import random | |
| import time | |
| arm = 'v^<>' | |
| eye = '^Oo*' | |
| body = '\r%s(%s%s)%s' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import time | |
| monkeys = [ | |
| u'\U0001F648', | |
| u'\U0001F649', | |
| u'\U0001F64A', | |
| ] | |
| try: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $wgDebugDumpSql = false; | |
| $wgAllowUserCss = true; | |
| $wgDebugTimestamps = true; | |
| #$wgDebugToolbar = true; # true: no file cache! | |
| $wgDevelopmentWarnings = true; | |
| $wgEnableJavaScriptTest = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| # Example for https://gerrit.wikimedia.org/r/#/c/92334/ | |
| function blame($a) { | |
| throw new Exception(); | |
| } | |
| try { | |
| blame( array('foobar') ); | |
| } catch (Exception $e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import re | |
| text = """ | |
| - bar | |
| + foo | |
| - Le text est fort | |
| + Le texte est fort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if not args.force: | |
| # Verify whether template is fresh | |
| outdated = os.path.getmtime(filepath) <= os.path.getmtime(zonefilepath) | |
| if not outdated: | |
| continue # skip file generation |