Paste Active Pastes
  • P7781 clean.sh
    #!/usr/bin/env bash
    # remove builds older than 60 days for 25 largest build directories
    while read dir; do
    sudo find ${dir} -maxdepth 1 -type d -regex '.*/[1-9][0-9]+' -mtime +60 -exec rm -r "{}" \;
    ...
    • Nov 8 2018, 10:52 PM
    • 16 Lines
  • TypeError from line 144 of /srv/mediawiki/w/extensions/CentralAuth/includes/CentralAuthUser.php: Argument 1 passed to CentralAuthUser::getMasterInstance() must be an instance of User, null given, called in /srv/mediawiki/w/extensions/Flow/includes/TalkpageManager.php on line 254
    • Nov 8 2018, 7:21 PM
    • 1 Line
  • <section id="cxTargetSection34" data-mw-cx-source="undefined">
    <p id="mwkw">
    <span data-segmentid="221" class="cx-segment">In the United Kingdom, he has been appointed a (KBE) in 2012.
    <span
    ...
    • Nov 8 2018, 11:17 AM
    • 16 Lines
    • HTML
  • PHP Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    PHP Warning: XMLReader::next(): </mediawiki> in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    ...
    • Nov 7 2018, 11:06 PM
    • 10 Lines
  • {'train//query/dismax/constant_score/labels.en.near_match:0': 0.8396603457898502,
    'train//query/dismax/constant_score/labels.en.near_match_folded:0': 0.16766052124049471,
    'train//query/dismax/constant_score/labels.en.prefix:0': 0.7602684936668805,
    'train//query/dismax/constant_score/labels_all.near_match_folded:0': -0.8356064191936947,
    'train//query/query_weight:0': 0.4421499716413143,
    ...
    • Nov 7 2018, 10:51 PM
    • 11 Lines
  • [thcipriani@deployment-deploy01 mediawiki-staging (master % u=)]$ printf '%s\n%s\n' "$(cat ~/omg)" 'it works again' | scap say -n --color --eyes ಠಠ
    --------------------
    / \
    | ___ __ __ ____ |
    | / _ \| \/ |/ ___||
    ...
    • Nov 7 2018, 6:06 PM
    • 24 Lines
  • alex@alex-laptop:~/.config/hexchat/logs$ grep shinken-wm freenode/#wikimedia-releng.log | grep SSH | grep Nov
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    ...
    • Nov 7 2018, 4:56 PM
    • 38 Lines
  • <?php
    // Get commits between 27cb4c5 and master HEAD includes the Hash
    shell_exec('git checkout master');
    `git log 27cb4c5..master --merges --oneline --pretty=format:"%h" --output commits.text`;
    $commits = explode("\n", file_get_contents('commits.text'));
    ...
    • Nov 7 2018, 2:21 AM
    • 35 Lines
    • PHP
  • atjwiki MediaWiki:Common.js
    azbwiki MediaWiki:Common.js
    azbwiki MediaWiki:Gadget-UserMessages.js
    bawiki MediaWiki:Common.js/documentation tab.js
    bhwiki MediaWiki:Common.js
    ...
    • Nov 6 2018, 7:38 PM
    • 72 Lines
  • Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Traceback (most recent call last):
    File "/srv/home/bmansurov/venv/3/lib/python3.5/site-packages/traitlets/traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
    KeyError: 'allow_remote_access'
    ...
    • Nov 6 2018, 6:22 PM
    • 44 Lines
  • Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) -allowed_hosts=127.0.0.1,172.16.1.180
    Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) +allowed_hosts=208.80.153.74,2620:0:860:3:208:80:153:74,208.80.155.119,2620:0:861:4:208:80:155:119,208.80.154.84,2620:0:861:3:208:80:154:84,208.80.154.82,2620:0:861:3:208:80:154:82,208.80.153.52,2620:0:860:2:208:80:153:52
    • Nov 6 2018, 4:55 PM
    • 2 Lines
  • Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Number of certificates per status: Counter({'INITIAL': 2})
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / rsa-2048
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / ec-prime256v1
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Starting main loop...
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Handling new certificate event for pinkunicorn / rsa-2048
    ...
    • Nov 6 2018, 4:52 PM
    • 51 Lines
  • From 38817a01681aa1cb1fb7954097ece057afee936a Mon Sep 17 00:00:00 2001
    From: Michael Holloway <mholloway@wikimedia.org>
    Date: Mon, 5 Nov 2018 14:19:01 -0600
    Subject: [PATCH 1/1] hacky api rsp caching code
    ...
    • Nov 5 2018, 8:24 PM
    • 88 Lines
  • import re
    from scapy.all import *
    data = 'poolcounter.dump'
    ...
    • Nov 5 2018, 4:05 PM
    • 48 Lines
    • Python
  • FROM debian:stretch
    # Used to me jessie, change to stretch
    MAINTAINER Andrew Otto <otto@wikimedia.org>
    ...
    • Nov 4 2018, 2:53 PM
    • 67 Lines
  • {
    "_readme": [
    "This file locks the dependencies of your project to a known state",
    "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    "This file is @generated automatically"
    ...
    • Nov 4 2018, 2:47 PM
    • 1,804 Lines
  • DESKTOP-Q1AOJV7:mobileapps mholloway$ autocannon -c4 localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    Running 10s test @ http://localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    4 connections
    Stat 2.5% 50% 97.5% 99% Avg Stdev Max
    ...
    • Nov 2 2018, 5:15 PM
    • 47 Lines
  • DESKTOP-Q1AOJV7:mobileapps mholloway$ autocannon -c4 localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    Running 10s test @ http://localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    4 connections
    Stat 2.5% 50% 97.5% 99% Avg Stdev Max
    ...
    • Nov 2 2018, 5:07 PM
    • 45 Lines
  • // Jeśli gadżet jest włączony, poczekaj, aż się załaduje
    mw.loader.using( 'user.options' )
    .then( function () {
    if ( mw.user.options.get( 'gadget-foo' ) ) {
    return mw.loader.using( 'ext.gadget.foo' );
    ...
    • Nov 2 2018, 11:10 AM
    • 13 Lines
  • # To display the perf.data header info, please use --header/--header-only options.
    #
    #
    # Total Lost Samples: 0
    #
    ...
    • Nov 1 2018, 9:40 PM
    • 181 Lines
  • Powers of 2 2^ Representative Article Actual Parsoid HTML string length Time for parse x1000 (ms) Notes
    8192 13 Miranda, Carabobo 7748 1462.692078 Approximate min Parsoid HTML length of a real-life article
    16384 14 Chile women's national under-19 basketball team 16190 2797.286044
    32768 15 Wickware, Wisconsin 32555 5080.242866
    65536 16 Taylor, Wisconsin 66776 8895.106361
    ...
    • Nov 1 2018, 7:20 PM
    • 11 Lines
  • wmf1256:mobileapps mholloway$ node benchmark.js Miranda,_Carabobo.html 1
    Benchmarking HTMLParser for Miranda,_Carabobo.html (length: 7748 chars) x 1
    ---------------------------------------------------------------------------
    Total: 34.929727 ms
    ...
    • Nov 1 2018, 7:05 PM
    • 59 Lines
  • $ curl -v https://wm-bot.wmflabs.org/browser/index.php
    * Trying 208.80.155.156...
    * TCP_NODELAY set
    * Connected to wm-bot.wmflabs.org (208.80.155.156) port 443 (#0)
    * ALPN, offering h2
    ...
    • Nov 1 2018, 4:41 PM
    • 46 Lines
    • Plain Text
  • select
    event.action,
    event.feature,
    count(*)
    from event.visualeditorfeatureuse
    ...
    • Nov 1 2018, 2:34 PM
    • 87 Lines
  • wmf1256:mobileapps mholloway$ node benchmark.js Miranda,_Carabobo.html 1000
    Benchmarking HTMLParser for Miranda,_Carabobo.html (length: 7748 chars) x 1000
    ------------------------------------------------------------------------------
    Total: 1462.692078 ms
    ...
    • Nov 1 2018, 12:55 AM
    • 59 Lines
  • 'use strict';
    const b = require('b');
    const fs = require('fs');
    const path = require('path');
    ...
    • Nov 1 2018, 12:52 AM
    • 15 Lines
  • post https://phabricator.wikimedia.org/api/maniphest.search
    request:
    {"queryKey": "GTbIUdDaMLqV", "limit": 1 }
    ...
    • Oct 31 2018, 5:41 PM
    • 18 Lines
    • Remarkup
  • Oct 31 15:49:33 certcentral1001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral1001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral1001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: SIGHUP received
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:04 PM
    • 150 Lines
  • Oct 31 15:49:33 certcentral2001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral2001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral2001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: SIGHUP received
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:02 PM
    • 22 Lines
  • root@pc1004[parsercache]> SELECT DATE_FORMAT(exptime, '%Y-%m-%d') as day, count(*) as num FROM pc000 GROUP BY day;
    +------------+-------+
    | day | num |
    +------------+-------+
    | 2018-10-31 | 22053 |
    ...
    • Oct 31 2018, 11:21 AM
    • 151 Lines
  • diff --git a/.gitignore b/.gitignore
    index 1eaeddc..0a3d719 100644
    --- a/.gitignore
    +++ b/.gitignore
    @@ -52,23 +52,13 @@ nutcracker
    ...
    • Oct 31 2018, 7:35 AM
    • 5,848 Lines
    • Diff
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Oct 30 2018, 5:56 PM
    • 29 Lines
    • Python
  • krenair@shinken-02:~/shinken-01-home$ cat groupProjectInstancesByHypervisor.py
    import collections
    import yaml
    from keystoneclient.session import Session as KeystoneSession
    ...
    • Oct 30 2018, 4:08 PM
    • 117 Lines
  • addshore@deployment-deploy01:~$ mwscript eval.php --wiki wikidatawiki
    > $a = \Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getSettings()->getSetting( 'localClientDatabases' );
    > var_dump($a)
    ...
    • Oct 30 2018, 2:33 PM
    • 69 Lines
  • yarn@hadoop-coordinator-2:~$ klist -e -k -t /etc/hadoop/conf/yarn.keytab
    Keytab name: FILE:/etc/hadoop/conf/yarn.keytab
    KVNO Timestamp Principal
    ---- ------------------- ------------------------------------------------------
    1 10/30/2018 12:01:31 yarn/hadoop-coordinator-2.analytics.eqiad.wmflabs@ANALYTICS.EQIAD.WMFLABS (aes256-cts-hmac-sha1-96)
    ...
    • Oct 30 2018, 1:45 PM
    • 216 Lines
  • Generated dockerfile for docker-registry.discovery.wmnet/releng/operations-puppet:0.4.0
    FROM docker-registry.discovery.wmnet/releng/ci-stretch:0.1.1
    ...
    • Oct 30 2018, 10:24 AM
    • 49 Lines
  • 01:37:27 AM DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util
    01:37:29 AM sda 5.50 0.00 69.00 12.55 0.00 0.00 0.00 0.00
    01:37:29 AM sdb 5.50 0.00 69.00 12.55 0.00 0.00 0.00 0.00
    01:37:29 AM md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    01:37:29 AM md0 4.50 0.00 68.00 15.11 0.00 0.00 0.00 0.00
    ...
    • Oct 30 2018, 10:10 AM
    • 55 Lines
  • Oct 29 15:01:45 shinken-02 ircecho[609]: watch_.proc_fun(revent) # user processings
    Oct 29 15:01:45 shinken-02 ircecho[609]: File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 937, in __call__
    Oct 29 15:01:45 shinken-02 ircecho[609]: return _ProcessEvent.__call__(self, event)
    Oct 29 15:01:45 shinken-02 ircecho[609]: File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 662, in __call__
    Oct 29 15:01:45 shinken-02 ircecho[609]: return meth(event)
    ...
    • Oct 29 2018, 7:37 PM
    • 10 Lines
  • [thcipriani@deploy1001 wdqs (master % u=)]$ python
    Python 2.7.13 (default, Sep 26 2018, 18:42:22)
    [GCC 6.3.0 20170516] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import os
    ...
    • Oct 29 2018, 5:33 PM
    • 12 Lines
  • Looks like comp suggest is having some sort of json encoding problem? Perhaps php is structuring something in an unexpected way. These are not limited to a particular language, i see them for ja.wikipedia.org and de.wikipedia.org. These aren't all directly reproducable though, i tried pulling the url's from logstash and running them and they go through fine. Some sort of intermittent error.
    https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.10.29/mediawiki/?id=AWbAn3P0Of1_EDXpLeqj
    ```
    Search backend error during comp_suggest search for '削除された 悪ふざけ' after 3: parsing_exception: Unknown key
    ...
    • Oct 29 2018, 4:43 PM
    • 10 Lines
  • @@ -37527,6 +37527,64 @@ Array
    [wiktionary] => 1
    )
    + [wmgWikibaseClientRepositories] => Array
    ...
    • Oct 29 2018, 1:31 PM
    • 65 Lines
  • { "global": {
    "proxy.node.hostname_FQ": "localhost.localdomain",
    "proxy.node.hostname": "localhost",
    "proxy.node.restarts.manager.start_time": "1540383235",
    "proxy.node.restarts.proxy.start_time": "1540383236",
    ...
    • Oct 29 2018, 9:11 AM
    • 606 Lines
  • 09:03:48 Failure processing (u'/srv/mediawiki/php-1.33.0-wmf.1/cache/l10n', u'l10n_cache-ti.cdb', True)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 502, in update_l10n_cdb_wrapper
    return update_l10n_cdb(*args)
    File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
    ...
    • Oct 29 2018, 9:09 AM
    • 31 Lines
  • P7727 dumpvars
    Case 1: just dump $_POST
    ```
    <?php
    var_dump($_POST);
    ```
    ...
    • Oct 29 2018, 8:20 AM
    • 25 Lines
  • window.addEventListener("keydown", function(event) {
    if (event.preventDefaulted) {
    return; // Do nothing if event already handled
    }
    ...
    • Oct 28 2018, 1:19 AM
    • 70 Lines
    • Javascript
  • P7725 T208123
    zoran@zoran-notebook:~$ curl https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Operation_Lavender_2017.svg/2048px-Operation_Lavender_2017.svg.png
    <!DOCTYPE html>
    <html lang=en>
    <meta charset=utf-8>
    <title>Wikimedia Error</title>
    ...
    • Oct 27 2018, 8:38 PM
    • 35 Lines
    • HTML
  • Received: from mx-out01.wmflabs.org (mx-out01.wmflabs.org. [185.15.56.18])
    by mx.google.com with ESMTPS id g8-v6si1521716qte.104.2018.10.26.13.18.05
    for <krenair@gmail.com>
    (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
    Fri, 26 Oct 2018 13:18:05 -0700 (PDT)
    ...
    • Oct 26 2018, 8:20 PM
    • 11 Lines
  • [thcipriani@deployment-deploy01 ~]$ sudo -u nagios sudo -l
    Matching Defaults entries for nagios on deployment-deploy01:
    env_reset, env_keep+=HOME, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
    User nagios may run the following commands on deployment-deploy01:
    ...
    • Oct 26 2018, 6:41 PM
    • 11 Lines
  • AND (
    NOT EXISTS(
    SELECT
    1
    FROM commonswiki_p.page
    ...
    • Oct 26 2018, 6:36 PM
    • 9 Lines
    • SQL
    • Oct 26 2018, 11:29 AM
    • 1 Line
  • P7718 signed
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    [[https://ko.wikipedia.org/wiki/특수:기록?type=&user=&page=사용자%3A기록보호자&wpdate=0000-00-00&tagfilter=|Proof of account ownership]]: `13:42, 17 November 2013 User account 기록보호자 (talk | contribs | block) was created by -revi (talk | contribs | block) (특수 사용자 권한의 사용자명 사칭 방지)`, phab account @revi is linked to SUL -revi.
    ...
    • Oct 26 2018, 8:16 AM
    • 22 Lines
    • Plain Text
  • 96997284 4 -rw-r--r-- 1 51048 51048 78 Dec 9 2016 ./csbot/.bigbrotherrc
    131204494 4 -rw-rw-r-- 1 51083 51083 11 Mar 13 2017 ./ukbot/.bigbrotherrc
    84936596 4 -rw-r--r-- 1 51109 51109 469 Mar 4 2017 ./cluebot/.bigbrotherrc
    131794196 4 -rwxr-xr-x 1 51161 51161 158 Jun 30 2017 ./usrd-tools/.bigbrotherrc
    266345250 4 -rw-r--r-- 1 51222 51222 12 Mar 10 2015 ./render/tools-git/.bigbrotherrc
    ...
    • Oct 25 2018, 1:32 PM
    • 27 Lines
  • <!DOCTYPE html>
    <html lang='en' ><body><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><!DOCTYPE HTML>
    <html><head>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    ...
    • Oct 24 2018, 6:06 AM
    • 85 Lines
    • HTML
  • root@sid:~# traffic_server -C verify_config
    Traffic Server 8.0.0 Oct 17 2018 18:40:51 localhost
    traffic_server: using root directory '/usr'
    NOTE: VERIFY
    ...
    • Oct 23 2018, 3:06 PM
    • 13 Lines
  • # TESTING DIFFERENT /wiki proxying strategies
    # Alias /wiki /var/www/w/index.php + set handler
    mod_proxy_fcgi.c(387): [client ::1:39516] AH01062: sending env var 'SCRIPT_FILENAME' value 'proxy:fcgi://127.0.0.1:9000/var/www/w/index.php/Main_Page'
    mod_proxy_fcgi.c(387): [client ::1:39516] AH01062: sending env var 'QUERY_STRING' value ''
    ...
    • Oct 23 2018, 1:14 PM
    • 25 Lines
  • >>> c = CertCentral()
    SIGHUP received
    Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    Creating initial self-signed certificate for pinkunicorn / ec-prime256v1
    Creating initial self-signed certificate for pinkunicorn / rsa-2048
    ...
    • Oct 23 2018, 9:46 AM
    • 54 Lines
    • Python
  • P7709 git wtf
    alex@alex-laptop:~/Development/Wikimedia/Operations-Puppet (production)$ git review -d 368248
    Downloading refs/changes/48/368248/6 from gerrit
    Switched to branch "review/fomafix/sr"
    alex@alex-laptop:~/Development/Wikimedia/Operations-Puppet (review/fomafix/sr)$ git log -n 1
    commit 7808c416e6cc4686a5b0f7f2a1c79329d1103ccf (HEAD -> review/fomafix/sr)
    ...
    • Oct 22 2018, 6:04 PM
    • 39 Lines
  • root@deployment-logstash2:~# sudo -u elasticsearch -s
    bash: /root/.bashrc: Permission denied
    elasticsearch@deployment-logstash2:~$ cd /usr/share/elasticsearch
    elasticsearch@deployment-logstash2:/usr/share/elasticsearch$
    elasticsearch@deployment-logstash2:/usr/share/elasticsearch$ export ES_HOME=/usr/share/elasticsearch
    ...
    • Oct 22 2018, 5:24 PM
    • 11 Lines
  • +------+-------------+---------------------+--------+------------------------+-------------+---------+-----------------------------------------------+--------+-------------------------------------------------+
    | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
    +------+-------------+---------------------+--------+------------------------+-------------+---------+-----------------------------------------------+--------+-------------------------------------------------+
    | 1 | SIMPLE | page | range | PRIMARY | PRIMARY | 4 | NULL | 23412 | Using where; Using temporary; Using filesort |
    | 1 | SIMPLE | revision | range | rev_page_id | rev_page_id | 8 | NULL | 136486 | Using where; Using join buffer (flat, BNL join) |
    ...
    • Oct 22 2018, 6:38 AM
    • 9 Lines
  • Loading cache...
    Generating loaded file list for code hash
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/AlternativeSyntaxSniff.php
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/LeadingZeroInFloatSniff.php
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/UnicodeEscapeSniff.php
    ...
    • Oct 21 2018, 1:29 PM
    • 163 Lines
  • P7700 \o/
    >>> c._new_certificate('pinkunicorn', 'rsa-2048')
    Handling new certificate event for pinkunicorn / rsa-2048
    Triggering DNS zone update...
    Running subprocess ['/usr/local/bin/certcentral-gdnsd-sync.py', '--remote-servers', 'authdns1001.wikimedia.org', 'authdns2001.wikimedia.org', 'multatuli.wikimedia.org', '--', '_acme-challenge.pinkunicorn.wikimedia.org', 't7_OX4Ohp_WNz8g2Sr6V1NV_UVWOxjbEpi0-rsOLkAU']
    Handling pushed CSR event for pinkunicorn / rsa-2048
    ...
    • Oct 19 2018, 2:52 PM
    • 10 Lines
    • Python
  • 3:47 PM <gehel> unrelated, can I pick your brain about T207195 ?
    3:47 PM <stashbot> T207195: Configure LVS endpoints for new elasticsearch clusters - https://phabricator.wikimedia.org/T207195
    3:47 PM <gehel> and the related https://gerrit.wikimedia.org/r/c/operations/puppet/+/467684
    3:48 PM <bblack> yes. I read a little about it yesterday, but I didn't quite see it all clearly
    3:48 PM <gehel> yeah, it's not all that clear in my head yet
    ...
    • Oct 19 2018, 1:34 PM
    • 120 Lines
  • Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: Traceback (most recent call last):
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: File "/usr/bin/certcentral-backend", line 11, in <module>
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: load_entry_point('certcentral==0.1', 'console_scripts', 'certcentral-backend')()
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: File "/usr/lib/python3/dist-packages/certcentral/certcentral.py", line 623, in main
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: CertCentral().run()
    ...
    • Oct 19 2018, 11:27 AM
    • 26 Lines
    • Python
  • diff --git a/extension.json b/extension.json
    index 4974313..61ef171 100644
    --- a/extension.json
    +++ b/extension.json
    @@ -614,6 +614,7 @@
    ...
    • Oct 18 2018, 8:57 PM
    • 216 Lines
    • Diff
  • <?php
    namespace MediaWiki\Auth;
    class ConfirmNoEmailSecondaryAuthenticationProvider extends AbstractSecondaryAuthenticationProvider {
    ...
    • Oct 18 2018, 7:01 PM
    • 48 Lines
  • root@certcentral1001:~# sudo -u certcentral /usr/local/bin/certcentral-gdnsd-sync.py pinkunicorn.wikimedia.org 0123456789012345678901234567890123456789012 --remote-servers authdns1001.wikimedia.org authdns2001.wikimedia.org multatuli.wikimedia.org
    authdns1001.wikimedia.org ['pinkunicorn.wikimedia.org', '0123456789012345678901234567890123456789012']
    Could not create directory '/nonexistent/.ssh'.
    Could not chdir to home directory /nonexistent: No such file or directory
    info: ACME DNS-01 challenges accepted
    ...
    • Oct 18 2018, 6:21 PM
    • 13 Lines
  • $ cat ~/count-hiera.sh
    #!/bin/bash
    for y in 2015 2016 2017 2018; do
    for m in 01 04 07 10; do
    git checkout `git rev-list -n 1 --before="$y-$m-01" production` >/dev/null 2>&1
    ...
    • Oct 18 2018, 3:22 PM
    • 29 Lines
  • This is per-port, for all physical host ethernet ports that exist in the production fleet.
    3556 "driver": "tg3"
    598 "driver": "bnx2x"
    178 "driver": "bnx2"
    42 "driver": "bnxt_en"
    ...
    • Oct 17 2018, 8:34 PM
    • 10 Lines
  • krenair@deployment-deploy01:~$ sudo keyholder status
    keyholder-agent: active
    - 2048 SHA256:zbuiiLRPuC2bS3FkoYRjHG4CoTR3WuyE0jJ9PSFFV8Y /etc/keyholder.d/deploy_librenms (RSA)
    - 4096 SHA256:BkaF2U4ziL7sesuRSV9UaEoQzK3GvoWZWgGCrKxUYBo /etc/keyholder.d/deploy_service (RSA)
    - 4096 SHA256:MjqJXMZbB6uki4G9LuVVgEogog9Z/nwntDZwZSjn+fs /etc/keyholder.d/dumpsdeploy (RSA)
    ...
    • Oct 17 2018, 4:56 PM
    • 17 Lines
  • 2018-10-17 00:29:46
    Full thread dump OpenJDK 64-Bit Server VM (25.181-b13 mixed mode):
    "Attach Listener" #34533 daemon prio=9 os_prio=0 tid=0x00007fee64003000 nid=0x3921 waiting on condition [0x0000000000000000]
    java.lang.Thread.State: RUNNABLE
    ...
    • Oct 17 2018, 6:17 AM
    • 5,550 Lines
  • file:///home/dzahn/Downloads/Telegram%20Desktop/planet.png
    • Oct 16 2018, 6:26 PM
    • 1 Line
  • Input:
    <section id="cxTargetSection1">
    <p id="mwBQ">
    <span data-segmentid="218" class="cx-segment">
    ...
    • Oct 16 2018, 4:48 PM
    • 17 Lines
    • HTML
  • result position
    p [[ 0 0 0 0 0 0 0 0]
    r [78 0 0 0 0 0 0 0]
    e [81 51 48 8 36 2 0 0]
    f [78 39 35 12 1 6 12 0]
    ...
    • Oct 15 2018, 8:18 PM
    • 11 Lines
  • Searching for: /[("'{,]servers\.[^"')}]*/g
    Found 339 dashboards
    Checking ..................................
    Matched db/cloudvps-eqiad1 (CloudVPS eqiad1)
    [ '"servers.cloudnet*.network.*.*x_bit',
    ...
    • Oct 15 2018, 10:12 AM
    • 271 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 9:47 AM
    • 57 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 7:20 AM
    • 57 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 5:13 AM
    • 58 Lines
  • clicks: [ 0 40 78 201 305 304 264 232 206 175 107 84 94 62 50 36 25 32 14 14]
    clicks + skips:[ 0 75 188 352 481 485 422 349 304 231 153 127 122 83 64 58 32 37 20 18]
    clicks / (clicks + skips)
    [ nan 0.53333333 0.41489362 0.57102273 0.63409563 0.62680412
    ...
    • Oct 12 2018, 11:31 PM
    • 8 Lines
  • <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    <svg version="1.1"
    id="svg548" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" sodipodi:version="0.32" sodipodi:docname="/home/david/Desktop/temp/filesystems/gnome-fs-chardev.svg" sodipodi:docbase="/home/david/Desktop/temp/filesystems/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:xap="http://ns.adobe.com/xap/1.0/"
    xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="39.965px"
    ...
    • Oct 12 2018, 6:23 PM
    • 73 Lines
  • #!/usr/bin/env python3
    import pickle
    from mwparserfromhell import __version__, parse
    from ores.util import timeout
    ...
    • Oct 12 2018, 3:20 PM
    • 12 Lines
    • Python
  • ## Labs
    Host bastlabs
    User thcipriani
    HostName primary.bastion.wmflabs.org
    IdentityFile ~/.ssh/id_rsa.wikimedia
    ...
    • Oct 12 2018, 2:39 PM
    • 22 Lines
  • import pickle
    from mwparserfromhell import __version__, parse
    from ores.util import timeout
    ...
    • Oct 12 2018, 2:08 PM
    • 11 Lines
  • simplewiki: ... rev_id=198497
    User name "De bengel" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.
    User name "RoyBoy" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.
    ...
    • Oct 12 2018, 1:30 PM
    • 53 Lines
  • ---- normal stuff dh_installinit puts in for us:
    if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
    if [ -x "/etc/init.d/gdnsd" ]; then
    update-rc.d gdnsd defaults >/dev/null
    if [ -n "$2" ]; then
    ...
    • Oct 12 2018, 12:58 PM
    • 30 Lines
  • #96 Frame 0x7fbf4c7d33a8, for file /srv/deployment/ores/deploy-cache/revs/a7171997aed4054856cddd0f5f0a831215d13087/venv/lib/python3.5/site-packages/revscoring/features/wikitext/datasources/parsed.py, line 210, in _process_wikicode (text='== Participaci\xf3n ==\n\n{| class="wikitable" class="sortable wikitable"\n|-----\n!width=4%|A\xf1o!!width=12%|Pa\xeds que representa !!Cantante(s) !!width=15%|Canci\xf3n<br /><small>(M\xfasica / Letra)</small>!!width=6%|Final!!width=4%|Pts.!!width=2%|Semifinal!!width=5%|Pts.!!width=6%|J!!width=6%|Pts!!width=6%|T!!width=6%|Pts!!width=6%|Odds!!width=4%|{{bandera|Spain}}!!width=10%|{{bandera|Spain}}12?\n|-\n| [[Festival de la Canci\xf3n de Eurovisi\xf3n 2877|2877]]\n| {{bandera|Israel}} \'\'\'[[Israel]]\'\'\'\n| style="background:" |\'\'\'[[Daniel Alfredo]]\'\'\'\n|[[Fly until ma own|\'\'\'\'\'Menos (Low)\'\'\'\']]\n| style="background:" align="right"| 19/26\n| style="background:" align="right"| 127\n| style="background-color:pink" align="right" | 5/18\n| style="background...
    • Oct 11 2018, 8:46 PM
    • 2 Lines
  • # integration-slave-docker-1017:
    UID PID PPID C STIME TTY TIME CMD
    nobody 18079 18063 0 Oct10 ? 00:00:00 bash /run.sh
    nobody 18119 18079 92 Oct10 ? 1-06:09:24 npm
    UID PID PPID C STIME TTY TIME CMD
    ...
    • Oct 11 2018, 5:41 PM
    • 211 Lines
  • <?php
    // Start up an extra elasticsearch instance:
    // sudo -u elasticsearch mkdir -p /tmp/es-extra/data
    // sudo -u elasticsearch /usr/share/elasticsearch/bin/elasticsearch -p /tmp/es-extra/elasticsearch.pid -Epath.logs=/tmp/es-extra -Epath.data=/tmp/es-extra/data -Epath.conf=/etc/elasticsearch -Ehttp.port=9205 -Ecluster.name=extra-cluster
    ...
    • Oct 11 2018, 4:21 PM
    • 75 Lines
  • root@db2085.codfw.wmnet[(none)]> select @@hostname; show slave status\G
    +------------+
    | @@hostname |
    +------------+
    | db2085 |
    ...
    • Oct 11 2018, 3:15 PM
    • 56 Lines
  • page_id
    56543569
    56543584
    56543600
    56543616
    • Oct 11 2018, 2:47 PM
    • 5 Lines
  • root@db2083.codfw.wmnet[(none)]> select @@hostname; show slave status\G
    +------------+
    | @@hostname |
    +------------+
    | db2083 |
    ...
    • Oct 11 2018, 1:24 PM
    • 57 Lines
  • #!/bin/bash
    DC=${1:-"eqiad"}
    #
    ...
    • Oct 11 2018, 11:14 AM
    • 28 Lines
  • root@db2085.codfw.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db2045.codfw.wmnet
    Master_User: repl
    ...
    • Oct 11 2018, 11:12 AM
    • 49 Lines
  • Wednesday, October 10, 2018; 00:00
    Greg Grossmeier <greg@grossmeier.net>
    K E Y S I G N I N G
    ...
    • Oct 10 2018, 4:44 PM
    • 65 Lines
  • src/ltree.c: log_zwarn("Name '%s%s': All TTLs for A and/or AAAA records at the same name should agree (using %u)", logf_dname(dname), logf_dname(zone->dname), ntohl(rrset->gen.ttl));
    src/ltree.c: log_zwarn("Name '%s%s': All $ADDR_LIMIT_4 for A-records at the same name should agree (using %u)", logf_dname(dname), logf_dname(zone->dname), rrset->limit_v4);
    src/ltree.c: log_zwarn("Name '%s%s': All TTLs for A and/or AAAA records at the same name should agree (using %u)", logf_dname(dname), logf_dname(zone->dname), ntohl(rrset->gen.ttl));
    src/ltree.c: log_zwarn("Name '%s%s': All $ADDR_LIMIT_6 for AAAA-records at the same name should agree (using %u)", logf_dname(dname), logf_dname(zone->dname), rrset->limit_v6);
    src/ltree.c: log_zwarn("Name '%s%s': All TTLs for type %s should match (using %u)", logf_dname(dname), logf_dname(zone->dname), _pnam, ntohl(rrset->gen.ttl));\
    ...
    • Oct 10 2018, 3:05 PM
    • 16 Lines
  • requests.exceptions.ConnectionError: HTTPConnectionPool(host='cloudservices1003.wikimedia.org', port=9001): Max retries exceeded with url: /v2/zones?name=analytics.db.svc.eqiad.wmflabs. (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f068d0fdc10>: Failed to establish a new connection: [Errno 110] Connection timed out',))
    • Oct 10 2018, 11:58 AM
    • 1 Line
  • 10:49:07 Check 'Check endpoints for mwdebug2002.codfw.wmnet' failed: /wiki/{title} (Main Page) is WARNING: Test Main Page responds with unexpected body: array(59) {
    ["wgCanonicalNamespace"]=>
    string(2) """"
    ["wgCanonicalSpecialPageName"]=>
    string(5) "false"
    ...
    • Oct 10 2018, 10:50 AM
    • 517 Lines
  • #!/bin/bash
    host=localhost
    for i in `mysql --skip-ssl -h$host wikidatawiki -e "show tables;" -BN`; do echo "Renaming $i..." ; mysql --skip-ssl -h$host wikidatawiki -e "set session sql_log_bin=0; rename table $i to T177208_${i};" ; done
    • Oct 10 2018, 8:56 AM
    • 3 Lines
  • reedy@deploy1001:/srv/mediawiki-staging/php-1.32.0-wmf.24/extensions$ grep -R *Echo* | grep -v Echo/ | grep \.php
    Thanks/extension.json: "EchoCoreThanksPresentationModel": "includes/EchoCoreThanksPresentationModel.php",
    Thanks/extension.json: "EchoFlowThanksPresentationModel": "includes/EchoFlowThanksPresentationModel.php",
    Thanks/includes/ThanksHooks.php: * Add Thanks events to Echo
    Thanks/includes/ThanksHooks.php: * @param array &$notifications array of Echo notifications
    ...
    • Oct 9 2018, 8:44 PM
    • 429 Lines