Paste Active Pastes
  • 1​Souidos i arbete. Stockholm Svenska Cypernexpeditionen
    2​Souidos och Johansson. Stockholm Svenska Cypernexpeditionen
    3​Souidos, Johansson och Kakoulis. Stockholm Svenska Cypernexpeditionen
    4​Fröken Sjöquist. Stockholm Svenska Cypernexpeditionen
    5​Souidos med lagad staty. Stockholm Svenska Cypernexpeditionen
    6...
    • Wed, Mar 29, 7:58 AM
    • 56 Lines
  • 1​./osc_host.sh --host=db1093.eqiad.wmnet --port=3306 --db=frwiki --table=categorylinks --method=ddl --no-replicate "drop key cl_from, add primary key (cl_from,cl_to);"
    2​ ./osc_host.sh --host=db1093.eqiad.wmnet --port=3306 --db=frwiki --table=imagelinks --method=ddl --no-replicate "drop key il_from, add primary key (il_from,il_to)"
    3​ ./osc_host.sh --host=db1093.eqiad.wmnet --port=3306 --db=frwiki --table=iwlinks --method=ddl --no-replicate "drop key iwl_from, add primary key (iwl_from,iwl_prefix,iwl_title)"
    4​ ./osc_host.sh --host=db1093.eqiad.wmnet --port=3306 --db=frwiki --table=langlinks --method=ddl --no-replicate "drop key ll_from, add primary key (ll_from,ll_lang)"
    5​ ./osc_host.sh --host=db1093.eqiad.wmnet --port=3306 --db=frwiki --table=log_search --method=ddl --no-replicate "drop key ls_field_val, add primary key (ls_field,ls_value,ls_log_id)"
    6...
    • Wed, Mar 29, 7:48 AM
    • 66 Lines
  • 1#!/bin/sh
    2
    3set -e
    4
    5esurl=http://localhost:9200
    6...
    • Tue, Mar 28, 11:53 PM
    • 58 Lines
  • 1$ python3 compare.py dbstore1002 dbstore1002 arbcom_cswiki text old_id
    2SELECT min(old_id), max(old_id) FROM text
    3DESCRIBE text
    4SET SESSION group_concat_max_len = 10000000
    5SELECT crc32(GROUP_CONCAT(old_text,old_id,old_flags)) FROM text WHERE old_id BETWEEN 1 AND 493 ORDER BY old_id
    6
    7...
    • Tue, Mar 28, 3:17 PM
    • 6 Lines
  • 1​./osc_host.sh --host=db1091.eqiad.wmnet --port=3306 --db=commonswiki --table=categorylinks --method=ddl --no-replicate "drop key cl_from, add primary key (cl_from,cl_to);"
    2​ ./osc_host.sh --host=db1091.eqiad.wmnet --port=3306 --db=commonswiki --table=imagelinks --method=ddl --no-replicate "drop key il_from, add primary key (il_from,il_to)"
    3​ ./osc_host.sh --host=db1091.eqiad.wmnet --port=3306 --db=commonswiki --table=iwlinks --method=ddl --no-replicate "drop key iwl_from, add primary key (iwl_from,iwl_prefix,iwl_title)"
    4​ ./osc_host.sh --host=db1091.eqiad.wmnet --port=3306 --db=commonswiki --table=langlinks --method=ddl --no-replicate "drop key ll_from, add primary key (ll_from,ll_lang)"
    5​ ./osc_host.sh --host=db1091.eqiad.wmnet --port=3306 --db=commonswiki --table=log_search --method=ddl --no-replicate "drop key ls_field_val, add primary key (ls_field,ls_value,ls_log_id)"
    6...
    • Tue, Mar 28, 2:33 PM
    • 21 Lines
  • 1​Wikidatawiki
    2
    3​ ./osc_host.sh --host=db1092.eqiad.wmnet --port=3306 --db=wikidatawiki --table=categorylinks --method=ddl --no-replicate "drop key cl_from, add primary key (cl_from,cl_to);"
    4​ ./osc_host.sh --host=db1092.eqiad.wmnet --port=3306 --db=wikidatawiki --table=imagelinks --method=ddl --no-replicate "drop key il_from, add primary key (il_from,il_to)"
    5​ ./osc_host.sh --host=db1092.eqiad.wmnet --port=3306 --db=wikidatawiki --table=interwiki --method=ddl --no-replicate "drop key iw_prefix, add primary key (iw_prefix)"
    6...
    • Tue, Mar 28, 10:22 AM
    • 46 Lines
  • 1​# at 336891775
    2​#170328 5:53:20 server id 171966470 end_log_pos 336891813 GTID 0-171966470-398078238
    3​/*!100001 SET @@session.gtid_domain_id=0*//*!*/;
    4​/*!100001 SET @@session.server_id=171966470*//*!*/;
    5​/*!100001 SET @@session.gtid_seq_no=398078238*//*!*/;
    6...
    • Tue, Mar 28, 9:14 AM
    • 83 Lines
  • 1​ ./osc_host.sh --host=db1089.eqiad.wmnet --port=3306 --db=enwiki --table=categorylinks --method=ddl --no-replicate "drop key cl_from, add primary key (cl_from,cl_to);"
    2​ ./osc_host.sh --host=db1089.eqiad.wmnet --port=3306 --db=enwiki --table=ep_users_per_course --method=ddl --no-replicate "drop key ep_users_per_course, add primary key (upc_user_id,upc_course_id,upc_role);"
    3​ ./osc_host.sh --host=db1089.eqiad.wmnet --port=3306 --db=enwiki --table=flaggedrevs_tracking --method=ddl --no-replicate "drop key from_namespace_title, add primary key (ftr_from,ftr_namespace,ftr_title)"
    4​ ./osc_host.sh --host=db1089.eqiad.wmnet --port=3306 --db=enwiki --table=imagelinks --method=ddl --no-replicate "drop key il_from, add primary key (il_from,il_to)"
    5​ ./osc_host.sh --host=db1089.eqiad.wmnet --port=3306 --db=enwiki --table=iwlinks --method=ddl --no-replicate "drop key iwl_from, add primary key (iwl_from,iwl_prefix,iwl_title)"
    6...
    • Tue, Mar 28, 7:08 AM
    • 22 Lines
  • 1​[Mon Mar 27 19:44:11 2017] php5 invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
    2​[Mon Mar 27 19:44:11 2017] php5 cpuset=/ mems_allowed=0-1
    3​[Mon Mar 27 19:44:11 2017] CPU: 17 PID: 44257 Comm: php5 Not tainted 3.13.0-100-generic #147-Ubuntu
    4​[Mon Mar 27 19:44:11 2017] Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 12/27/2015
    5​[Mon Mar 27 19:44:11 2017] 0000000000000000 ffff88010b09f970 ffffffff8172a4bb ffff880115f54800
    6...
    • Tue, Mar 28, 12:04 AM
    • 424 Lines
  • 1
    2
    3​```
    4​>>> import enchant
    5​>>> ko = enchant.Dict('ko')
    6...
    • Mon, Mar 27, 10:14 PM
    • 16 Lines
  • 1
    2​date: 2017-03-27T20:20:21+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 8:20 PM
    • 17 Lines
  • 1
    2​date: 2017-03-27T20:19:57+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 8:20 PM
    • 17 Lines
  • 1​DELETE FROM workset_task
    2​USING workset_task AS wt
    3​JOIN workset AS w ON
    4​ w.id = wt.workset_id
    5​LEFT JOIN label AS l ON
    6...
    • Mon, Mar 27, 7:24 PM
    • 12 Lines
  • 1​BEGIN BATCH
    2​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    3​DELETE FROM "local_group_wikipedia_T_parsoid_dataW4ULtxs1oMqJ".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    4​DELETE FROM "local_group_wikipedia_T_parsoid_section_offsets".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    5​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Undeletion_requests/Current_requests';
    6...
    • Mon, Mar 27, 3:47 PM
    • 14 Lines
  • 1​BEGIN BATCH
    2​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    3​DELETE FROM "local_group_wikipedia_T_parsoid_dataW4ULtxs1oMqJ".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    4​DELETE FROM "local_group_wikipedia_T_parsoid_section_offsets".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Featured_picture_candidates/candidate_list';
    5​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'Undeletion_requests/Current_requestsUser:Huckety/gallery';
    6...
    • Mon, Mar 27, 3:46 PM
    • 11 Lines
  • 1​# this is a constant for now
    2​tendril_db_host=db1011.eqiad.wmnet
    3​# for each shard, new master and shard name
    4​new_shard_master_fqdn=db1052.eqiad.wmnet
    5​shard=s1
    6...
    • Mon, Mar 27, 2:41 PM
    • 7 Lines
  • 1
    2​date: 2017-03-27T11:45:38+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 11:45 AM
    • 17 Lines
  • 1
    2​date: 2017-03-27T11:45:31+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 11:45 AM
    • 17 Lines
  • 1
    2​date: 2017-03-27T11:45:21+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 11:45 AM
    • 17 Lines
  • 1
    2​date: 2017-03-27T11:45:12+00:00
    3​tool: pageviews
    4​language: ru
    5​chart: bar
    6...
    • Mon, Mar 27, 11:45 AM
    • 17 Lines
  • 1
    2​date: 2017-03-25T23:53:32+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Sat, Mar 25, 11:54 PM
    • 23 Lines
  • 1
    2​date: 2017-03-25T23:53:04+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Sat, Mar 25, 11:54 PM
    • 23 Lines
  • 1​vagrant@mediawiki-vagrant:/vagrant/mediawiki/extensions/WikidataBuildResources$ grunt install
    2​Running "clean:build" (clean) task
    3​>> 5 paths cleaned.
    4
    5​Running "exec:install" (exec) task
    6...
    • Fri, Mar 24, 10:12 PM
    • 100 Lines
  • 1​ ebernhardson@terbium:~$ mwrepl rowiki
    2​Welcome to HipHop Debugger!
    3​Type "help" or "?" for a complete list of commands.
    4
    5​Note: no server specified, debugging local scripts only.
    6...
    • Fri, Mar 24, 10:09 PM
    • 22 Lines
  • 1​ladsgroup@deployment-ores-redis-02:~$ sudo puppet agent -tv
    2​Warning: Unable to fetch my node definition, but the agent run will continue:
    3​Warning: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: deployment-puppetmaster02.deployment-prep.eqiad.wmflabs]
    4​Info: Retrieving pluginfacts
    5​Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: deployment-puppetmaster02.deployment-prep.eqiad.wmflabs]
    6...
    • Fri, Mar 24, 9:43 PM
    • 18 Lines
  • 1​https://gerrit.wikimedia.org/r/#/c/344551/
    2
    3​----
    4
    5​[ruthenium:~] $ puppet agent -tv
    6...
    • Fri, Mar 24, 7:18 PM
    • 68 Lines
  • 1​Adapter #1
    2
    3​==============================================================================
    4​ Versions
    5​ ================
    6...
    • Fri, Mar 24, 3:47 PM
    • 290 Lines
  • 1​BEGIN BATCH
    2​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'User:Darkweasel94/Vienna/2016_December_14-16';
    3​DELETE FROM "local_group_wikipedia_T_parsoid_dataW4ULtxs1oMqJ".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'User:Darkweasel94/Vienna/2016_December_14-16';
    4​DELETE FROM "local_group_wikipedia_T_parsoid_section_offsets".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'User:Darkweasel94/Vienna/2016_December_14-16';
    5​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'commons.wikimedia.org' AND key = 'User:Jarekt/d';
    6...
    • Fri, Mar 24, 3:04 PM
    • 8 Lines
  • 1​$wmfMasterServices['redis_lock'] = [
    2​ 'rdb1' => '127.0.0.1'
    3​];
    4
    5​$wgLockManagers[] = [
    6...
    • Fri, Mar 24, 12:27 PM
    • 23 Lines
  • 1
    2​Running the plugin against all other except heze and labsdb1005 works fine (here neodymium):
    3​jmm@einsteinium:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.64.32.20 -c check_timesynd_ntp_status
    4​OK: synced at Fri 2017-03-24 12:25:04 UTC.
    5
    6...
    • Fri, Mar 24, 12:27 PM
    • 13 Lines
  • P5123 NRPE
    1​jmm@einsteinium:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.64.32.20 -c check_timesynd_ntp_status
    2​OK: synced at Fri 2017-03-24 12:20:41 UTC.
    3​jmm@einsteinium:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.192.0.31 -c check_timesynd_ntp_status
    4​NRPE: Unable to read output
    • Fri, Mar 24, 12:23 PM
    • 4 Lines
  • 1​"아니오"
    2​"잠시만요"
    3​"합니다만", "입니다만"
    4​<!-- honorifics informal. (Linguistically all of these are formal but it's informal under our definition of formal and informal.) -->
    5​"니다.", "니다," "니까?", "니다!"
    6...
    • Fri, Mar 24, 8:17 AM
    • 21 Lines
  • 1​/*
    2​[WLgpE6v3O-dohrZ32qzQHQAAAAk] /load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector BadMethodCallException from line 845 of /var/www/html/includes/session/SessionManager.php: Sessions are disabled for this entry point
    3​*/
    4​if (window.console && console.error) {
    5​ console.error("[WLgpE6v3O-dohrZ32qzQHQAAAAk] /load.php?debug=false\u0026lang=en\u0026modules=startup\u0026only=scripts\u0026skin=vector BadMethodCallException from line 845 of /var/www/html/includes/session/SessionManager.php: Sessions are disabled for this entry point");
    6...
    • Thu, Mar 23, 9:11 PM
    • 356 Lines
  • 1​gehel@cp1051:~$ sudo puppet agent -t
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​2017-03-23T18:28:29 [WARN/control] unable to connect to socket /var/run/lldpd.socket: No such file or directory
    6...
    • Thu, Mar 23, 6:33 PM
    • 8 Lines
  • 1​tools-checker-01.tools:~/projects/keystone
    2​bd808$ python
    3​Python 2.7.6 (default, Oct 26 2016, 20:30:19)
    4​[GCC 4.8.4] on linux2
    5​Type "help", "copyright", "credits" or "license" for more information.
    6...
    • Thu, Mar 23, 3:28 PM
    • 67 Lines
  • 1​1.179.146.153
    2​1.179.198.17
    3​13.89.226.250
    4​14.141.93.162
    5​31.25.141.148
    6...
    • Thu, Mar 23, 9:23 AM
    • 63 Lines
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1070 |
    6...
    • Thu, Mar 23, 8:31 AM
    • 54 Lines
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1082 |
    6...
    • Thu, Mar 23, 7:12 AM
    • 55 Lines
  • 1​Debug: Failed to load library 'selinux' for feature 'selinux'
    2​Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:path=>"/etc/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}'
    3​Debug: Failed to load library 'ldap' for feature 'ldap'
    4​Debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
    5​Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/uuidgen does not exist
    6...
    • Wed, Mar 22, 9:26 PM
    • 1,309 Lines
  • 1function cache_lookup()
    2local cache_status = ts.http.get_cache_lookup_status()
    3ts.ctx['cstatus'] = cache_status
    4end
    5
    6...
    • Wed, Mar 22, 7:37 PM
    • 47 Lines
    • Lua
  • 1$ git clone --recursive 'ssh://zfilipin@gerrit.wikimedia.org:29418/mediawiki/vagrant'
    2Cloning into 'vagrant'...
    3remote: Counting objects: 2732, done
    4remote: Finding sources: 100% (1288/1288)
    5remote: Getting sizes: 100% (743/743)
    6
    7...
    • Wed, Mar 22, 5:30 PM
    • 96 Lines
  • 1
    2​date: 2017-03-22T16:49:33+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Wed, Mar 22, 4:49 PM
    • 23 Lines
  • 1
    2​date: 2017-03-22T16:49:24+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Wed, Mar 22, 4:49 PM
    • 23 Lines
  • 1​# lvdisplay
    2​ --- Logical volume ---
    3​ LV Path /dev/tank/data
    4​ LV Name data
    5​ VG Name tank
    6...
    • Wed, Mar 22, 3:29 PM
    • 17 Lines
  • 1​RAC1169: The RACADM "config" command will be deprecated in a
    2​future version of iDRAC firmware. Run the RACADM
    3​"racadm set" command to configure the iDRAC configuration parameters.
    4​For more information on the set command, run the RACADM command
    5​"racadm help set".
    • Wed, Mar 22, 2:49 PM
    • 5 Lines
  • 1​Mar 22 13:30:36 eeden systemd[1]: Stopping gdnsd...
    2​Mar 22 13:34:15 baham systemd[1]: Stopping gdnsd...
    3​Mar 22 13:34:43 radon systemd[1]: Stopping gdnsd...
    4
    5​Mar 22 13:37:23 eeden systemd[1]: Starting gdnsd...
    6...
    • Wed, Mar 22, 2:46 PM
    • 12 Lines
  • 1​root@neodymium:~# ipmitool -I lanplus -H es2014.mgmt.codfw.wmnet -U root -E chassis power status
    2​Unable to read password from environment
    3​Password:
    4​Chassis Power is on
    5​root@neodymium:~# ipmitool -I lanplus -H es2015.mgmt.codfw.wmnet -U root -E chassis power status
    6...
    • Wed, Mar 22, 1:30 PM
    • 9 Lines
  • P5104 confctl
    1​jmm@puppetmaster1001:~$ sudo -i confctl --quiet --find --action set/pooled=no mw1261.eqiad.wmnet
    2​ERROR:conftool:Error when trying to set/pooled=no on mw1261.eqiad.wmnet
    3​ERROR:conftool:Failure writing to the kvstore: Backend error: Raft Internal Error : etcdserver: request timed out, possibly due to previous leader failure
    4​mw1261.eqiad.wmnet: pooled changed yes => no
    5​jmm@puppetmaster1001:~$ sudo -i confctl --quiet --find --action set/pooled=no mw1261.eqiad.wmnet
    6...
    • Wed, Mar 22, 10:40 AM
    • 11 Lines
  • 1​Date: Wed, 22 Mar 2017 12:32:12 +0800
    2​Message-ID: <1734573761.20170322073212@gmx.net>
    3​Content-Language: en-us
    4​MIME-Version: 1.0
    5​X-Content-Filtered-By: Mailman/MimeDel 2.1.18
    6...
    • Wed, Mar 22, 8:52 AM
    • 34 Lines
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1070 |
    6...
    • Wed, Mar 22, 8:47 AM
    • 54 Lines
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1087 |
    6...
    • Wed, Mar 22, 7:05 AM
    • 55 Lines
  • 1​Format: 3.0 (quilt)
    2​Source: process-control
    3​Binary: process-control
    4​Architecture: all
    5​Version: 0.0.1~rc1-1
    6...
    • Tue, Mar 21, 10:03 PM
    • 22 Lines
  • 1​mysql:research@analytics-store.eqiad.wmnet [enwiki]> select oresc_rev > 736071120, count(*) from ores_classification group by oresc_rev > 735618091;
    2​+-----------------------+----------+
    3​| oresc_rev > 736071120 | count(*) |
    4​+-----------------------+----------+
    5​| 0 | 66458653 |
    6...
    • Tue, Mar 21, 7:06 PM
    • 8 Lines
  • 1#!/usr/bin/python3.5
    2
    3import asyncio
    4import aiohttp
    5import json
    6...
    • Tue, Mar 21, 2:13 PM
    • 72 Lines
    • Python
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1070 |
    6...
    • Tue, Mar 21, 9:44 AM
    • 54 Lines
  • 1​root@PRODUCTION s5[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1092 |
    6...
    • Tue, Mar 21, 7:38 AM
    • 110 Lines
  • 1# <?php
    2
    3$config = MediaWiki\MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'CirrusSearch' );
    4$conn = CirrusSearch\Connection::getPool( $config, 'codfw' );
    5$scorer = CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory::getScoringMethod( 'popqual' );
    6...
    • Tue, Mar 21, 12:30 AM
    • 27 Lines
  • 1# <?php
    2
    3$config = MediaWiki\MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'CirrusSearch' );
    4$conn = CirrusSearch\Connection::getPool( $config, 'codfw' );
    5$scorer = CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory::getScoringMethod( 'popqual' );
    6...
    • Tue, Mar 21, 12:29 AM
    • 34 Lines
  • 1# <?php
    2
    3var_dump($IP);
    4
    5$config = MediaWiki\MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'CirrusSearch' );
    6...
    • Tue, Mar 21, 12:29 AM
    • 34 Lines
  • 1​#<?php
    2
    3​$inputDocs = json_decode(file_get_contents('/tmp/ebernhardson_bench_compsuggest'), true);
    4​$scorer = CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory::getScoringMethod( 'popqual' );
    5​$scorer->setMaxDocs(5000000);
    6...
    • Mon, Mar 20, 11:55 PM
    • 12 Lines
  • 1​#<?php
    2
    3​$config = MediaWiki\MediaWikiServices::getInstance()->getConfigFactory()->makeConfig( 'CirrusSearch' );
    4​$conn = CirrusSearch\Connection::getPool( $config, 'codfw' );
    5​$scorer = CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory::getScoringMethod( 'popqual' );
    6...
    • Mon, Mar 20, 11:54 PM
    • 25 Lines
  • 1​var transformer = require("../transformer");
    2​var utilities = require("../utilities");
    3
    4​// If enabled, widened images will have thin red dashed border
    5​var enableDebugBorders = false;
    6...
    • Mon, Mar 20, 11:12 PM
    • 87 Lines
  • P5088 selflink
    1​legoktm@terbium:~$ mwgrep "selflink" --max-results=172
    2​## Public wiki results
    3​arwiki MediaWiki:Common.css
    4​arwiki MediaWiki:Gadget-teahouse.js
    5​arwiki MediaWiki:Gadget-teahouse/content.js
    6...
    • Mon, Mar 20, 9:37 PM
    • 173 Lines
  • 1​Default is soft, except on wikidata. Number in (parentheses) next to wiki name is total number of users with ORES enabled on that wiki.
    2
    3​plwiki (444)
    4​8 hard
    5​2 softest
    6...
    • Mon, Mar 20, 6:05 PM
    • 34 Lines
  • 1​tools-checker-01.tools:~
    2​bd808$ sudo -i puppet agent --test --verbose
    3​Info: Retrieving plugin
    4​Info: Loading facts in /var/lib/puppet/lib/facter/service_provider.rb
    5​Info: Loading facts in /var/lib/puppet/lib/facter/interface_primary.rb
    6...
    • Mon, Mar 20, 6:05 PM
    • 34 Lines
  • 1​select 'aawiki' from aawiki.image where img_name='' union all
    2​select 'aawikibooks' from aawikibooks.image where img_name='' union all
    3​select 'aawiktionary' from aawiktionary.image where img_name='' union all
    4​select 'abwiki' from abwiki.image where img_name='' union all
    5​select 'abwiktionary' from abwiktionary.image where img_name='' union all
    6...
    • Mon, Mar 20, 5:30 PM
    • 901 Lines
  • 1​# Find url from logstash:
    2
    3​es.wikipedia.org/w/api.php?action=query&format=json&prop=pageprops%7Cpageprops%7Cpageimages%7Cpageterms&generator=prefixsearch&ppprop=displaytitle&piprop=thumbnail&pithumbsize=80&pilimit=15&wbptterms=description&redirects=&gpssearch=Co&gpsnamespace=0&gpslimit=15
    4
    5​# Load up mwrepl
    6...
    • Mon, Mar 20, 5:28 PM
    • 15 Lines
  • 1
    2​BEGIN BATCH
    3​DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'ceb.wikipedia.org' AND key = 'Gumagamit:Lsjbot/Kartrutor2';
    4​DELETE FROM "local_group_wikipedia_T_parsoid_dataW4ULtxs1oMqJ".data WHERE "_domain" = 'ceb.wikipedia.org' AND key = 'Gumagamit:Lsjbot/Kartrutor2';
    5​DELETE FROM "local_group_wikipedia_T_parsoid_section_offsets".data WHERE "_domain" = 'ceb.wikipedia.org' AND key = 'Gumagamit:Lsjbot/Kartrutor2';
    6...
    • Mon, Mar 20, 4:36 PM
    • 27 Lines
  • 1
    2​date: 2017-03-20T14:45:25+00:00
    3​tool: pageviews
    4​language: en
    5​chart: line
    6...
    • Mon, Mar 20, 2:45 PM
    • 23 Lines
  • 1
    2​date: 2017-03-20T14:43:48+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 20, 2:43 PM
    • 23 Lines
  • 1
    2​date: 2017-03-20T14:43:36+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 20, 2:43 PM
    • 23 Lines
  • 1
    2​date: 2017-03-20T14:43:21+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 20, 2:43 PM
    • 23 Lines
  • 1​zfilipin@mwdebug1002:~$ scap pull
    2​13:21:40 Copying to mwdebug1002.eqiad.wmnet from deployment.eqiad.wmnet
    3​13:21:40 Started rsync common
    4​cannot delete non-empty directory: php-1.29.0-wmf.8/cache/l10n
    5​cannot delete non-empty directory: php-1.29.0-wmf.8/cache/l10n
    6...
    • Mon, Mar 20, 1:23 PM
    • 9 Lines
  • 1
    2​date: 2017-03-19T17:30:30+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Sun, Mar 19, 5:30 PM
    • 35 Lines
  • 1
    2​date: 2017-03-19T17:30:22+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Sun, Mar 19, 5:30 PM
    • 35 Lines
  • 1
    2​date: 2017-03-19T17:30:13+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Sun, Mar 19, 5:30 PM
    • 35 Lines
  • 1​씨바
    2​씨발
    3​지랄
    4​찐따
    5​씹새
    6...
    • Sun, Mar 19, 4:01 PM
    • 54 Lines
  • 1​씨바
    2​씨발
    3​지랄
    4​찐따
    5​씹새
    6...
    • Sun, Mar 19, 3:40 PM
    • 86 Lines
  • 1​/exp/project/tools -rw,nohide,fsid=00000000000000000-50380-0000000000,subtree_check,async,no_root_squash 10.68.19.159 10.68.21.65 10.68.19.24 10.68.21.169 10.68.22.5 10.68.22.23 10.68.17.131 10.68.17.215 10.68.22.168 10.68.22.217 10.68.21.176 10.68.23.14 10.68.21.42 10.68.23.142 10.68.20.251 10.68.23.178 10.68.23.223 10.68.23.172 10.68.23.103 10.68.23.154 10.68.17.209 10.68.18.245 10.68.20.200 10.68.19.50 10.68.18.22 10.68.17.208 10.68.22.238 10.68.17.221 10.68.22.34 10.68.22.147 10.68.21.13 10.68.23.47 10.68.23.53 10.68.21.26 10.68.22.43 10.68.22.78 10.68.23.117 10.68.22.74 10.68.18.101 10.68.21.243 10.68.22.118 10.68.21.253 10.68.21.247 10.68.21.147 10.68.18.25 10.68.20.94 10.68.18.26 10.68.21.130 10.68.17.89 10.68.23.240 10.68.23.55 10.68.22.153 10.68.17.223 10.68.21.162 10.68.23.58 10.68.23.203 10.68.23.74 10.68.22.169 10.68.17.19 10.68.17.15 10.68.21.239 10.68.18.64 10.68.21.254 10.68.23.89 10.68.22.51 10.68.22.56 10.68.20.158 10.68.20.82 10.68.20.79 10.68.20.9 10.68.18.210 10.68.23.222 10.68.20.250 10....
    • Sat, Mar 18, 7:38 PM
    • 1 Line
  • 1
    2​date: 2017-03-18T04:53:37+00:00
    3​tool: pageviews
    4​language: id
    5​chart: line
    6...
    • Sat, Mar 18, 4:53 AM
    • 24 Lines
  • 1​Fails with
    2
    3​404 GET /accounts/self/detail
    4​safari 10.0.3 ✖ elements/diff/gr-diff-comment-thread/gr-diff-comment-thread_test.html » comment action tests » new comment gets created
    5
    6...
    • Fri, Mar 17, 6:11 PM
    • 37 Lines
  • 1​root@db1046:/home/marostegui# for i in `cat tables_to_rename.txt`; do echo "mysql --skip-ssl log -e 'set session sql_log_bin=0; rename table $i to ${i}_15423246;'";done
    2​mysql --skip-ssl log -e 'set session sql_log_bin=0; rename table CentralAuth_5690875 to CentralAuth_5690875_15423246;'
    3​mysql --skip-ssl log -e 'set session sql_log_bin=0; rename table ChangesListFilters_16174591 to ChangesListFilters_16174591_15423246;'
    4​mysql --skip-ssl log -e 'set session sql_log_bin=0; rename table ChangesListFilters_16403617 to ChangesListFilters_16403617_15423246;'
    5​mysql --skip-ssl log -e 'set session sql_log_bin=0; rename table CommandInvocation_15243810 to CommandInvocation_15243810_15423246;'
    6...
    • Fri, Mar 17, 9:15 AM
    • 118 Lines
  • 1​root@d-i-test:~# ps aux | grep diamon
    2​root 22035 6.0 5.8 118724 59356 ? Ss 08:12 0:00 diamond
    3​root 22037 0.1 1.6 278036 16532 ? Sl 08:12 0:00 diamond - SyncManager
    4​root 22046 0.0 5.3 118724 54496 ? S 08:12 0:00 diamond - Handlers
    5​root 22049 0.1 5.4 118724 55136 ? S 08:12 0:00 diamond - TCPCollector
    6...
    • Fri, Mar 17, 8:14 AM
    • 16 Lines
  • 1​matthew@matthew-l55: /media/encryptedWork/Code/Wikimedia/vagrant-latest (enableGoodFaith|…)% grep DBserver LocalSettings.php mediawiki/LocalSettings.php
    2​LocalSettings.php:$wgDBserver = '127.0.0.1';
    3​mediawiki/LocalSettings.php:$wgDBserver = "";
    4
    5​matthew@matthew-l55: /media/encryptedWork/Code/Wikimedia/vagrant-latest/settings.d (enableGoodFaith|✔)% ack-grep DBserver
    6...
    • Thu, Mar 16, 8:54 PM
    • 40 Lines
  • 1​2017-03-16 20:22:16 mediawiki-vagrant wiki: [a12d8b68ebb23c51b0580381] [no req] DBQueryError from line 1061 of /vagrant/mediawiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
    2​Query: SHOW TABLES LIKE 'echo\\_event'
    3​Function: DatabaseMysqlBase::tableExists
    4​Error: 1317 Query execution was interrupted (127.0.0.1)
    5
    6...
    • Thu, Mar 16, 8:26 PM
    • 26 Lines
  • 1ci:
    2​ @echo 'How about we just make CI idempotent again?'
    3
    4great:
    5​ @echo 'CI will never be great'
    6...
    • Thu, Mar 16, 5:39 PM
    • 11 Lines
    • Makefile
  • 1​mw.loader.implement( "ext.eventLogging.subscriber@1kgi4af", [
    2​ "/w/extensions/EventLogging/modules/ext.eventLogging.subscriber.js?6f6ec",
    3​ "/w/extensions/EventLogging/modules/ext.eventLogging.Schema.js?c8095"
    4​] );mw.loader.implement( "jquery.accessKeyLabel@0g61fvi", [
    5​ "/w/resources/src/jquery/jquery.accessKeyLabel.js?e4aa6"
    6...
    • Wed, Mar 15, 7:41 PM
    • 67 Lines
  • 1​curl -XPUT localhost:9200/_cluster/settings -d '{
    2​ "persistent" : {
    3​ "cluster.routing.allocation.disk.watermark.low" : 75%,
    4​ "cluster.routing.allocation.disk.watermark.high" : 80%,
    5​ "cluster.routing.allocation.cluster_concurrent_rebalance": 8,
    6...
    • Mon, Mar 13, 4:49 PM
    • 11 Lines
  • 1​root@db1070[(none)]> show slave status\G
    2​*************************** 1. row ***************************
    3​ Slave_IO_State:
    4​ Master_Host: db1049.eqiad.wmnet
    5​ Master_User: repl
    6...
    • Mon, Mar 13, 10:23 AM
    • 46 Lines
  • 1​root@neodymium:/home/marostegui/databases_s2# mysql --skip-ssl -hdb1095 -e "select @@hostname; show all slaves status\G show master status\G"
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1095 |
    6...
    • Mon, Mar 13, 8:33 AM
    • 179 Lines
  • 1
    2​date: 2017-03-13T02:24:01+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 13, 2:25 AM
    • 23 Lines
  • 1
    2​date: 2017-03-13T02:23:36+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 13, 2:24 AM
    • 23 Lines
  • 1
    2​date: 2017-03-13T02:23:13+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Mar 13, 2:24 AM
    • 23 Lines
  • 1​a-giâu (unattached or doesn't exist locally)
    2​aalku (unattached or doesn't exist locally)
    3​abc123456789 (unattached or doesn't exist locally)
    4​acf (unattached or doesn't exist locally)
    5​airtrony (unattached or doesn't exist locally)
    6...
    • Sun, Mar 12, 7:30 PM
    • 325 Lines
    • Plain Text
  • 1​UserBoard/SpecialSendBoardBlast.php: <a href="javascript:void(0);" class="blast-select-all-link">' .
    2UserBoard/SpecialSendBoardBlast.php: <a href="javascript:void(0);" class="blast-unselect-all-link">' .
    3​UserBoard/SpecialSendBoardBlast.php: $output .= '- <a href="javascript:void(0);" class="blast-select-friends-link">' .
    4​UserBoard/SpecialSendBoardBlast.php: $output .= '<a href="javascript:void(0);" class="blast-unselect-friends-link">' .
    5​UserBoard/SpecialSendBoardBlast.php: $output .= '- <a href="javascript:void(0);" class="blast-select-foes-link">' .
    6...
    • Sun, Mar 12, 2:59 AM
    • 6 Lines
    • Bash Scripting
  • 1
    2​date: 2017-03-11T17:53:09+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Sat, Mar 11, 5:53 PM
    • 17 Lines
  • 1diff --git a/demos/classes/BrokenDialog.js b/demos/classes/BrokenDialog.js
    2index adbd4d7..4ce0ea4 100644
    3--- a/demos/classes/BrokenDialog.js
    4+++ b/demos/classes/BrokenDialog.js
    5@@ -43,6 +43,7 @@ Demo.BrokenDialog.prototype.getActionProcess = function ( action ) {
    6...
    • Sat, Mar 11, 9:57 AM
    • 41 Lines
    • Diff
  • 1​root@db2033.codfw.wmnet[(none)]> show slave status\G
    2​*************************** 1. row ***************************
    3​ Slave_IO_State:
    4​ Master_Host: db1031.eqiad.wmnet
    5​ Master_User: repl
    6...
    • Fri, Mar 10, 5:21 PM
    • 46 Lines
  • 1​[10-Mar-2017 16:39:42 UTC] [2017-03-10 16:39:42] ERROR 2: fprintf(): 3 is not a valid stream resource at [/srv/deployment/phabricator/deployment/libphutil/src/console/PhutilConsoleServer.php:155]
    2​[10-Mar-2017 16:39:42 UTC] arcanist(), phabricator(), phutil(), security(), sprint(), wmf-ext-misc(head=wmf/stable, ref.wmf/stable=ef53ff4b0a99)
    3​[10-Mar-2017 16:39:42 UTC] #0 fprintf(unknown type, string, string) called at [<phutil>/src/console/PhutilConsoleServer.php:155]
    4​[10-Mar-2017 16:39:42 UTC] #1 PhutilConsoleServer::writeText(unknown type, array) called at [<phutil>/src/console/PhutilConsoleServer.php:39]
    5​[10-Mar-2017 16:39:42 UTC] #2 PhutilConsoleServer::handleMessage(PhutilConsoleMessage) called at [<phutil>/src/console/PhutilConsole.php:204]
    6...
    • Fri, Mar 10, 4:41 PM
    • 23 Lines
  • 1​root@db2033.codfw.wmnet[(none)]> show slave status\G
    2​*************************** 1. row ***************************
    3​ Slave_IO_State:
    4​ Master_Host: db1031.eqiad.wmnet
    5​ Master_User: repl
    6...
    • Fri, Mar 10, 3:03 PM
    • 46 Lines