The OBD-II fault codes are made of a letter following by four numbers. For example P115C (BMW: Low Air Mass Compared To Model).
The letter can be one of:
| Letter | Description |
|---|---|
B |
Body |
C |
Chassis |
P |
Powertrain |
U |
Network Communication |
The OBD-II fault codes are made of a letter following by four numbers. For example P115C (BMW: Low Air Mass Compared To Model).
The letter can be one of:
| Letter | Description |
|---|---|
B |
Body |
C |
Chassis |
P |
Powertrain |
U |
Network Communication |
Building and publishing a container image for the MediaWiki core project involves several steps. Below is a general guide to help you through the process:
| # distutils has been removed in Python 3.12 | |
| def strtobool (val): | |
| """Convert a string representation of truth to true (1) or false (0). | |
| True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values | |
| are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if | |
| 'val' is anything else. | |
| """ | |
| val = val.lower() |
| 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 |
| /// 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):
| 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) |
| <?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