Skip to content

Instantly share code, notes, and snippets.

@chrome @en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_6 @internet_explorer_7 @internet_explorer_8 @internet_explorer_9 @internet_explorer_10 @login @phantomjs @test2.wikipedia.org
Feature: Math
Scenario: Display simple math # features/math.feature:15
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) (Selenium::WebDriver::Error::WebDriverError)
/srv/vagrant/mediawiki/extensions/Math/tests/browser/.gem/ruby/2.0.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/firefox/launcher.rb:79:in `connect_until_stable'
/srv/vagrant/mediawiki/extensions/Math/tests/browser/.gem/ruby/2.0.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/firefox/launcher.rb:37:in `block in launch'
/srv/vagrant/mediawiki/extensions/Math/tests/browser/.gem/ruby/2.0.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/firefox/socket_lock.rb:20:in `locked'
/srv/vagrant/mediawiki/extensions/Math/tests/browser/.gem/ruby/2.0.0/gems/selenium-webdriver-2.42.0/lib/selen
@chrome @clean @en.wikipedia.beta.wmflabs.org @firefox @phantomjs @test2.wikipedia.org
Feature: Create account
Scenario Outline: Go to Create account page # features/create_account.feature:4
Given I go to Create account page at <path> # features/step_definitions/create_account_steps.rb:12
Then form has Create account button # features/step_definitions/create_account_steps.rb:16
Examples:
| path |
| Special:CreateAccount |
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns:xlink="http://www.w3.org/1999/xlink" style="vertical-align: -0.167ex; margin-left: 0ex; margin-right: 0ex; margin-bottom: 1px; margin-top: 1px;" width="9ex" height="2.167ex" viewBox="0 -904.8 3885.6 940.8" xmlns="http://www.w3.org/2000/svg">
<defs>
<path stroke-width="10" id="E1-MJMATHI-45" d="M492 213Q472 213 472 226Q472 230 477 250T482 285Q482 316 461 323T364 330H312Q311 328 277 192T243 52Q243 48 254 48T334 46Q428 46 458 48T518 61Q567 77 599 117T670 248Q680 270 683 272Q690 274 698 274Q718 274 718 261Q613 7 608 2Q605 0 322 0H133Q31 0 31 11Q31 13 34 25Q38 41 42 43T65 46Q92 46 125 49Q139 52 144 61Q146 66 215 342T285 622Q285 629 281 629Q273 632 228 634H197Q191 640 191 642T193 659Q197 676 203 680H757Q764 676 764 669Q764 664 751 557T737 447Q735 440 717 440H705Q698 445 698 453L701 476Q704 500 704 528Q704 558 697 578T678 609T643 625T596 632T532 634H485Q397 633 392 631Q3
@physikerwelt
physikerwelt / gist:ae8bc251fec7a39f7938
Created October 13, 2014 07:19
<math display="block">\text{geometric series:}\quad \begin{align} \sum_{i=0}^\infty 2^{-i}=2 \end{align}</math>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle scriptlevel="0" displaystyle="true">
<mrow class="MJX-TeXAtom-ORD">
<mtext>geometric series:</mtext>
</mrow>
<mspace width="1em"/>
physikerwelt@mathoid2:~$ npm --version
1.3.10
physikerwelt@mathoid2:~$ cd /vagrant/mathoid/
physikerwelt@mathoid2:/vagrant/mathoid$ npm test
> Mathoid@0.2.5 test /srv/vagrant/mathoid
> mocha
sh: 1: mocha: not found
npm ERR! weird error 127
physikerwelt@mathoid2:/vagrant/mathoid$ npm install
npm WARN package.json Mathoid@0.2.5 No repository field.
npm http GET https://registry.npmjs.org/mocha
npm http 200 https://registry.npmjs.org/mocha
npm http GET https://registry.npmjs.org/mocha/-/mocha-1.21.5.tgz
npm http 200 https://registry.npmjs.org/mocha/-/mocha-1.21.5.tgz
npm ERR! Error: EACCES, mkdir '/srv/vagrant/mathoid/node_modules/mocha'
npm ERR! { [Error: EACCES, mkdir '/srv/vagrant/mathoid/node_modules/mocha']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
physikerwelt@mathoid2:/vagrant/mathoid$ sudo npm test
> Mathoid@0.2.5 test /srv/vagrant/mathoid
> mocha
/usr/bin/env: node: No such file or directory
npm ERR! weird error 127
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
Notice: /Stage[main]/Labs_vagrant/Exec[migrate legacy files]/returns: /bin/mkdir: cannot create directory ‘/srv/vagrant’: File exists
Error: /bin/mkdir "/srv/vagrant" &&
(cd "/mnt/vagrant"; /bin/tar cf - .) |
(cd "/srv/vagrant"; /bin/tar xf -) &&
/bin/rm -rf "/mnt/vagrant"
returned 1 instead of one of [0]
Error: /Stage[main]/Labs_vagrant/Exec[migrate legacy files]/returns: change from notrun to 0 failed: /bin/mkdir "/srv/vagrant" &&
(cd "/mnt/vagrant"; /bin/tar cf - .) |
(cd "/srv/vagrant"; /bin/tar xf -) &&
/bin/rm -rf "/mnt/vagrant"
computer-user@computer-1:~/ms/mws$ make test
Linking CXX static library libcommonutils.a
[ 13%] Built target commonutils
Linking CXX static library libcommontypes.a
[ 18%] Built target commontypes
Linking CXX static library libmwstypes.a
[ 20%] Built target mwstypes
Linking C static library libcrc32.a
[ 21%] Built target crc32
Linking CXX static library libmwsdbc.a
computer-user@computer-1:~/ms/mws$ sudo vi /usr/local//etc/mws/configs/inst1
# Configuration file for mwsd_inst1 service
declare -- NAME="mwsd_inst1"
declare -- DESC="MathWebSearch inst1 daemon"
# data directory
declare -- MWS_DATA_PATH="/var/lib/mws/inst1"
# HTTP listen port