Repo | Job |
---|---|
mediawiki/skins/TuleapSkin | quibble-composer-mysql-php74 |
mediawiki/skins/Cosmos | quibble-vendor-mysql-php74 |
mediawiki/skins/MinervaNeue | quibble-vendor-mysql-php74 |
mediawiki/skins/BlueSpiceDiscovery | quibble-composer-mysql-php74 |
mediawiki/skins/Refreshed | quibble-vendor-mysql-php74 |
mediawiki/extensions/AbuseFilter | quibble-vendor-mysql-php74-noselenium |
mediawiki/extensions/AdvancedSearch | [quibble-vendor-mysql-php74-noselenium](https://integration.wikim |
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
/// The bash version https://github.com/hashar/alix/blob/123c2f01360f2619ab4abbe49adeb6dd32dbccd8/bin/docker | |
/// Converted using Mistral Small 3 | |
/// Prompt: | |
/// port the following bash script to rust. Give comments explaining the mapping from bash to rust: <paste of above script> | |
/// | |
/// Answer: | |
/// Porting the given Bash script to Rust involves several steps, | |
/// including handling command-line arguments, checking for specific conditions, | |
/// and executing external commands. Below is the Rust equivalent of the provided | |
/// Bash script with comments explaining the mapping from Bash to Rust: |
Given a list of unpinned dependencies:
name=requirements.txt
mwparserfromhell
pyyaml
pywikibot
Resolve the dependencies (ideally in a container with a controlled version of python):
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
RSpec.configure do |conf| | |
conf.module_path = File.join(fixture_path, 'modules') | |
conf.manifest_dir = File.join(fixture_path, 'manifests') | |
conf.hiera_config = File.join(fixture_path, 'hiera.yaml') | |
end | |
# Not sure this works for all types of https://github.com/rodjek/rspec-puppet tests. I think it works with host tests | |
if ENV['PUPPET_DEBUG'] | |
Puppet::Util::Log.level = :debug | |
Puppet::Util::Log.newdestination(:console) |
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 | |
# 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; } | |
} |
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
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: |
NewerOlder